'ascii' codec can't encode character u'\xec' in position 40: ordinal not in range(128)
Request Method: | GET |
---|---|
Request URL: | https://www.pomionline.it/comunicati_stampa/CS_iPom%C3%AC.pdf |
Django Version: | 1.9.10 |
Exception Type: | UnicodeEncodeError |
Exception Value: | 'ascii' codec can't encode character u'\xec' in position 40: ordinal not in range(128) |
Exception Location: | ./site_extension/middleware.py in process_request, line 36 |
Python Executable: | /opt/pyenv/versions/2.7.12/envs/pomi-website-2018/bin/uwsgi |
Python Version: | 2.7.12 |
Python Path: | ['.', '', '/opt/pyenv/versions/pomi-website-2018/lib/python2.7/site-packages', '/opt/pyenv/versions/2.7.12/envs/pomi-website-2018/lib/python27.zip', '/opt/pyenv/versions/2.7.12/envs/pomi-website-2018/lib/python2.7', '/opt/pyenv/versions/2.7.12/envs/pomi-website-2018/lib/python2.7/plat-linux2', '/opt/pyenv/versions/2.7.12/envs/pomi-website-2018/lib/python2.7/lib-tk', '/opt/pyenv/versions/2.7.12/envs/pomi-website-2018/lib/python2.7/lib-old', '/opt/pyenv/versions/2.7.12/envs/pomi-website-2018/lib/python2.7/lib-dynload', '/opt/pyenv/versions/2.7.12/lib/python2.7', '/opt/pyenv/versions/2.7.12/lib/python2.7/plat-linux2', '/opt/pyenv/versions/2.7.12/lib/python2.7/lib-tk', '/opt/pyenv/versions/2.7.12/envs/pomi-website-2018/lib/python2.7/site-packages', '/opt/pomi-website-2018/project/pomi_website_2018', '/opt/pyenv/versions/pomi-website-2018/lib/python2.7/site-packages/odf', '/opt/pyenv/versions/pomi-website-2018/lib/python2.7/site-packages/odf', '/opt/pyenv/versions/pomi-website-2018/lib/python2.7/site-packages/odf', '/opt/pyenv/versions/pomi-website-2018/lib/python2.7/site-packages/odf', '/opt/pyenv/versions/pomi-website-2018/lib/python2.7/site-packages/odf', '/opt/pyenv/versions/pomi-website-2018/lib/python2.7/site-packages/odf', '/opt/pyenv/versions/pomi-website-2018/lib/python2.7/site-packages/odf'] |
Server time: | Ven, 29 Mar 2024 10:06:51 +0100 |
The string that could not be encoded/decoded was: _iPomì.pdf
/opt/pyenv/versions/pomi-website-2018/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
# Use a flag to check if the response was rendered to prevent
# multiple renderings or to force rendering if necessary.
response_is_rendered = False
try:
response = None
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)...
if response:
break
if response is None:
if hasattr(request, 'urlconf'):
# Reset url resolver with a custom URLconf.
Variable | Value |
---|---|
response_is_rendered | False |
middleware_method | <function process_request at 0x7fc3500a1668> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fc3688cc550> |
request | <WSGIRequest: GET '/comunicati_stampa/CS_iPom%C3%AC.pdf'> |
resolver | <RegexURLResolver u'_pomi_website_2018.urls' (None:None) ^/> |
response | None |
urlconf | u'_pomi_website_2018.urls' |
/opt/pyenv/versions/pomi-website-2018/lib/python2.7/site-packages/sentry_sdk/integrations/django/middleware.py
in sentry_wrapped_method
# type: (*Any, **Any) -> Any
middleware_span = _check_middleware_span(old_method)
if middleware_span is None:
return old_method(*args, **kwargs)
with middleware_span:
return old_method(*args, **kwargs)...
try:
# fails for __call__ of function on Python 2 (see py2.7-django-1.11)
sentry_wrapped_method = wraps(old_method)(sentry_wrapped_method)
# Necessary for Django 3.1
Variable | Value |
---|---|
old_method | <bound method SiteExtensionMiddleware.process_request of <site_extension.middleware.SiteExtensionMiddleware object at 0x7fc35009cb50>> |
middleware_span | <Span(op='django.middleware', description:'site_extension.middleware.SiteExtensionMiddleware.process_request', trace_id='909b5bc7f87b43568a6af7a5e216f1cb', span_id='9e6a20df4ce51ee9', parent_span_id='be35da1c317e3d0e', sampled=False)> |
_check_middleware_span | <function _check_middleware_span at 0x7fc3500a1488> |
args | (<WSGIRequest: GET '/comunicati_stampa/CS_iPom%C3%AC.pdf'>,) |
kwargs | {} |
./site_extension/middleware.py
in process_request
# ==============================================================================================================
# Requests to admin and media are skipped
# ==============================================================================================================
request_domain = request.META['HTTP_HOST']
request_path = request.path
# logger.error('request_path: {}'.format(request_path))
print('request_path: {}'.format(request_path))...
request_site = get_site_from_uri(request_domain, request_path)
print('request_site: {}'.format(request_site))
script_name = request_site.settings.get_sub_folder()
print('script_name: {}'.format(script_name))
path_info = clean_path(request_path, script_name)
Variable | Value |
---|---|
request_domain | 'www.pomionline.it' |
self | <site_extension.middleware.SiteExtensionMiddleware object at 0x7fc35009cb50> |
request | <WSGIRequest: GET '/comunicati_stampa/CS_iPom%C3%AC.pdf'> |
request_path | u'/comunicati_stampa/CS_iPom\xec.pdf' |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | False |
HTTP_REFERER | 'http://www.pomionline.it/comunicati_stampa/CS_iPom%C3%AC.pdf' |
uwsgi.version | '2.0.15' |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/comunicati_stampa/CS_iPom\xec.pdf' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
CONTENT_LENGTH | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'www.pomionline.it' |
REMOTE_ADDR | '10.0.3.1' |
wsgi.url_scheme | 'https' |
SERVER_PORT | '80' |
uwsgi.node | 'webapplications' |
DOCUMENT_ROOT | '/opt/pomi-website-2018/project' |
uwsgi.core | 29 |
HTTP_X_FORWARDED_PROTO | 'https' |
wsgi.input | <uwsgi._Input object at 0x7fc2c44fc588> |
HTTP_HOST | 'www.pomionline.it' |
wsgi.multithread | True |
REQUEST_URI | '/comunicati_stampa/CS_iPom%C3%AC.pdf' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
HTTP_X_FORWARDED_FOR | '3.238.107.238' |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x7fc35511d030> |
REMOTE_PORT | '35358' |
REQUEST_SCHEME | 'http' |
wsgi.run_once | False |
CONTENT_TYPE | '' |
wsgi.file_wrapper | '' |
_pomi_website_2018.settings
Setting | Value |
---|---|
NOCAPTCHA | True |
SECURE_BROWSER_XSS_FILTER | False |
USE_X_FORWARDED_PORT | False |
CCDP_API_BASE_URL | u'********************' |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | u'en' |
ROOT_URLCONF | u'_pomi_website_2018.urls' |
MANAGERS | [] |
MODELTRANSLATION_FALLBACK_LANGUAGES | () |
DEFAULT_TO_EMAIL | (u'info@pomionline.it',) |
BASE_DIR | '/opt/pomi-website-2018/project/pomi_website_2018' |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_INDEX_TABLESPACE | '' |
STATIC_ROOT | u'/opt/pomi-website-2018/project/pomi_website_2018/../static' |
FACTORIES_API_URL | u'********************' |
CKEDITOR_UPLOAD_PATH | u'uploads/' |
THUMBNAIL_OPTIMIZE_COMMAND | {u'gif': u'/usr/bin/optipng {filename}', u'jpeg': u'/usr/bin/jpegoptim {filename}', u'png': u'/usr/bin/optipng {filename}'} |
ALLOWED_HOSTS | [u'*'] |
MAILCHIMP_API_KEY_USA | u'********************' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
RECAPTCHA_PRIVATE_KEY | u'********************' |
WSGI_APPLICATION | u'_pomi_website_2018.wsgi.application' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SERVER_EMAIL | 'root@localhost' |
CMS_PAGE_CACHE | False |
SECURE_HSTS_SECONDS | 0 |
CELERY_RESULT_SERIALIZER | u'json' |
STATICFILES_FINDERS | (u'django.contrib.staticfiles.finders.FileSystemFinder', u'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | u'_sessionid' |
CELERY_BROKER_URL | u'amqp://pomi-2018:pomi-2018@localhost:5672/pomi-2018' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
SECURE_REDIRECT_EXEMPT | [] |
DATABASES | {u'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, u'ENGINE': u'django.db.backends.postgresql_psycopg2', u'HOST': u'10.0.3.2', u'NAME': u'pomi_website_2018', 'OPTIONS': {}, u'PASSWORD': u'********************', u'PORT': u'', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, u'USER': u'pomi_web'}} |
EMAIL_SSL_KEYFILE | u'********************' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
RECAPTCHA_PUBLIC_KEY | u'********************' |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | [u'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
CMS_LOCALE_ENABLE | True |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
MAILCHIMP_LIST_USA | u'34c5902ff5' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {u'default': {u'BACKEND': u'django.core.cache.backends.memcached.MemcachedCache', u'KEY_PREFIX': u'********************', u'LOCATION': u'127.0.0.1:11211', u'TIMEOUT': 3600}} |
PLEIADI_CMSPLUGINS_GALLERY_NO_LINK | 'no_link' |
CONFIG_DEFAULT_NEWSLETTER_TO_EMAIL | {'LIVE': (u'marketing@pomionline.it',), 'LOCAL': (u'm.grignaffini@hoopcommunication.it',), 'TEST': (u'l.lanzoni@hoopcommunication.it',)} |
SESSION_COOKIE_PATH | '/' |
PLEIADI_CMSPLUGINS_TEASER_STYLE_CHOICES | (('h1', <django.utils.functional.__proxy__ object at 0x7fc361c28510>), ('simple', <django.utils.functional.__proxy__ object at 0x7fc361c28550>), ('article', <django.utils.functional.__proxy__ object at 0x7fc361c28590>), ('article_red', <django.utils.functional.__proxy__ object at 0x7fc361c285d0>), ('article_bg', <django.utils.functional.__proxy__ object at 0x7fc361c28650>), ('image', <django.utils.functional.__proxy__ object at 0x7fc361c286d0>), ('banner', <django.utils.functional.__proxy__ object at 0x7fc361c28750>), ('simple_mp4', <django.utils.functional.__proxy__ object at 0x7fc361c287d0>), ('banner_white', <django.utils.functional.__proxy__ object at 0x7fc361c28850>), ('left_image', <django.utils.functional.__proxy__ object at 0x7fc361c288d0>), ('bottom_image_red', <django.utils.functional.__proxy__ object at 0x7fc361c28950>), ('recipe', <django.utils.functional.__proxy__ object at 0x7fc361c289d0>), ('recipe_left', <django.utils.functional.__proxy__ object at 0x7fc361c28a50>), ('banner_video_in_page', <django.utils.functional.__proxy__ object at 0x7fc361cc07d0>), ('banner_bigger', <django.utils.functional.__proxy__ object at 0x7fc361c28ad0>), ('banner_cook', <django.utils.functional.__proxy__ object at 0x7fc361c28b50>), ('trace', <django.utils.functional.__proxy__ object at 0x7fc361c28bd0>), ('simple_image', <django.utils.functional.__proxy__ object at 0x7fc361c28c90>), ('right_image', <django.utils.functional.__proxy__ object at 0x7fc361c28d10>), ('banner_text', <django.utils.functional.__proxy__ object at 0x7fc361c28d90>), ('pdf_right', <django.utils.functional.__proxy__ object at 0x7fc361c28e10>), ('rules', <django.utils.functional.__proxy__ object at 0x7fc361c28e90>), ('cookbooks', <django.utils.functional.__proxy__ object at 0x7fc361c28f10>), ('float_banner', <django.utils.functional.__proxy__ object at 0x7fc361c28f90>), ('service', <django.utils.functional.__proxy__ object at 0x7fc361c2c050>), ('overlay', <django.utils.functional.__proxy__ object at 0x7fc361c2c0d0>), ('overlay_vinci', <django.utils.functional.__proxy__ object at 0x7fc361c2c150>), ('bottom_over', <django.utils.functional.__proxy__ object at 0x7fc361c2c1d0>), ('cookies', <django.utils.functional.__proxy__ object at 0x7fc361c2c250>)) |
THUMBNAIL_PREFIX | u'generated_' |
CONFIG_DEFAULT_TO_EMAIL | {'LIVE': (u'info@pomionline.it',), 'LOCAL': (u'm.grignaffini@hoopcommunication.it',), 'TEST': (u'l.lanzoni@hoopcommunication.it',)} |
THUMBNAIL_DEBUG | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
CMS_TEMPLATES | (('cms/pages/default_page.html', 'Default page'), ('cms/pages/event_page.html', 'Event page (Banner full height)'), ('cms/pages/event_page_natural_height.html', 'Event page')) |
MIDDLEWARE_CLASSES | [u'raven.contrib.django.middleware.DjangoRestFrameworkCompatMiddleware', u'raven.contrib.django.middleware.SentryMiddleware', u'site_extension.middleware.SiteExtensionMiddleware', u'corsheaders.middleware.CorsMiddleware', u'cms.middleware.utils.ApphookReloadMiddleware', u'django.middleware.security.SecurityMiddleware', u'django.contrib.sessions.middleware.SessionMiddleware', u'core.middleware.LocaleMiddleware', u'django.middleware.common.CommonMiddleware', u'django.middleware.csrf.CsrfViewMiddleware', u'django.contrib.auth.middleware.AuthenticationMiddleware', u'django.contrib.auth.middleware.SessionAuthenticationMiddleware', u'django.contrib.messages.middleware.MessageMiddleware', u'django.middleware.clickjacking.XFrameOptionsMiddleware', u'crequest.middleware.CrequestMiddleware', u'cms.middleware.user.CurrentUserMiddleware', u'cms.middleware.page.CurrentPageMiddleware', u'cms.middleware.toolbar.ToolbarMiddleware', u'cms.middleware.language.LanguageCookieMiddleware', u'pleiadi_content.seo.middleware.SeoMiddleware', u'oauth2_provider.middleware.OAuth2TokenMiddleware'] |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
CMS_LANGUAGES | {1: [{'code': 'it', 'fallbacks': [], 'hide_untranslated': True, 'name': 'Italian', 'public': True, 'redirect_on_fallback': False}, {'code': 'en', 'fallbacks': [], 'hide_untranslated': True, 'name': 'English', 'public': True, 'redirect_on_fallback': False}], 2: [{'code': 'it', 'fallbacks': [], 'hide_untranslated': True, 'name': 'Italian', 'public': True, 'redirect_on_fallback': False}, {'code': 'en', 'fallbacks': [], 'hide_untranslated': True, 'name': 'English', 'public': True, 'redirect_on_fallback': False}, {'code': 'en-us', 'fallbacks': [], 'hide_untranslated': True, 'name': 'American English', 'public': True, 'redirect_on_fallback': False}], 3: [{'code': 'en-us', 'fallbacks': ['es'], 'hide_untranslated': True, 'name': 'American English', 'public': True, 'redirect_on_fallback': False}, {'code': 'es', 'fallbacks': [], 'hide_untranslated': True, 'name': 'Spanish', 'public': True, 'redirect_on_fallback': False}], 6: [{'code': 'de', 'fallbacks': [], 'hide_untranslated': True, 'name': 'German', 'public': True, 'redirect_on_fallback': False}], 7: [{'code': 'en', 'fallbacks': ['fr'], 'hide_untranslated': True, 'name': 'English', 'public': True, 'redirect_on_fallback': False}, {'code': 'fr', 'fallbacks': ['en'], 'hide_untranslated': True, 'name': 'French', 'public': True, 'redirect_on_fallback': False}], 8: [{'code': 'de', 'fallbacks': [], 'hide_untranslated': True, 'name': 'German', 'public': True, 'redirect_on_fallback': False}], 9: [{'code': 'en', 'fallbacks': [], 'hide_untranslated': True, 'name': 'English', 'public': True, 'redirect_on_fallback': False}, {'code': 'ar', 'fallbacks': [], 'hide_untranslated': True, 'name': 'Arabian', 'public': True, 'redirect_on_fallback': False}], 10: [{'code': 'ar', 'fallbacks': [], 'hide_untranslated': True, 'name': 'Arabian', 'public': True, 'redirect_on_fallback': False}], 11: [{'code': 'en', 'fallbacks': [], 'hide_untranslated': True, 'name': 'English', 'public': True, 'redirect_on_fallback': False}, {'code': 'ru', 'fallbacks': [], 'hide_untranslated': True, 'name': 'Russian', 'public': True, 'redirect_on_fallback': False}], 12: [{'code': 'en', 'fallbacks': [], 'hide_untranslated': True, 'name': 'English', 'public': True, 'redirect_on_fallback': False}, {'code': 'ja', 'fallbacks': [], 'hide_untranslated': True, 'name': 'Japanese', 'public': True, 'redirect_on_fallback': False}], 13: [{'code': 'ar', 'fallbacks': [], 'hide_untranslated': True, 'name': 'Arabian', 'public': True, 'redirect_on_fallback': False}], 14: [{'code': 'ar', 'fallbacks': [], 'hide_untranslated': True, 'name': 'Arabian', 'public': True, 'redirect_on_fallback': False}], 15: [{'code': 'ar', 'fallbacks': [], 'hide_untranslated': True, 'name': 'Arabian', 'public': True, 'redirect_on_fallback': False}], 16: [{'code': 'es', 'fallbacks': [], 'hide_untranslated': True, 'name': 'Spanish', 'public': True, 'redirect_on_fallback': False}], 17: [{'code': 'en', 'fallbacks': [], 'hide_untranslated': True, 'name': 'English', 'public': True, 'redirect_on_fallback': False}, {'code': 'he', 'fallbacks': [], 'hide_untranslated': True, 'name': 'Hebrew', 'public': True, 'redirect_on_fallback': False}], 18: [{'code': 'en', 'fallbacks': [], 'hide_untranslated': True, 'name': 'English', 'public': True, 'redirect_on_fallback': False}, {'code': 'ar', 'fallbacks': [], 'hide_untranslated': True, 'name': 'Arabian', 'public': True, 'redirect_on_fallback': False}], <class cms.utils.conf.VERIFIED at 0x7fc369a94188>: True, 'default': {'fallbacks': [], 'hide_untranslated': True, 'public': False, 'redirect_on_fallback': False}} |
CACHE_DURATION_DEFAULT | 3600 |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_SCHEME | u'https' |
FILE_UPLOAD_TEMP_DIR | None |
LOGGING_CONFIG | 'logging.config.dictConfig' |
DEFAULT_NEWSLETTER_TO_EMAIL | (u'marketing@pomionline.it',) |
SITE_MENU_MAIL_RECIPIENTS | [u'c.bartolini@hoopcommunication.it', u'm.grignaffini@hoopcommunication.it'] |
TEMPLATE_LOADERS | ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'] |
FILER_IMAGE_MODEL | 'filer.Image' |
LANGUAGES_CONFIGURATION | {u'ar': {u'active': True, u'country_slug': u'united-arab-emirates', u'flag': u'pleiadi_content/languages/images/flags/ar.gif', u'locale': u'ar', u'locale_country': u'ar-AE', u'rel_alternate_language_code': u'ar', u'text_direction': u'rtl', u'visible_front_end': True}, u'de': {u'active': True, u'country_slug': u'germany', u'flag': u'pleiadi_content/languages/images/flags/de.gif', u'locale': u'de', u'locale_country': u'de-DE', u'rel_alternate_language_code': u'de', u'text_direction': u'ltr', u'visible_front_end': True}, u'en': {u'active': True, u'country_slug': None, u'flag': u'pleiadi_content/languages/images/flags/uk.gif', u'locale': u'en', u'locale_country': u'en-GB', u'rel_alternate_language_code': u'x-default', u'text_direction': u'ltr', u'visible_front_end': True}, u'en-us': {u'active': True, u'country_slug': None, u'flag': u'pleiadi_content/languages/images/flags/usa.gif', u'locale': u'en-us', u'locale_country': u'en-US', u'rel_alternate_language_code': u'en-us', u'text_direction': u'ltr', u'visible_front_end': True}, u'es': {u'active': True, u'country_slug': u'spain', u'flag': u'pleiadi_content/languages/images/flags/es.gif', u'locale': u'es', u'locale_country': u'es-ES', u'rel_alternate_language_code': u'es', u'text_direction': u'ltr', u'visible_front_end': True}, u'fr': {u'active': True, u'country_slug': u'france', u'flag': u'pleiadi_content/languages/images/flags/fr.gif', u'locale': u'fr', u'locale_country': u'fr-FR', u'rel_alternate_language_code': u'fr', u'text_direction': u'ltr', u'visible_front_end': True}, u'he': {u'active': True, u'country_slug': u'israel', u'flag': u'pleiadi_content/languages/images/flags/il.gif', u'locale': u'he', u'locale_country': u'he', u'rel_alternate_language_code': u'he', u'text_direction': u'rtl', u'visible_front_end': True}, u'it': {u'active': True, u'country_slug': u'italy', u'flag': u'pleiadi_content/languages/images/flags/it.gif', u'locale': u'it', u'locale_country': u'it-IT', u'rel_alternate_language_code': u'it', u'text_direction': u'ltr', u'visible_front_end': True}, u'ja': {u'active': True, u'country_slug': u'japan', u'flag': u'pleiadi_content/languages/images/flags/ja.gif', u'locale': u'ja', u'locale_country': u'ja', u'rel_alternate_language_code': u'ja', u'text_direction': u'ltr', u'visible_front_end': True}, u'ru': {u'active': True, u'country_slug': u'russian-federation', u'flag': u'pleiadi_content/languages/images/flags/ru.gif', u'locale': u'ru', u'locale_country': u'ru', u'rel_alternate_language_code': u'ru', u'text_direction': u'ltr', u'visible_front_end': True}} |
CKEDITOR_SETTINGS | {u'language': u'{{ language }}', u'skin': u'moono', u'toolbar_CMS': [[u'Styles', u'Format', u'Font', u'FontSize', u'NumberedList', u'BulletedList'], {u'items': [u'Cut', u'Copy', u'Paste', u'PasteText', u'PasteFromWord', u'-', u'Undo', u'Redo'], u'name': u'clipboard'}, [u'JustifyLeft', u'JustifyCenter', u'JustifyRight', u'JustifyBlock'], [u'Bold', u'Italic', u'Underline', u'Strike', u'Subscript', u'Superscript', u'-', u'Undo', u'Redo'], [u'Link', u'Unlink', u'Anchor'], [u'Image', u'Table', u'HorizontalRule'], [u'Source']]} |
TEMPLATE_DEBUG | False |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | u'_csrftoken' |
PLEIADI_CMSPLUGINS_GALLERY_FILELIST_STYLE_CHOICES | (('filelist_downloads', <django.utils.functional.__proxy__ object at 0x7fc361c60450>),) |
AUTH_PASSWORD_VALIDATORS | u'********************' |
USE_X_FORWARDED_HOST | False |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
EMAIL_TIMEOUT | None |
SECURE_SSL_HOST | None |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
SEO_ALTERNATE_ENABLE | True |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
CSRF_TRUSTED_ORIGINS | [] |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | [u'dynamic_settings.apps.DynamicSettingsConfig', u'modeltranslation', u'django.contrib.admin', u'django.contrib.auth', u'django.contrib.sites', u'django.contrib.contenttypes', u'django.contrib.sessions', u'django.contrib.messages', u'django.contrib.staticfiles', u'django.contrib.sitemaps', u'celery', u'core', u'cms', u'cms_extensions', u'site_extension', u'site_menu', u'treebeard', u'menus', u'sekizai', u'easy_thumbnails', u'easy_thumbnails.optimize', u'filer', u'mptt', u'ckeditor', u'ckeditor_uploader', u'oauth2_provider', u'rest_framework', u'corsheaders', u'djangocms_admin_style', u'djangocms_text_ckeditor', u'djangocms_column', u'pleiadi_cmsplugins.base', u'pleiadi_cmsplugins.gallery', u'pleiadi_cmsplugins.teaser', u'import_export', u'el_pagination', u'gulp_rev', u'captcha', u'raven.contrib.django.raven_compat', u'async_import_export', u'adminsortable2', u'sortedm2m', u'mailing', u'pleiadi_content', u'multiselectfield', u'pleiadi_geographic', u'news', u'products', u'recipes', u'tracking', u'food_columns', u'farmers', u'network', u'bullettins', u'contacts', u'newsletter', u'recipes_book', u'landings', u'social_entries', u'press', u'competitors'] |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
USE_L10N | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
STATICFILES_DIRS | [u'/opt/pomi-website-2018/project/pomi_website_2018/frontend-libs', u'/opt/pomi-website-2018/project/pomi_website_2018/frontend-assets'] |
PLEIADI_CMSPLUGINS_GALLERY_DEFAULT_STYLE | 'teaserlist_carousel' |
SECURE_PROXY_SSL_HEADER | (u'HTTP_X_FORWARDED_PROTO', u'https') |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
INTERNAL_IPS | [] |
PLEIADI_CMSPLUGINS_GALLERY_SLIDESHOW_STYLE_CHOICES | (('teaserlist_carousel_simple', <django.utils.functional.__proxy__ object at 0x7fc361cd5e50>), ('teaserlist_carousel_simple_vimeo', <django.utils.functional.__proxy__ object at 0x7fc361cd5e90>), ('teaserlist_carousel_factories', <django.utils.functional.__proxy__ object at 0x7fc361cd5ed0>), ('teaserlist_carousel_event', <django.utils.functional.__proxy__ object at 0x7fc361cd5f10>), ('teaserlist_carousel_event2', <django.utils.functional.__proxy__ object at 0x7fc361cd5f90>), ('teaserlist_carousel_html_video', <django.utils.functional.__proxy__ object at 0x7fc361c60050>), ('teaserlist_carousel_image_video', <django.utils.functional.__proxy__ object at 0x7fc361c600d0>), ('teaserlist_carousel_right_text', <django.utils.functional.__proxy__ object at 0x7fc361c60150>), ('teaserlist_carousel_left_text', <django.utils.functional.__proxy__ object at 0x7fc361c601d0>), ('teaserlist_carousel_timeline', <django.utils.functional.__proxy__ object at 0x7fc361c60250>), ('teaserlist_carousel_interview', <django.utils.functional.__proxy__ object at 0x7fc361c602d0>), ('teaserlist_carousel_spot', <django.utils.functional.__proxy__ object at 0x7fc361c60350>), ('teaserlist_carousel_interview_video', <django.utils.functional.__proxy__ object at 0x7fc361c603d0>)) |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
AUTH_USER_MODEL | 'auth.User' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
PLEIADI_CMSPLUGINS_GALLERY_LINK_TYPE_CHOICES | (('no_link', <django.utils.functional.__proxy__ object at 0x7fc361cc0590>), ('page_link', <django.utils.functional.__proxy__ object at 0x7fc361cc05d0>), ('url_link', <django.utils.functional.__proxy__ object at 0x7fc361cc0610>), ('media_link', <django.utils.functional.__proxy__ object at 0x7fc361cc0650>)) |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
EMAIL_HOST_PASSWORD | u'********************' |
CONFIG_DATABASES | {'LIVE': {u'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, u'ENGINE': u'django.db.backends.postgresql_psycopg2', u'HOST': u'10.0.3.2', u'NAME': u'pomi_website_2018', 'OPTIONS': {}, u'PASSWORD': u'********************', u'PORT': u'', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, u'USER': u'pomi_web'}}, 'LOCAL': {u'default': {u'ENGINE': u'django.db.backends.postgresql_psycopg2', u'HOST': u'docker.for.mac.localhost', u'NAME': u'pomi_website_2018', u'PASSWORD': u'********************', u'PORT': u'', u'USER': u'pomi_web'}}, 'TEST': {u'default': {u'ENGINE': u'django.db.backends.postgresql_psycopg2', u'HOST': u'localhost', u'NAME': u'pomi_website_2018', u'PASSWORD': u'********************', u'PORT': u'', u'USER': u'pomi_web'}}} |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
DEFAULT_CC_EMAIL | () |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
PLEIADI_CMSPLUGINS_TEASER_DEFAULT_STYLE | 'teaser' |
CACHE_KEY_PREFIX | u'********************' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
CELERY_TASK_SERIALIZER | u'json' |
CELERY_BROKER_URL_CONFIG | {'LIVE': u'amqp://pomi-2018:pomi-2018@localhost:5672/pomi-2018', 'LOCAL': u'amqp://pomi-2018:pomi-2018@localhost:5672/pomi-2018', 'TEST': u'amqp://pomi-2018:pomi-2018@localhost:5672/pomi-2018'} |
DECIMAL_SEPARATOR | '.' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SITE_ID | 1 |
LOCALE_PATHS | (u'/opt/pomi-website-2018/project/pomi_website_2018/locale',) |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | [] |
EMAIL_HOST | u'smtp5.studiopleiadi.com' |
DATE_FORMAT | 'N j, Y' |
USE_MINIFIED_TEMPLATES | False |
MEDIA_ROOT | u'/opt/pomi-website-2018/project/pomi_website_2018/../media' |
TRACKING_API_URL | u'********************' |
PLEIADI_CMSPLUGINS_GALLERY_TEASERLIST_STYLE_CHOICES | (('teaserlist_image_boxes', <django.utils.functional.__proxy__ object at 0x7fc361c60550>), ('teaserlist_video_boxes', <django.utils.functional.__proxy__ object at 0x7fc361c605d0>), ('teaserlist_squares', <django.utils.functional.__proxy__ object at 0x7fc361c60650>), ('teaserlist_icons', <django.utils.functional.__proxy__ object at 0x7fc361c60690>), ('teaserlist_icons_up_down', <django.utils.functional.__proxy__ object at 0x7fc361c60710>), ('teaserlist_icons_images', <django.utils.functional.__proxy__ object at 0x7fc361c60790>), ('teaserlist_boxes_img_text', <django.utils.functional.__proxy__ object at 0x7fc361c60810>), ('teaserlist_rules', <django.utils.functional.__proxy__ object at 0x7fc361c60890>), ('teaserlist_icons_in_shadow', <django.utils.functional.__proxy__ object at 0x7fc361c60910>), ('teaserlist_icons_five', <django.utils.functional.__proxy__ object at 0x7fc361c60990>), ('teaserlist_products', <django.utils.functional.__proxy__ object at 0x7fc361c60a10>), ('teaserlist_icons_green_dots', <django.utils.functional.__proxy__ object at 0x7fc361c60a90>), ('teaserlist_banner_green', <django.utils.functional.__proxy__ object at 0x7fc361c60b10>), ('teaserlist_text_half', <django.utils.functional.__proxy__ object at 0x7fc361c60b90>), ('teaserlist_videos', <django.utils.functional.__proxy__ object at 0x7fc361c60c10>)) |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | ((u'Luca Lanzoni', u'l.lanzoni@hoopcommunication.it'), (u'Claudio Bartolini', u'c.bartolini@hoopcommunication.it')) |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | u'Pomi <pomismtp@studiopleiadi.com>' |
PLEIADI_CMSPLUGINS_GALLERY_URL_LINK | 'url_link' |
REST_FRAMEWORK | {u'DEFAULT_AUTHENTICATION_CLASSES': (u'rest_framework.authentication.SessionAuthentication',), u'DEFAULT_PERMISSION_CLASSES': (u'rest_framework.permissions.IsAuthenticatedOrReadOnly',), u'DEFAULT_THROTTLE_RATES': {u'anon': u'30/minute'}} |
WKHTMLTOPDF_BIN | u'/usr/local/bin/wkhtmltopdf' |
MEDIA_URL | u'/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | [] |
CKEDITOR_CONFIGS | {u'default': {u'toolbar': u'Custom', u'toolbar_Custom': [[u'Styles', u'Format', u'Font', u'FontSize', u'NumberedList', u'BulletedList'], {u'items': [u'Cut', u'Copy', u'Paste', u'PasteText', u'PasteFromWord', u'-', u'Undo', u'Redo'], u'name': u'clipboard'}, [u'JustifyLeft', u'JustifyCenter', u'JustifyRight', u'JustifyBlock'], [u'Bold', u'Italic', u'Underline', u'Strike', u'Subscript', u'Superscript', u'-', u'Undo', u'Redo'], [u'Link', u'Unlink', u'Anchor'], [u'Image', u'Table', u'HorizontalRule'], [u'Source']]}} |
MAILCHIMP_API_KEY | u'********************' |
DISALLOWED_USER_AGENTS | [] |
ALLOWED_INCLUDE_ROOTS | [] |
CURRENT_ENV | 'LIVE' |
LOGGING | {} |
PREPEND_WWW | False |
SHORT_DATE_FORMAT | 'm/d/Y' |
SECRET_KEY | u'********************' |
DEFAULT_BCC_EMAIL | (u'l.lanzoni@hoopcommunication.it', u'c.bartolini@hoopcommunication.it', u'm.grignaffini@hoopcommunication.it') |
TEMPLATES | [{u'BACKEND': u'django.template.backends.django.DjangoTemplates', u'DIRS': [u'/opt/pomi-website-2018/project/pomi_website_2018/templates'], u'OPTIONS': {u'context_processors': [u'django.template.context_processors.debug', u'django.template.context_processors.request', u'django.contrib.auth.context_processors.auth', u'django.contrib.messages.context_processors.messages', u'django.template.context_processors.i18n', u'django.template.context_processors.media', u'django.template.context_processors.static', u'sekizai.context_processors.sekizai', u'cms.context_processors.cms_settings', u'site_extension.context_processors.sites_context', u'core.context_processors.current_language', u'core.context_processors.active_languages_front_end', u'pleiadi_content.seo.context_processors.rel_alternate'], u'loaders': [u'core.template.loaders.minified_filesystem.Loader', u'core.template.loaders.minified_app_directories.Loader', u'django.template.loaders.filesystem.Loader', u'django.template.loaders.app_directories.Loader']}}] |
MAILCHIMP_LISTS | {u'en': u'ef7fa0612a', u'en-us': u'f87c4c859a', u'it': u'ff25e8c10f'} |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
IGNORABLE_404_URLS | [] |
SECURE_SSL_REDIRECT | False |
TIME_ZONE | u'Europe/Rome' |
CORS_ORIGIN_ALLOW_ALL | True |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
PLEIADI_CMSPLUGINS_GALLERY_MEDIA_LINK | 'media_link' |
EMAIL_USE_SSL | False |
TEMPLATE_CONTEXT_PROCESSORS | ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages'] |
MIGRATION_MODULES | {} |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | '_pomi_website_2018.settings' |
PROJECT_PATH | '/opt/pomi-website-2018/project/pomi_website_2018/_pomi_website_2018' |
USE_ETAGS | False |
MEMCACHED_LOCATION | {'LIVE': u'127.0.0.1:11211', 'LOCAL': u'127.0.0.1:11211', 'TEST': u'127.0.0.1:11211'} |
LANGUAGES | ((u'it', u'Italian'), (u'en', u'English'), (u'es', u'Spanish'), (u'de', u'German'), (u'fr', u'French'), (u'ar', u'Arabic'), (u'ru', u'Russian'), (u'ja', u'Japanese'), (u'en-us', u'English'), (u'he', u'Hebrew')) |
GULP_REV_PATH | u'/opt/pomi-website-2018/project/pomi_website_2018/frontend-libs/rev-manifest.json' |
CELERY_TASK_ALWAYS_EAGER | False |
CSRF_COOKIE_AGE | 31449600 |
STATIC_URL | u'/static/' |
EMAIL_PORT | 10025 |
PLEIADI_CMSPLUGINS_GALLERY_PAGE_LINK | 'page_link' |
PLEIADI_CMSPLUGINS_GALLERY_DEFAULT_LINK_TYPE | 'no_link' |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
CELERY_RESULT_BACKEND | u'amqp' |
TEST_NON_SERIALIZED_APPS | [] |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SSL_CERTFILE | None |
CSRF_COOKIE_HTTPONLY | False |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y'] |
FORCE_SCRIPT_NAME | None |
EMAIL_HOST_USER | '' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.