September 2019
Beginner to intermediate
494 pages
13h
English
To be able to create and edit different blog posts in our application, the easiest way is to make ourselves a superuser and create those posts via Django's admin interface. Let's walk through that process with the following steps:
manage.py@mysite > createsuperuser
from django.contrib import adminfrom .models import Post# Register your models here.admin.site.register(Post)
This script basically lets Django know ...