fixing db path

This commit is contained in:
2024-08-28 17:40:17 +02:00
parent 32125955fc
commit 1cc67371c5
2 changed files with 2 additions and 2 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
db.sqlite3

View File

@@ -14,7 +14,7 @@ SECRET_KEY = os.getenv('SECRET_KEY')
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'NAME': '/app/db.sqlite3',
}
}
@@ -25,7 +25,6 @@ MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
SECURE_SSL_REDIRECT = True
SESSION_COOKIE_SECURE = True
CSRF_COOKIE_SECURE = True
SECURE_HSTS_SECONDS = 31536000