Hi,
It seems the revese method can't work with included URLconfs?

for example :
the root URLconfs is like this
urlpatterns = patterns('',
    (r'^app/',        include('django_website.apps.blog.urls.blog')),
)

the app URLconfs is like this
urlpatterns = patterns('',
    (r'^test/a-test', 'app.view', name='test'),
)

When i want to get the "test" url
from django.core.urlresolvers import reverse
reverse('test')

i will get /test/a-test/ instead of /app/test/a-test/

Did i miss something or is there other workarounds?

thanks.

--~--~---------~--~----~------------~-------~--~----~
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