X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c4ca6c62fbc28fc81a472b1917c36af4228a6d32..b76e3141680a898e8b57c57fd5a40dbce6b23e94:/redakcja/settings/common.py?ds=inline diff --git a/redakcja/settings/common.py b/redakcja/settings/common.py index 3d19bd98..52cacd82 100644 --- a/redakcja/settings/common.py +++ b/redakcja/settings/common.py @@ -9,7 +9,7 @@ DEBUG = False MAINTENANCE_MODE = False ADMINS = ( - (u'Radek Czajka', 'radoslaw.czajka@nowoczesnapolska.org.pl'), + (u'Jan Szejko', 'jan.szejko@nowoczesnapolska.org.pl'), ) MANAGERS = ADMINS @@ -91,7 +91,7 @@ MIDDLEWARE_CLASSES = ( # 'django_cas.middleware.CASMiddleware', 'django.contrib.admindocs.middleware.XViewMiddleware', - 'pagination.middleware.PaginationMiddleware', + 'fnp_django_pagination.middleware.PaginationMiddleware', # 'maintenancemode.middleware.MaintenanceModeMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', ) @@ -119,7 +119,7 @@ INSTALLED_APPS = ( # 'south', 'sorl.thumbnail', - 'pagination', + 'fnp_django_pagination', # 'gravatar', # 'kombu.transport.django', 'fileupload', @@ -127,6 +127,8 @@ INSTALLED_APPS = ( 'modeltranslation', 'constance', 'constance.backends.database', + 'honeypot', + 'django_filters', 'catalogue', # 'cover', @@ -142,6 +144,7 @@ INSTALLED_APPS = ( 'django_forms_bootstrap', 'forms_builder.forms', 'fnpdjango', + 'raven.contrib.django.raven_compat', ) LOGIN_REDIRECT_URL = '/' @@ -170,6 +173,7 @@ SHOW_APP_VERSION = False FORMS_BUILDER_EDITABLE_SLUGS = True FORMS_BUILDER_LABEL_MAX_LENGTH = 2048 +HONEYPOT_FIELD_NAME = 'miut' try: from redakcja.settings.compress import *