This commit is contained in:
Cloud User
2024-07-14 16:10:56 +02:00
315 changed files with 3 additions and 85391 deletions

View File

@@ -160,32 +160,6 @@ WSGI_APPLICATION = 'Reskreen.wsgi.application'
# Database
# https://docs.djangoproject.com/en/4.0/ref/settings/#databases
if cfg_dev_mode:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
}
}
'''
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'OPTIONS': {
'read_default_file': 'my_dev.cnf',
},
}
}'''
else:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'OPTIONS': {
'read_default_file': os.path.join(BASE_DIR, 'Reskreen/my.cnf'),
},
}
}
# Password validation
# https://docs.djangoproject.com/en/4.0/ref/settings/#auth-password-validators