diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..49ef2557 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +db.sqlite3 diff --git a/saburly/settings/production.py b/saburly/settings/production.py index 89de7a5c..a61ffc34 100644 --- a/saburly/settings/production.py +++ b/saburly/settings/production.py @@ -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