mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-06-01 07:26:03 +02: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::
|
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.
|
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.
|
3. Create the required database tables.
|
||||||
|
|
||||||
Migrate using Django migrations::
|
Migrate using Django migrations::
|
||||||
|
Loading…
x
Reference in New Issue
Block a user