From f5ecb67b2217e325bea7b94339ed4ab9100010b8 Mon Sep 17 00:00:00 2001 From: Alex Barcelo Date: Tue, 22 Dec 2015 10:29:48 +0100 Subject: [PATCH] fixing documentation for Django 1.8 and its namespace behaviour --- docs/install.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/install.rst b/docs/install.rst index f7c46bf9..87e79d80 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -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::