#3422: url configuration: include in combination with extra options messes up
reverse resolving
-----------------------------------------------------------+----------------
Reporter: Jeroen van Dongen <jeroen at jkwadraat.net> |
Owner: adrian
Status: new |
Component: Core framework
Version: SVN |
Resolution:
Keywords: urls.py reverse resolver extra_options |
Stage: Accepted
Has_patch: 0 |
Needs_docs: 0
Needs_tests: 0 |
Needs_better_patch: 0
-----------------------------------------------------------+----------------
Comment (by mtredinnick):
Passing extra options to reverse() is a pain if they are anything other
than strings or numbers -- can't think of a non-ugly to pass in a
dictionary from a template and you're completely doomed when it comes to
more generic objects (e.g. querysets or other class instances). So we
probably can't solve this completely generically.
Passing in strings and numbers should be possible, I guess. There are use-
cases for this.
--
Ticket URL: <http://code.djangoproject.com/ticket/3422#comment:4>
Django Code <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
-~----------~----~----~----~------~----~------~--~---