X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3e569a771ed8cb9ab7156425ff870dc9d33ef023..3b0d1718ec6c9dddcee4a4620384a83e30ff6f2f:/redakcja/settings/common.py?ds=inline diff --git a/redakcja/settings/common.py b/redakcja/settings/common.py index 0c1b6792..6c53d446 100644 --- a/redakcja/settings/common.py +++ b/redakcja/settings/common.py @@ -79,7 +79,7 @@ MIDDLEWARE_CLASSES = ( 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django_cas.middleware.CASMiddleware', - 'django.middleware.doc.XViewMiddleware', + 'django.contrib.admindocs.middleware.XViewMiddleware', 'pagination.middleware.PaginationMiddleware', 'maintenancemode.middleware.MaintenanceModeMiddleware', ) @@ -107,14 +107,14 @@ INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.comments', + 'raven.contrib.django.raven_compat', 'south', 'sorl.thumbnail', 'pagination', - 'gravatar', - 'djcelery', - 'djkombu', + 'django_gravatar', 'fileupload', + 'kombu.transport.django', 'pipeline', 'fnpdjango', @@ -138,18 +138,15 @@ CAS_USER_ATTRS_MAP = { IMAGE_DIR = 'images/' -import djcelery -djcelery.setup_loader() - -BROKER_BACKEND = "djkombu.transport.DatabaseTransport" -BROKER_HOST = "localhost" -BROKER_PORT = 5672 -BROKER_USER = "guest" -BROKER_PASSWORD = "guest" -BROKER_VHOST = "/" +BROKER_URL = 'django://' +CELERY_EAGER_PROPAGATES_EXCEPTIONS = True +CELERY_SEND_TASK_ERROR_EMAILS = True +CELERY_ACCEPT_CONTENT = ['pickle'] # Remove when all tasks jsonable. SHOW_APP_VERSION = False +MIN_COVER_SIZE = (915, 1270) + try: from redakcja.settings.compress import * except ImportError: