Thursday, March 3, 2011

problem with url

hello i have define this in the url:
(r'^admin/', include(admin.site.urls)),
(r'^accounts/login/$', 'django.contrib.auth.views.login'),
(r'^mostro_prima', 'prova.test_sito.views.mostro_prima'),
(r'$', 'prova.test_sito.views.mostro_prima'),
(r'^inserisco/', 'prova.test_sito.views.inserisco'),
(r'^/registrazione/', 'prova.test_sito.views.registrazione'),
(r'^scarico/(\d+)', 'prova.test_sito.views.scarico'),
(r'^login_us/', 'prova.test_sito.views.login_us'),
(r'^registrazione/', 'prova.test_sito.views.registrazione'),
(r'^info/(\d)', 'prova.test_sito.views.info'),
(r'^chiarimenti/(\d+)', 'prova.test_sito.views.chiarimenti'),

when i go to www.mysite.net
i correctly see the page, but when i try to reach other page i get
every time the same first page, where is my mistake?

thanks

Luca

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

No comments:

Post a Comment