June 2018
Beginner
508 pages
13h 8m
English
Now that we have a database, we can create a superuser using the console:
$ python manage.py createsuperuser
After entering the username and other details, we have a user with admin privileges. This is enough to access the Django admin section, so try to start the server:
$ python manage.py runserver
This will start the Django development server, which is a very useful built-in web server that you can use while working with Django. Now that the server is running, we can access the admin page at http://localhost:8000/admin/. I will show you a screenshot of this section later. If you log in with the credentials of the user you just created and head to the Authentication and Authorization section, you'll find Users. Open that ...
Read now
Unlock full access