donors

git clone git://ce9e.org/donors

commit
97a22ce992e3933b187012f9f862945573f17927
parent
0479b39e997986c4e016482df0cb8ae8ad429f55
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2021-03-11 17:52
compat: avoid pathlib

Diffstat

M donors/settings/dev.py 6 ++----

1 files changed, 2 insertions, 4 deletions


diff --git a/donors/settings/dev.py b/donors/settings/dev.py

@@ -1,8 +1,6 @@
    1    -1 from pathlib import Path
    2    -1 
    3     1 from .base import *
    4     2 
    5    -1 BASE_DIR = Path(__file__).resolve().parent.parent
   -1     3 BASE_DIR = os.path.dirname(os.path.dirname(__file__))
    6     4 
    7     5 # SECURITY WARNING: keep the secret key used in production secret!
    8     6 SECRET_KEY = '(_26c1i#kl^vshc6cue$jbq(@_q^m61_0ar^578c=0k)mngcqz'
@@ -17,6 +15,6 @@ DEBUG = True
   17    15 DATABASES = {
   18    16     'default': {
   19    17         'ENGINE': 'django.db.backends.sqlite3',
   20    -1         'NAME': BASE_DIR / 'db.sqlite3',
   -1    18         'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
   21    19     }
   22    20 }