call more than one view action from an uri path?
Djangoistas:
We want to call this URL:
http://www.server.com/nest/5/pest/6/rest/7
We want each handler to call, with its argument, in order:
def nest(request, x):
...
def pest(request, y):
...
def rest(request, z):
...
(Internally, at rest() time, we want x and y to be available on some
session or file-scope variable.)
How to write an url() call in urls.py that handles part of a path, and
then dispatches to the next part of the path, if any?
--
Phlip
http://bit.ly/ZeekLand
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home