You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
Hi Carlos,
The sites framework is used for storing a human readable name of a domain (in case you are serving your site from multiple domains). It does not change or modify the url structure of your site.
There are only two places where you can actually change the URL structure. First option is to specify the exact URLs in urls.py. The second option is outside Django and involves manipulating the URL by the webserver or using WSGI middleware. For example, if you are using Apache as your web server you can trivially perform URL rewriting using .htaccess files (http://www.addedbytes.com/articles/for-beginners/url-rewriting-for-beginners/)
In your case, I suggest the first option. I guess you are using django-registrations app, then you will need to modify the urls app as follows: url(r'^accounts/formhub/',include('registration.backends.simple.urls')),