django setting sqlote3 code example
Example 1: database default code in settings django
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': 'mydatabase',
}
}
Example 2: database setup in django
sudo apt install python3-dev libmysqlclient-dev default-libmysqlclient-dev