My python version is 2.7.2 , and django version is 1.2.7
I have a test just now.
If i put the name parameter in mysite.urls like url(r'^test/$', 'testpage', 
name='www'), the {% url www %} can work...
But when I put the name parameter in mysite.myapp.urls like url(r'help/$', 
'testpage', name='www'), and mysite.urls is url(r'test/', 
include(mysite.myapp.urls)). This time the {% url www %} can not work!
Is it when I use include('mysite.myapp.urls'), the name parameter can not 
work? And the name parameter can only in mysite.urls?
Can anyone help me? thx!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/x6qNBIrfKLsJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to