# Example: "http://example.com/static/", "http://static.example.com/"
STATIC_URL = '/static/'
+SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
+
CKEDITOR_UPLOAD_PATH = 'uploads/'
CKEDITOR_UPLOAD_PREFIX = '/media/uploads/'
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
+ 'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages',
'panikdb.context_processors.internal_ip',
+ 'panikdb.context_processors.site_settings',
],
},
},
'combo.data',
'combo.manager',
'combo.apps.assets',
+ 'combo.apps.gallery',
'combo.apps.maps',
'combo.apps.notifications',
'combo.apps.pwa',
'sorl.thumbnail',
- 'gallery',
'panikombo',
'django_select2',
+ 'xstatic.pkg.select2',
)
# A sample logging configuration. The only tangible logging
FILE_UPLOAD_DIRECTORY_PERMISSIONS = 0o755
FILE_UPLOAD_PERMISSIONS = 0o644
+ENABLE_TOPIKS = True
+SITE_TITLE = 'PanikDB'
+
try:
from .local_settings import *
except ImportError: