# -*- coding: utf-8 -*-
+from __future__ import absolute_import
import os.path
PROJECT_ROOT = os.path.realpath(os.path.dirname(os.path.dirname(__file__)))
ADMINS = (
# (u'Marek Stępniowski', 'marek@stepniowski.com'),
- (u'Łukasz Rekucki', 'lrekucki@gmail.com'),
+ # (u'Łukasz Rekucki', 'lrekucki@gmail.com'),
+ (u'Radek Czajka', 'radoslaw.czajka@nowoczesnapolska.org.pl'),
)
MANAGERS = ADMINS
"django.core.context_processors.auth",
"django.core.context_processors.debug",
"django.core.context_processors.i18n",
- "redakcja.context_processors.settings", # this is instead of media
+ "redakcja.context_processors.settings", # this is instead of media
"django.core.context_processors.request",
)
'django_cas.middleware.CASMiddleware',
'django.middleware.doc.XViewMiddleware',
+ 'pagination.middleware.PaginationMiddleware',
'maintenancemode.middleware.MaintenanceModeMiddleware',
)
# CAS_SERVER_URL = "http://cas.fnp.pl/
CAS_LOGOUT_COMPLETELY = True
-from compress_settings import *
-
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'south',
'sorl.thumbnail',
'filebrowser',
+ 'pagination',
+ 'dvcs',
'wiki',
'toolbar',
+ 'apiclient',
)
FILEBROWSER_URL_FILEBROWSER_MEDIA = STATIC_URL + 'filebrowser/'
"AUTH_PASSWD": "platforma",
}
-# Import localsettings file, which may override settings defined here
+SHOW_APP_VERSION = False
+
+try:
+ from redakcja.settings.compress import *
+except ImportError:
+ pass
+