How to Use a Different Database Other than SQLite in Django
To use another database other than SQLite, install the appropriate database bindings and change the following
DATABASES 'default' keys to use the settings for your new database:
ENGINE- Here are your choices:
'django.db.backends.oracle'. There are other backends that you can use.
NAME- This key holds the name of your database. If you're using SQLite, the database will be a file on your computer. If this is the case, the
NAMEvalue should be the full absolute path, including filename, of that file. The default value,
os.path.join(BASE_DIR, 'db.sqlite3'), will store the file in your project directory.
If you are not using SQLite as your database, additional settings such as
HOST must be added.