django postgres user permissions

CREATE DATABASE myproj_db WITH OWNER myproj_user TEMPLATE=template1 ENCODING='utf-8';
CREATE USER myproj_user WITH PASSWORD '123' SUPERUSER CREATEDB CREATEROLE LOGIN;

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'myproj_db',
        'USER': 'myproj_user',
        'PASSWORD': '123',
        'HOST': '',
        'PORT': '',
    },
}

Here is what the above code is Doing:
1. Creating a database named myproj_db.
2. Creating a database user named myproj_user.
3. Giving myproj_user access to myproj_db.
4. Specifying that the default database engine will be PostgreSQL’s psycopg2 driver.
5. Naming the database myproj_db for the default database.
6. Naming the database user myproj_user for the default database.
7. Giving the database user a password.