On Fri, Oct 9, 2009 at 8:09 AM, Aaron <[email protected]> wrote:
> What is the proper way to introduce optional arguments here?

add a second line to your URL mappigs with the third argument:

(r'^(?P<a>[-\w]+)/(?P<b>[-\w]+)/$', 'model_view'),
(r'^(?P<a>[-\w]+)/(?P<b>[-\w]+)/(?P<c>[-\w]+)/$', 'model_view')



-- 
Javier

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to