/ Published in: Python

URL: http://lethain.com/entry/2008/feb/04/using-optional-parameters-in-django-urls/
Expand |
Embed | Plain Text
(r'^render/((?P<model>w+)/(?P<id>d+)/)?$', 'render')
You need to login to post a comment.
URL: http://lethain.com/entry/2008/feb/04/using-optional-parameters-in-django-urls/
(r'^render/((?P<model>w+)/(?P<id>d+)/)?$', 'render')
You need to login to post a comment.