Database configuration goes in the settings.py file of the project.
settings.py
ENGINE indicates the type of database you want to use
ENGINE
NAME is the name of the database
NAME
For non-SQLite databases:
USER
PASSWORD
HOST
If you're using anything other than SQLite then you need to remember to create a database by running CREATE db_name before running the project.
CREATE db_name
Last updated 5 years ago