|
|
@ -147,6 +147,16 @@ CKEDITOR_CONFIGS = { |
|
|
|
}, |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
# SECURITY WARNING: keep the secret key used in production secret! |
|
|
|
# Create file 'django.secret' in every install (it is not kept in git) |
|
|
|
|
|
|
|
try: |
|
|
|
with open(os.path.join(os.path.dirname(__file__), '..', 'django.secret')) as f: |
|
|
|
SECRET_KEY = f.readline().strip() |
|
|
|
except: |
|
|
|
SECRET_KEY = ')^u=i65*zmr_k53a*@f4q_+ji^o@!pgpef*5&8c7zzdqwkdlkj' |
|
|
|
|
|
|
|
# MaM specific |
|
|
|
|
|
|
|
SEMINAR_RESENI_DIR = os.path.join(BASE_DIR, 'media', 'reseni') |
|
|
|