#9239: Better reverse() handling for the (.*) pattern
----------------------------+-----------------------------------------------
Reporter: mtredinnick | Owner: mtredinnick
Status: new | Milestone:
Component: Core framework | Version: 1.0
Keywords: | Stage: Unreviewed
Has_patch: 0 |
----------------------------+-----------------------------------------------
Right now, if you have `(.*)` in a URL pattern, calling `reverse()` or `{%
url... %}` requires you to pass in an empty string argument. But this is
really an optional argument, since it successfully matches nothing. It
would be nice if reverse URL resolving understood that case and allowed
for no parameter to be passed in.
--
Ticket URL: <http://code.djangoproject.com/ticket/9239>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---