'django.contrib.messages.middleware.MessageMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
- 'django_cas.middleware.CASMiddleware',
+ 'django_cas_ng.middleware.CASMiddleware',
'django.contrib.admindocs.middleware.XViewMiddleware',
'fnp_django_pagination.middleware.PaginationMiddleware',
AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.ModelBackend',
- 'fnpdjango.auth_backends.AttrCASBackend',
+ 'django_cas_ng.backends.CASBackend',
)
ROOT_URLCONF = 'redakcja.urls'
'fnp_django_pagination',
'django_gravatar',
'fileupload',
- 'kombu.transport.django',
'pipeline',
'fnpdjango',
+ 'django_cas_ng',
'catalogue',
'cover',
LOGIN_REDIRECT_URL = '/documents/user'
-CELERY_EAGER_PROPAGATES_EXCEPTIONS = True
-CELERY_SEND_TASK_ERROR_EMAILS = True
-CELERY_ACCEPT_CONTENT = ['pickle'] # Remove when all tasks jsonable.
-
MIN_COVER_SIZE = (915, 1270)
STATICFILES_FINDERS = (