Posted By

tclancy on 01/14/11


Tagged


Versions (?)

Django Optional URL Parameter


 / Published in: Python
 

URL: http://lethain.com/entry/2008/feb/04/using-optional-parameters-in-django-urls/

  1. (r'^render/((?P<model>w+)/(?P<id>d+)/)?$', 'render')

Report this snippet  

You need to login to post a comment.