updated settings #4

Closed
madeleinema wants to merge 1 commit from updatesettings into master
Showing only changes of commit e6b7336440 - Show all commits

View file

@ -1,4 +1,8 @@
import sys
from pathlib import Path
from config import DB_NAME, DB_USER, DB_HOST, DB_PASSWORD, DB_PORT, SECRET_KEY
# Build paths inside the project like this: BASE_DIR / 'subdir'.
@ -34,6 +38,12 @@ INSTALLED_APPS = [
"api",
]
if sys.platform == "darwin":
GDAL_LIBRARY_PATH = "/opt/homebrew/opt/gdal/lib/libgdal.dylib"
GEOS_LIBRARY_PATH = "/opt/homebrew/opt/geos/lib/libgeos_c.dylib"
SECURE_REFERER_POLICY = "no-referrer-when-downgrade"
MIDDLEWARE = [
"corsheaders.middleware.CorsMiddleware",
"django.middleware.common.CommonMiddleware",