I'm still learning Django myself, but I believe each url should end with 
'$' in order to stop the regex match at the forward slash.

So your new URIs would be:
url(r'^cadastro/$', include('contact.urls')),
url(r'^contato/$', include('contact.urls')),
url(r'^sobre/$', include('contact.urls')),
url(r'^admin/$', include(admin.site.urls)),

I hope that solves your problem.

On Sunday, December 23, 2012 9:19:50 AM UTC-8, Filipe Manuel wrote:
>
> I wish that when from accessing localhost:8000/cadastro he showed a form 
> to register, but all the urls I click redirects to the same page. I wonder 
> how pegging the url with the url of the application. I've Identified the 
> error, all urls design guide for single views of the application, but do 
> not know how to fix it.
>
> My code: http://dpaste.com/850276/
>

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