Thursday, September 9, 2010

url_name from resolve in Django 1.2

Hi there!

Is there any way to obtain a name of an url that Django URL dispatcher
matched by resolving (or anything else) e.g. '/path/to/my/page/'? For
now resolve returns a tuple :/.

I assume that it will be available in 1.3 according to
http://docs.djangoproject.com/en/dev/topics/http/urls/#django.core.urlresolvers.ResolverMatch

Regards

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate