From c15c623205767e5b98e03a04dc894872d757b32e Mon Sep 17 00:00:00 2001 From: bbrendon Date: Sat, 25 Jun 2022 15:09:14 -0700 Subject: [PATCH] update install for noobs like me --- docs/install.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/install.rst b/docs/install.rst index 3fd64a3a..743d34e8 100644 --- a/docs/install.rst +++ b/docs/install.rst @@ -74,11 +74,12 @@ errors with trying to create User settings. SITE_ID = 1 -2. Make sure django-helpdesk is accessible via ``urls.py``. Add the following line to ``urls.py``:: +2. Make sure django-helpdesk is accessible via ``urls.py``. Add the following lines to ``urls.py``:: + from django.conf.urls import include path('helpdesk/', include('helpdesk.urls')), - 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 path line will be as follows:: path('', include('helpdesk.urls', namespace='helpdesk')),