On 19 Gru, 18:02, shabda <[EMAIL PROTECTED]> wrote:
> I can get access to a named url from within a template by using {% url
> %} tag. What can I do to get access to named url from a view function?
use reverse() method:
http://www.djangoproject.com/documentation/url_dispatch/#reverse
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---