#10980: url tag viewname should be treated as string-or-variable to allow
dynamic
viewnames
----------------------------------------+-----------------------------------
Reporter: [email protected] | Owner: nobody
Status: new | Milestone:
Component: Template system | Version: 1.0
Keywords: url tag, dynamic viewnames | Stage: Unreviewed
Has_patch: 1 |
----------------------------------------+-----------------------------------
I think the url tag should allow dynamic viewnames in the following way
(dynamic_view_name is a context variable):
{% url dynamic_view_name args,kwargs=values %}
This means existing url tags will now be:
{% url "static_view_name" args,kwargs=values %}
--
Ticket URL: <http://code.djangoproject.com/ticket/10980>
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
-~----------~----~----~----~------~----~------~--~---