STATICFILES_FINDERS = (
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
+ 'gadjo.finders.XStaticFinder',
# 'django.contrib.staticfiles.finders.DefaultStorageFinder',
)
+
# Make this unique, and don't share it with anybody.
SECRET_KEY = '3qm&@6264-=st16)7_xa*ds+31e0mqqs@+*!ud7gzt$tq!b^qn'
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [
- os.path.join(PROJECT_DIR, 'panikweb_templates'),
+ os.path.join(PROJECT_DIR, 'panikweb', 'templates'),
],
'APP_DIRS': True,
'OPTIONS': {
'django.template.context_processors.tz',
'panikweb.context_processors.panikweb',
],
+ 'builtins': [
+ 'combo.public.templatetags.combo',
+ ],
},
},
]
'django.contrib.admindocs',
'haystack',
'taggit',
- 'panikweb_templates',
+ 'gadjo',
'panikweb.paniktags',
'sorl.thumbnail',
'ckeditor',
'combo.data',
'combo.public',
'combo.profile',
+ 'combo.apps.assets',
'combo.apps.dashboard',
+ 'combo.apps.gallery',
'combo.apps.search',
'panikombo',
- 'gallery',
)
CKEDITOR_UPLOAD_PATH = os.path.join(MEDIA_ROOT, 'uploads')
TEMPLATE_VARS = {}
COMBO_DASHBOARD_ENABLED = False
+COMBO_MAP_TILE_URLTEMPLATE = ''
+COMBO_MAP_ATTRIBUTION = ''
JSON_CELL_TYPES = {}
+COMBO_CELL_ASSET_SLOTS = {}
RADIO_NAME = 'Radio Panik'
RADIO_LONG_NAME = 'Radio Panik - 105.4 FM'
COMBO_INITIAL_LOGIN_PAGE_PATH = '/'
COMBO_WELCOME_PAGE_PATH = None
-try:
- from .local_settings import *
-except ImportError as e:
- pass
+local_settings_file = os.environ.get(
+ 'PANIKWEB_SETTINGS_FILE', os.path.join(os.path.dirname(__file__), 'local_settings.py')
+)
+if os.path.exists(local_settings_file):
+ exec(open(local_settings_file).read())
if DEBUG and DEBUG_TOOLBAR:
MIDDLEWARE_CLASSES += (