No. Built-in {% url %} tag doesn't support variable as view name. To
solve this you can write your own url-like template tag with needed
functionality. Or refactor you code to avoid using the view name as
variable:)

On Jun 8, 12:39 pm, ferran <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> The tag {% url viewname args %} supports a context variable for
> viewname?? i don't know how put a context variable in viewname,  any
> suggestion??
>
> Thanks in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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