Database setup ##############
Using PostgreSQL, you need the psycopg2 package pip install psycopg2
psql
CREATE DATABASE mydjangosite;
\l
Change
'ENGINE': 'django.db.backends.sqlite3',
to
django.db.backends.postgresql
CREATE USER django WITH PASSWORD 'password';
GRANT ALL PRIVILEGES ON DATABASE mydjangosite TO django;
Set up
python manage.py makemigrations
python manage.py migrate