fixing documentation for Django 1.8 and its namespace behaviour

This commit is contained in:
Alex Barcelo 2015-12-22 10:29:48 +01:00
parent 3a0f08046e
commit f5ecb67b22

View File

@ -49,10 +49,13 @@ Adding To Your Django Project
Note that you can change 'helpdesk/' to anything you like, such as 'support/' or 'help/'. If you want django-helpdesk to be available at the root of your site (for example at http://support.mysite.tld/) then the line will be as follows::
url(r'', include('helpdesk.urls')),
url(r'', include('helpdesk.urls', namespace='helpdesk')),
This line will have to come *after* any other lines in your urls.py such as those used by the Django admin.
Note that the `helpdesk` namespace is no longer required for Django 1.9 and you can use a different namespace.
However, it is recommended to use the default namespace name for clarity.
3. Create the required database tables.
Migrate using Django migrations::