'ascii' codec can't encode character u'\xfc' in position 80: ordinal not in range(128)
Request Method: | GET |
---|---|
Request URL: | https://discoveralpigiulie.eu/it/ristorazione/bar/bar-saisera-h%C3%BCtte/ |
Django Version: | 1.6.11 |
Exception Type: | UnicodeEncodeError |
Exception Value: | 'ascii' codec can't encode character u'\xfc' in position 80: ordinal not in range(128) |
Exception Location: | /usr/local/lib/python2.7/dist-packages/django/template/loaders/filesystem.py in load_template_source, line 37 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.3 |
Python Path: | ['/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/local/lib/python2.7/dist-packages/future-0.9.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/requests_oauthlib-0.4.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/beautifulsoup4-4.1.3-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/tzlocal-1.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/oauthlib-0.6.3-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/six-1.7.3-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/pytz-2014.4-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/oauth2-1.5.211-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/simplejson-3.6.2-py2.7-linux-x86_64.egg', '/usr/local/lib/python2.7/dist-packages/xlwt-0.7.5-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/xlrd-0.9.3-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/mezzanine_file_collections-1.0.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/tweepy-2.3.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/django_taggit-0.12.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/django_treebeard-2.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/urllib3-1.9-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/google_api_python_client-1.2-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/feedparser-5.1.3-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/python_crontab-1.8.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/pyPdf-1.13-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/pyquery-1.2.9-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/cssselect-0.9.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/lxml-3.3.6-py2.7-linux-x86_64.egg', '/usr/local/lib/python2.7/dist-packages/easy_thumbnails-2.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/GPolyEncode-0.1.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/django_compressor-1.4-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/django_modeltranslation-0.8-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/polib-1.0.5-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/mechanize-0.2.5-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/picopt-1.2.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/rarfile-2.7-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/cssmin-0.2.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/mailchimp-2.0.9-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/docopt-0.4.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/mongoengine-0.8.7-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/icalendar-3.8.4-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/django_messages-0.5.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/ucsv-0.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/poster-0.8.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/oauth2client-1.5.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/rsa-3.2-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/pyasn1_modules-0.0.7-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/pyasn1-0.1.8-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/httplib2-0.9.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/pycrypto-2.6.1-py2.7-linux-x86_64.egg', '/usr/local/lib/python2.7/dist-packages/python_magic-0.4.6-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/python_linkedin-4.2-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/requests-2.8.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/humanize-0.5.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/mailsnake-1.6.4-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/django_image_cropping-1.0.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/django_appconf-1.0.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/pdfminer-20140328-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/dateparser-0.5.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/regex-2016.11.21-py2.7-linux-x86_64.egg', '/usr/local/lib/python2.7/dist-packages/umalqurra-0.2-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/jdatetime-1.8.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/ruamel.yaml-0.13.2-py2.7-linux-x86_64.egg', '/usr/local/lib/python2.7/dist-packages/typing-3.5.2.2-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/ruamel.ordereddict-0.4.9-py2.7-linux-x86_64.egg', '/usr/local/lib/python2.7/dist-packages/xhtml2pdf-0.2b1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/reportlab-3.3.0-py2.7-linux-x86_64.egg', '/usr/local/lib/python2.7/dist-packages/PyPDF2-1.26.0-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/django_annoying-0.10.3-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/Django-1.10.5-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/vobject-0.9.4.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/django_schedule-0.5b0-py2.7.egg', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/pymodules/python2.7', '/home/alessio/alpeadria', '/home/alessio'] |
Server time: | ven, 29 Mar 2024 12:53:43 +0100 |
The string that could not be encoded/decoded was: era-hütte.h
/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py
in get_response
raise ValueError("The view %s.%s didn't return an HttpResponse object." % (callback.__module__, view_name))
# If the response supports deferred rendering, apply template
# response middleware and then render the response
if hasattr(response, 'render') and callable(response.render):
for middleware_method in self._template_response_middleware:
response = middleware_method(request, response)
response = response.render()...
except http.Http404 as e:
logger.warning('Not Found: %s', request.path,
extra={
'status_code': 404,
'request': request
Variable | Value |
---|---|
callback_args | () |
resolver_match | ResolverMatch(func=<function page at 0x7f0ea3310668>, args=(), kwargs={u'slug': u'ristorazione/bar/bar-saisera-h\xfctte'}, url_name='page', app_name='None', namespace='') |
middleware_method | <bound method TemplateForDeviceMiddleware.process_template_response of <mezzanine.core.middleware.TemplateForDeviceMiddleware object at 0x7f0ea32f2450>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f0ea0996950> |
request | "<WSGIRequest\npath:/it/ristorazione/bar/bar-saisera-h\xc3\xbctte/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'eqDqqoM5ysCVJDW23gJ0XerLxRlso5PW',\n 'DOCUMENT_ROOT': '/var/www',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTPS': '1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'discoveralpigiulie.eu',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/it/ristorazione/bar/bar-saisera-h\\xfctte/',\n 'PATH_TRANSLATED': '/home/alessio/alpeadria/django.wsgi/it/ristorazione/bar/bar-saisera-h\\xc3\\xbctte/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '23.22.236.90',\n 'REMOTE_PORT': '37358',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/it/ristorazione/bar/bar-saisera-h%C3%BCtte/',\n 'SCRIPT_FILENAME': '/home/alessio/alpeadria/django.wsgi',\n 'SCRIPT_NAME': u'',\n 'SCRIPT_URI': 'https://discoveralpigiulie.eu/it/ristorazione/bar/bar-saisera-h\\xc3\\xbctte/',\n 'SCRIPT_URL': '/it/ristorazione/bar/bar-saisera-h\\xc3\\xbctte/',\n 'SERVER_ADDR': '37.59.43.87',\n 'SERVER_ADMIN': 'polesello@infofactory.it',\n 'SERVER_NAME': 'discoveralpigiulie.eu',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.2.22 (Debian) Server at discoveralpigiulie.eu Port 443</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.2.22 (Debian)',\n 'SSL_TLS_SNI': 'discoveralpigiulie.eu',\n 'mod_wsgi.application_group': 'ns399019.ip-37-59-43.eu|',\n 'mod_wsgi.callable_object': 'application',\n 'mod_wsgi.handler_script': '',\n 'mod_wsgi.input_chunked': '0',\n 'mod_wsgi.listener_host': '',\n 'mod_wsgi.listener_port': '443',\n 'mod_wsgi.process_group': '',\n 'mod_wsgi.request_handler': 'wsgi-script',\n 'mod_wsgi.script_reloading': '1',\n 'mod_wsgi.version': (3, 3),\n 'wsgi.errors': <mod_wsgi.Log object at 0x7f0ea1635430>,\n 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f0ea152beb8>,\n 'wsgi.input': <mod_wsgi.Input object at 0x7f0ea0e8baf0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 1)}>" |
callback | <function page at 0x7f0ea3310668> |
resolver | <RegexURLResolver u'alpeadria.urls' (None:None) ^/> |
callback_kwargs | {u'slug': u'ristorazione/bar/bar-saisera-h\xfctte'} |
response | <django.template.response.TemplateResponse object at 0x7f0ea3441190> |
urlconf | u'alpeadria.urls' |
/usr/local/lib/python2.7/dist-packages/django/template/response.py
in render
If the content has already been rendered, this is a no-op.
Returns the baked response instance.
"""
retval = self
if not self._is_rendered:
self.content = self.rendered_content...
for post_callback in self._post_render_callbacks:
newretval = post_callback(retval)
if newretval is not None:
retval = newretval
return retval
Variable | Value |
---|---|
self | <django.template.response.TemplateResponse object at 0x7f0ea3441190> |
retval | <django.template.response.TemplateResponse object at 0x7f0ea3441190> |
/usr/local/lib/python2.7/dist-packages/django/template/response.py
in rendered_content
"""Returns the freshly rendered content for the template and context
described by the TemplateResponse.
This *does not* set the final content of the response. To set the
response content, you must either call render(), or set the
content explicitly using the value of this property.
"""
template = self.resolve_template(self.template_name)...
context = self.resolve_context(self.context_data)
content = template.render(context)
return content
def add_post_render_callback(self, callback):
"""Adds a new post-rendering callback.
Variable | Value |
---|---|
self | <django.template.response.TemplateResponse object at 0x7f0ea3441190> |
/usr/local/lib/python2.7/dist-packages/django/template/response.py
in resolve_template
del obj_dict[attr]
return obj_dict
def resolve_template(self, template):
"Accepts a template object, path-to-template or list of paths"
if isinstance(template, (list, tuple)):
return loader.select_template(template)...
elif isinstance(template, six.string_types):
return loader.get_template(template)
else:
return template
def resolve_context(self, context):
Variable | Value |
---|---|
self | <django.template.response.TemplateResponse object at 0x7f0ea3441190> |
template | [u'pages/ristorazione/bar/bar-saisera-h\xfctte.html', u'pages/ristorazione/bar/bar-saisera-h\xfctte/poi.html', u'pages/ristorazione/bar/poi.html', u'pages/ristorazione/poi.html', u'pages/poi.html', u'pages/page.html'] |
/usr/local/lib/python2.7/dist-packages/django/template/loader.py
in select_template
def select_template(template_name_list):
"Given a list of template names, returns the first that can be loaded."
if not template_name_list:
raise TemplateDoesNotExist("No template names provided")
not_found = []
for template_name in template_name_list:
try:
return get_template(template_name)...
except TemplateDoesNotExist as e:
if e.args[0] not in not_found:
not_found.append(e.args[0])
continue
# If we get here, none of the templates could be loaded
raise TemplateDoesNotExist(', '.join(not_found))
Variable | Value |
---|---|
template_name | u'pages/ristorazione/bar/bar-saisera-h\xfctte.html' |
not_found | [] |
template_name_list | [u'pages/ristorazione/bar/bar-saisera-h\xfctte.html', u'pages/ristorazione/bar/bar-saisera-h\xfctte/poi.html', u'pages/ristorazione/bar/poi.html', u'pages/ristorazione/poi.html', u'pages/poi.html', u'pages/page.html'] |
/usr/local/lib/python2.7/dist-packages/django/template/loader.py
in get_template
raise TemplateDoesNotExist(name)
def get_template(template_name):
"""
Returns a compiled Template object for the given template name,
handling template inheritance recursively.
"""
template, origin = find_template(template_name)...
if not hasattr(template, 'render'):
# template needs to be compiled
template = get_template_from_string(template, origin, template_name)
return template
def get_template_from_string(source, origin=None, name=None):
Variable | Value |
---|---|
template_name | u'pages/ristorazione/bar/bar-saisera-h\xfctte.html' |
/usr/local/lib/python2.7/dist-packages/django/template/loader.py
in find_template
for loader_name in settings.TEMPLATE_LOADERS:
loader = find_template_loader(loader_name)
if loader is not None:
loaders.append(loader)
template_source_loaders = tuple(loaders)
for loader in template_source_loaders:
try:
source, display_name = loader(name, dirs)...
return (source, make_origin(display_name, loader, name, dirs))
except TemplateDoesNotExist:
pass
raise TemplateDoesNotExist(name)
def get_template(template_name):
Variable | Value |
---|---|
dirs | None |
loader | <django.template.loaders.filesystem.Loader object at 0x7f0ea3441d50> |
name | u'pages/ristorazione/bar/bar-saisera-h\xfctte.html' |
loader_name | u'django.template.loaders.app_directories.Loader' |
loaders | [<django.template.loaders.filesystem.Loader object at 0x7f0ea3441d50>, <django.template.loaders.app_directories.Loader object at 0x7f0ea3450210>] |
/usr/local/lib/python2.7/dist-packages/django/template/loader.py
in __call__
class BaseLoader(object):
is_usable = False
def __init__(self, *args, **kwargs):
pass
def __call__(self, template_name, template_dirs=None):
return self.load_template(template_name, template_dirs)...
def load_template(self, template_name, template_dirs=None):
source, display_name = self.load_template_source(template_name, template_dirs)
origin = make_origin(display_name, self.load_template_source, template_name, template_dirs)
try:
template = get_template_from_string(source, origin, template_name)
Variable | Value |
---|---|
template_dirs | None |
template_name | u'pages/ristorazione/bar/bar-saisera-h\xfctte.html' |
self | <django.template.loaders.filesystem.Loader object at 0x7f0ea3441d50> |
/usr/local/lib/python2.7/dist-packages/django/template/loader.py
in load_template
def __init__(self, *args, **kwargs):
pass
def __call__(self, template_name, template_dirs=None):
return self.load_template(template_name, template_dirs)
def load_template(self, template_name, template_dirs=None):
source, display_name = self.load_template_source(template_name, template_dirs)...
origin = make_origin(display_name, self.load_template_source, template_name, template_dirs)
try:
template = get_template_from_string(source, origin, template_name)
return template, None
except TemplateDoesNotExist:
# If compiling the template we found raises TemplateDoesNotExist, back off to
Variable | Value |
---|---|
template_dirs | None |
template_name | u'pages/ristorazione/bar/bar-saisera-h\xfctte.html' |
self | <django.template.loaders.filesystem.Loader object at 0x7f0ea3441d50> |
/usr/local/lib/python2.7/dist-packages/django/template/loaders/filesystem.py
in load_template_source
# fatal).
pass
def load_template_source(self, template_name, template_dirs=None):
tried = []
for filepath in self.get_template_sources(template_name, template_dirs):
try:
with open(filepath, 'rb') as fp:...
return (fp.read().decode(settings.FILE_CHARSET), filepath)
except IOError:
tried.append(filepath)
if tried:
error_msg = "Tried %s" % tried
else:
Variable | Value |
---|---|
template_dirs | None |
template_name | u'pages/ristorazione/bar/bar-saisera-h\xfctte.html' |
self | <django.template.loaders.filesystem.Loader object at 0x7f0ea3441d50> |
tried | [] |
filepath | u'/home/alessio/alpeadria/alpeadria/templates/pages/ristorazione/bar/bar-saisera-h\xfctte.html' |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.listener_port | '443' |
SERVER_SOFTWARE | 'Apache/2.2.22 (Debian)' |
SCRIPT_NAME | u'' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '<address>Apache/2.2.22 (Debian) Server at discoveralpigiulie.eu Port 443</address>\n' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/it/ristorazione/bar/bar-saisera-h\xfctte/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
SSL_TLS_SNI | 'discoveralpigiulie.eu' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'discoveralpigiulie.eu' |
REMOTE_ADDR | '23.22.236.90' |
mod_wsgi.request_handler | 'wsgi-script' |
wsgi.url_scheme | 'https' |
PATH_TRANSLATED | '/home/alessio/alpeadria/django.wsgi/it/ristorazione/bar/bar-saisera-h\xc3\xbctte/' |
SERVER_PORT | '443' |
wsgi.multiprocess | True |
mod_wsgi.input_chunked | '0' |
SERVER_ADDR | '37.59.43.87' |
DOCUMENT_ROOT | '/var/www' |
mod_wsgi.process_group | '' |
SCRIPT_FILENAME | '/home/alessio/alpeadria/django.wsgi' |
SERVER_ADMIN | 'polesello@infofactory.it' |
SCRIPT_URI | 'https://discoveralpigiulie.eu/it/ristorazione/bar/bar-saisera-h\xc3\xbctte/' |
wsgi.input | <mod_wsgi.Input object at 0x7f0ea0e8baf0> |
HTTP_HOST | 'discoveralpigiulie.eu' |
SCRIPT_URL | '/it/ristorazione/bar/bar-saisera-h\xc3\xbctte/' |
HTTPS | '1' |
wsgi.multithread | False |
mod_wsgi.callable_object | 'application' |
REQUEST_URI | '/it/ristorazione/bar/bar-saisera-h%C3%BCtte/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 1) |
GATEWAY_INTERFACE | 'CGI/1.1' |
wsgi.run_once | False |
wsgi.errors | <mod_wsgi.Log object at 0x7f0ea1635430> |
REMOTE_PORT | '37358' |
mod_wsgi.listener_host | '' |
mod_wsgi.version | (3, 3) |
mod_wsgi.application_group | 'ns399019.ip-37-59-43.eu|' |
mod_wsgi.script_reloading | '1' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'eqDqqoM5ysCVJDW23gJ0XerLxRlso5PW' |
alpeadria.settings
Setting | Value |
---|---|
COMPRESS_URL | u'/static/' |
TESTING | False |
COMPRESS_OUTPUT_DIR | u'CACHE' |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {u'STATIC_URL': u'/static/'} |
DEV_SERVER | False |
COMPRESS_DATA_URI_MAX_SIZE | 1024 |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | u'it' |
ROOT_URLCONF | u'alpeadria.urls' |
MANAGERS | () |
RICHTEXT_FILTER_LEVEL | 2 |
COMPRESS_CSS_HASHING_METHOD | u'mtime' |
DEFAULT_CHARSET | 'utf-8' |
IGNORABLE_404_URLS | () |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | u'/home/alessio/alpeadria/alpeadria/static' |
SEARCH_MODEL_CHOICES | (u'pages.Page',) |
COMPRESS_CLOSURE_COMPILER_ARGUMENTS | u'' |
USE_THOUSAND_SEPARATOR | False |
COMPRESS_OFFLINE_MANIFEST | u'manifest.json' |
ALLOWED_HOSTS | [u'.discoveralpigiulie.eu'] |
GOOGLE_MAPS_API_KEY | u'********************' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.cookie.CookieStorage' |
WSGI_APPLICATION | u'alpeadria.wsgi.application' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', u'compressor.finders.CompressorFinder') |
SESSION_CACHE_ALIAS | 'default' |
COMPRESS_CSSTIDY_ARGUMENTS | u'--template=highest' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
COMPRESS_YUGLIFY_JS_ARGUMENTS | u'--terminal' |
PACKAGE_NAME_GRAPPELLI | u'grappelli_safe' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
DATABASES | {u'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, u'ENGINE': u'django.db.backends.mysql', u'HOST': u'', u'NAME': u'alpeadria', 'OPTIONS': {}, u'PASSWORD': u'********************', u'PORT': u'', 'TEST_CHARSET': None, u'TEST_COLLATION': u'utf8_general_ci', 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': u'Europe/Rome', u'USER': u'alpeadria'}} |
COMPRESS_YUI_BINARY | u'java -jar yuicompressor.jar' |
SLUGIFY | u'django.template.defaultfilters.slugify' |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
OPTIONAL_APPS | (u'compressor', u'filebrowser_safe', u'grappelli_safe') |
COMPRESS_CSS_COMPRESSOR | u'compressor.css.CssCompressor' |
PAGE_MENU_TEMPLATES | ((1, u'Menu principale', u'pages/menus/menu-header.html'),) |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
YEAR_MONTH_FORMAT | 'F Y' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
ICONS | ((u'alimentari.svg', u'Alimentari'), (u'altitudine.svg', u'Altitudine'), (u'bicicletta.svg', u'Bicicletta'), (u'bike.svg', u'Bike'), (u'camminata.svg', u'Camminata'), (u'culture.svg', u'Cultura'), (u'edicole.svg', u'Edicole'), (u'events.svg', u'Eventi'), (u'farmacia.svg', u'Farmacia'), (u'fontanelle.svg', u'Fontanelle'), (u'guerra.svg', u'Guerra'), (u'guerraWhite.svg', u'Guerra (icona bianca)'), (u'laghi.svg', u'Laghi'), (u'map.svg', u'Mappa'), (u'money.svg', u'Soldi'), (u'nature.svg', u'Natura'), (u'ospitality.svg', u'Ospitalit\xe0'), (u'posta.svg', u'Posta'), (u'profAlt.svg', u'Profilo altimetrico'), (u'punto-esclamativo.svg', u'Punto esclamativo'), (u'religione.svg', u'Religione'), (u'religioneWhite.svg', u'Religione (icona bianca)'), (u'ristorante.svg', u'Ristorazione'), (u'sentieri.svg', u'Sentieri'), (u'traspPub.svg', u'Trasporto Pubblico'), (u'trekking.svg', u'Trekking'), (u'trekkingWhite.svg', u'Trekking (icona bianca)'), (u'utility.svg', u'Utilit\xe0'), (u'wifi.svg', u'WIFI'), (u'percorso-ciclabile.svg', u'Percorso ciclabile'), (u'altri-sport.svg', u'Altri sport'), (u'aree-divertimento.svg', u'Aree Divertimento'), (u'sci.svg', u'Sci'), (u'mountain-bike.svg', u'MTB'), (u'arrampicata.svg', u'Arrampicata'), (u'sport-acqua.svg', u'Sport Acqua'), (u'opere-interesse.svg', u'Opere interesse'), (u'tradizioni.svg', u'Tradizioni'), (u'musei.svg', u'Musei'), (u'guerra.svg', u'Guerra'), (u'religione.svg', u'Religione'), (u'parco.svg', u'Parco'), (u'curiosita-naturalistiche.svg', u'Curiosita Naturalistiche'), (u'malghe.svg', u'Malghe'), (u'noleggio-sci.svg', u'Noleggio Sci'), (u'uffici-turistici.svg', u'Uffici Turistici'), (u'noleggio-bici.svg', u'Noleggio Bici'), (u'camper.svg', u'Camper'), (u'noleggio-auto.svg', u'Noleggio Auto'), (u'trasporto-pubblico.svg', u'Trasporto Pubblico'), (u'salute.svg', u'Salute'), (u'icona-cultura.svg', u'Cultura'), (u'icona-eventi.svg', u'Eventi'), (u'icona-mappa.svg', u'Mappa'), (u'icona-natura.svg', u'Natura'), (u'icona-ospitalita.svg', u'Ospitalit\xe0'), (u'icona-ristorazione.svg', u'Ristorazione'), (u'icona-sport.svg', u'Sport e tempo libero'), (u'icona-utilita.svg', u'Utilit\xe0'), (u'new-auto-bici-electricity.svg', u'Auto e Biciclette elletriche'), (u'new-auto-electricity.svg', u'Auto elettriche'), (u'new-bici-electricity.svg', u'Biciclette elettriche')) |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
COMPRESS_PARSER | u'compressor.parser.AutoSelectParser' |
COMPRESS_CACHE_BACKEND | u'default' |
MIDDLEWARE_CLASSES | (u'django.contrib.sessions.middleware.SessionMiddleware', u'django.middleware.locale.LocaleMiddleware', u'django.contrib.auth.middleware.AuthenticationMiddleware', u'django.middleware.common.CommonMiddleware', u'django.middleware.csrf.CsrfViewMiddleware', u'django.contrib.messages.middleware.MessageMiddleware', u'mezzanine.core.request.CurrentRequestMiddleware', u'mezzanine.core.middleware.RedirectFallbackMiddleware', u'mezzanine.core.middleware.TemplateForDeviceMiddleware', u'mezzanine.core.middleware.TemplateForHostMiddleware', u'mezzanine.core.middleware.AdminLoginInterfaceSelectorMiddleware', u'mezzanine.core.middleware.SitePermissionMiddleware', u'mezzanine.pages.middleware.PageMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
STATIC_HOST | u'https://www.discoveralpigiulie.eu' |
TEMPLATE_LOADERS | (u'django.template.loaders.filesystem.Loader', u'django.template.loaders.app_directories.Loader') |
NEWS_FILTER | [u'Artegna', u'Bordano', u'Chiusaforte', u'Dogna', u'Forgaria', u'Gemona', u'Malborghetto', u'Valbruna', u'Moggio', u'Montenars', u'Pontebba', u'Resia', u'Resiutta', u'Tarvisio', u'Trasaghis', u'Venzone'] |
SETTINGS_MODULE | 'alpeadria.settings' |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
CMS_CUSTOM_APPS | [u'sito'] |
USE_X_FORWARDED_HOST | False |
COMPRESS_CSSTIDY_BINARY | u'csstidy' |
SESSION_COOKIE_SECURE | False |
PROJECT_DIRNAME | 'alpeadria' |
COMPRESS_DEBUG_TOGGLE | None |
EMAILS_SEGNALAZIONI | {u'comunitamontana': u'cm.pontebba@cm-pontebba.regione.fvg.it', u'parcoprealpigiulie': u'info@parcoprealpigiulie.it'} |
COMPRESS_VERBOSE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
OFFICIAL_HOST | u'https://www.discoveralpigiulie.eu' |
COMMENTS_APP | u'mezzanine.generic' |
SESSION_FILE_PATH | None |
COMPRESS_JS_FILTERS | [u'compressor.filters.jsmin.JSMinFilter'] |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | (u'mezzanine.boot', u'modeltranslation', u'django.contrib.auth', u'django.contrib.contenttypes', u'django.contrib.redirects', u'django.contrib.sessions', u'django.contrib.sites', u'django.contrib.sitemaps', u'django.contrib.staticfiles', u'cms', u'sito', u'mezzanine.conf', u'mezzanine.core', u'mezzanine.generic', u'mezzanine.forms', u'mezzanine.pages', u'mezzanine.galleries', u'mezzanine.twitter', u'compressor', u'filebrowser_safe', u'grappelli_safe', u'django.contrib.admin', u'django.contrib.comments') |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
USE_L10N | True |
COMMENTS_ALLOW_PROFANITIES | False |
COMPRESS_YUI_CSS_ARGUMENTS | u'' |
NEWS_RSS | [u'http://www.alpifriulane.com/it/eventi/list?format=feed&type=rss', u'http://www.turismofriuliveneziagiulia.it/RssEventi/Musica.aspx', u'http://www.turismofriuliveneziagiulia.it/RssEventi/sportnatura.aspx', u'http://www.turismofriuliveneziagiulia.it/RssEventi/teatro.aspx', u'http://www.turismofriuliveneziagiulia.it/RssEventi/Enogastronomia.aspx', u'http://www.turismofriuliveneziagiulia.it/RssEventi/congressi.aspx', u'http://www.turismofriuliveneziagiulia.it/RssEventi/fiere.aspx', u'http://www.turismofriuliveneziagiulia.it/RssEventi/sagre.aspx', u'http://www.turismofriuliveneziagiulia.it/RssEventi/visiteguidate.aspx', u'http://www.turismofriuliveneziagiulia.it/RssEventi/festival.aspx', u'http://www.turismofriuliveneziagiulia.it/RssEventi/Concorsi.aspx', u'http://www.turismofriuliveneziagiulia.it/RssEventi/Laboratori.aspx', u'http://www.turismofriuliveneziagiulia.it/RssEventi/interesselocale.aspx'] |
STATICFILES_DIRS | () |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
THUMBNAILS_DIR_NAME | u'thumbnails' |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
COMPRESS_STORAGE | u'compressor.storage.CompressorFileStorage' |
AUTH_USER_MODEL | 'auth.User' |
DATE_INPUT_FORMATS | (u'%d-%m-%Y', u'%d/%m/%Y') |
COMPRESS_CSS_FILTERS | [u'compressor.filters.css_default.CssAbsoluteFilter'] |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
EMAIL_HOST_PASSWORD | u'********************' |
AREE | ((u'parcoprealpigiulie', u'Parco prealpi Giulie'), (u'comunitamontana', u'Comunit\xe0 Montana')) |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
PACKAGE_NAME_FILEBROWSER | u'filebrowser_safe' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
NEWS_RSS_AUTHORS | [u'Alpi Friulane', u'Turismo FVG - Musica', u'Turismo FVG - Sport e Natura', u'Turismo FVG - Teatro', u'Turismo FVG - Enogastronomia', u'Turismo FVG - Congressi', u'Turismo FVG - Fiere', u'Turismo FVG - Sagre', u'Turismo FVG - Visite Guidate', u'Turismo FVG - Festival', u'Turismo FVG - Concorsi', u'Turismo FVG - Laboratori', u'Turismo FVG - Interesse Locale'] |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
COMPRESS_YUGLIFY_BINARY | u'yuglify' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
COMPRESS_CACHE_KEY_FUNCTION | u'********************' |
GRAPPELLI_INSTALLED | True |
PROJECT_ROOT | '/home/alessio/alpeadria/alpeadria' |
DECIMAL_SEPARATOR | '.' |
COMPRESS_PRECOMPILERS | () |
COMPRESS_MTIME_DELAY | 10 |
SITE_ID | 1 |
LOCALE_PATHS | (u'/home/alessio/alpeadria/locale',) |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
TEMPLATE_DIRS | (u'/home/alessio/alpeadria/alpeadria/templates',) |
LOGIN_REDIRECT_URL | u'/manage/pagine' |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
EXTRA_MODEL_FIELDS | ((u'mezzanine.pages.models.Page.indirizzo', u'CharField', (u'Indirizzo',), {u'blank': True, u'max_length': 500, u'null': True}), (u'mezzanine.pages.models.Page.lat', u'FloatField', (u'Latitudine',), {u'blank': True, u'null': True}), (u'mezzanine.pages.models.Page.lng', u'FloatField', (u'Longitudine',), {u'blank': True, u'null': True}), (u'mezzanine.pages.models.Page.event_date', u'DateTimeField', [], {u'blank': True, u'null': True})) |
MEDIA_ROOT | u'/home/alessio/alpeadria/alpeadria/static/media' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
COMPRESS_ROOT | u'/home/alessio/alpeadria/alpeadria/static' |
APP_TITLE | u'Discover Alpi Giulie' |
MEDIA_URL | u'/static/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
COMPRESS_YUI_JS_ARGUMENTS | u'' |
CKEDITOR_CONFIGS | {u'default': {u'extraAllowedContent': u'iframe[*]', u'height': 300, u'removePlugins': u'stylesheetparser', u'toolbar': u'Full', u'width': u'100%'}} |
COMPRESS_JS_COMPRESSOR | u'compressor.js.JsCompressor' |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
COMPRESS_MINT_DELAY | 30 |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEST_RUNNER | u'django.test.simple.DjangoTestSuiteRunner' |
COMPRESS_ENABLED | False |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
COMPRESS_OFFLINE | False |
TIME_ZONE | u'Europe/Rome' |
COMPRESS_OFFLINE_CONTEXT | {u'MEDIA_URL': u'/static/media/', u'STATIC_URL': u'/static/', u'settings': <function mezzanine_settings at 0x7f0ea16f6938>} |
COMPRESS_YUGLIFY_CSS_ARGUMENTS | u'--terminal' |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
COMPRESS_JINJA2_GET_ENVIRONMENT | None |
DEFAULT_TABLESPACE | '' |
TEMPLATE_CONTEXT_PROCESSORS | (u'django.contrib.auth.context_processors.auth', u'django.contrib.messages.context_processors.messages', u'django.core.context_processors.debug', u'django.core.context_processors.i18n', u'django.core.context_processors.static', u'django.core.context_processors.media', u'django.core.context_processors.request', u'django.core.context_processors.tz', u'mezzanine.conf.context_processors.settings', u'mezzanine.pages.context_processors.page') |
SESSION_COOKIE_AGE | 1209600 |
AVAILABLE_CHILD_MODELS | {u'folder': [u'Poi', u'Folder'], u'pagina': [u'Pagina', u'Foto', u'Documento'], u'poi': [u'Foto'], u'root': [u'Folder', u'Pagina']} |
USE_ETAGS | False |
LANGUAGES | ((u'it', u'Italian'), (u'de', u'Deutsch')) |
COMPRESS_CLOSURE_COMPILER_BINARY | u'java -jar compiler.jar' |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | () |
STATIC_URL | u'/static/' |
EMAIL_PORT | 25 |
USE_TZ | False |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
ABSOLUTE_URL_OVERRIDES | {} |
CACHE_MIDDLEWARE_SECONDS | 600 |
CSRF_COOKIE_HTTPONLY | False |
DATETIME_INPUT_FORMATS | (u'%d-%m-%Y %H:%M:%S', u'%d/%m/%Y %H:%M:%S') |
FORCE_SCRIPT_NAME | None |
RESULTS_PER_PAGE | 10 |
EMAIL_HOST_USER | '' |
PROFANITIES_LIST | u'********************' |
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 500 page.