diff --git a/docs/quickstart.rst b/docs/quickstart.rst --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -46,10 +46,17 @@ some basic settings: 'braces', 'conntrackt', -Edit the URL configuration file ``conntrackt_test/conntrackt_test/urls/.py`` to +Edit the URL configuration file ``conntrackt_test/conntrackt_test/urls.py`` to set-up the URLs for the admin website and Conntrackt itself: -#. At the top of the file, add line ``from django.http import HttpResponseRedirect``. +#. At the top of the file, add line:: + + from django.http import HttpResponseRedirect + +#. Update the import command for urls module to look like:: + + from django.conf.urls import url, include + #. Under ``urlpatterns`` append lines:: url(r'^$', lambda r : HttpResponseRedirect('conntrackt/')), @@ -60,9 +67,12 @@ Set-up the database for the project:: cd conntrackt_test/ python manage.py migrate +Create the initial superadmin user:: + + python manage.py createsuperuser + You will be prompted to provide some additional information: -#. When prompted to create a superuser, answer ``yes``. #. Provide the desired username when prompted for it. #. Provide the desired e-mail address when prompted for it. #. Provide the desired password for created user.