mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-22 07:53:19 +01:00
fixing documentation for Django 1.8 and its namespace behaviour
This commit is contained in:
parent
3a0f08046e
commit
f5ecb67b22
@ -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::
|
||||
|
Loading…
Reference in New Issue
Block a user