The sqlite3 databaes named coin.sqlite3 will be created so we ignore this file.
@@ -12,3 +12,4 @@ coin/settings_local.py
/smedia
.idea
venv
+/coin.sqlite3
@@ -21,10 +21,10 @@ MANAGERS = ADMINS
DATABASES = {
# Base de donnée du SI
'default': {
- 'ENGINE': 'django.db.backends.postgresql_psycopg2',
- 'NAME': 'coin',
- 'USER': 'coin',
- 'PASSWORD': '',
+ 'ENGINE': 'django.db.backends.sqlite3',
+ 'NAME': 'coin.sqlite3',
+ 'USER': '', # Not needed for SQLite
+ 'PASSWORD': '', # Not needed for SQLite
'HOST': '', # Empty for localhost through domain sockets
'PORT': '', # Empty for default
},