Failed to match '(?P<D>\d{1,2})/(?P<MM>\d{2})/(?P<YYYY>\d{4})' when parsing '04%2F10%2F2019'
Request Method: | GET |
---|---|
Request URL: | https://www.i-ski.co.uk/resort/skiing-in-austria/ski-accommodation-in-austria/?star=all&accommodation_type=all&departing=LGW&country=2&flexibility=365&sauna=False&swimming_pool=False&from_date=04%252F10%252F2019&child_care=False&duration=7&per_page=10&hottub=False&close_to_slopes=False&children=0&adults=2&page=2&sort=2 |
Django Version: | 1.5.1 |
Exception Type: | ParserError |
Exception Value: | Failed to match '(?P<D>\d{1,2})/(?P<MM>\d{2})/(?P<YYYY>\d{4})' when parsing '04%2F10%2F2019' |
Exception Location: | /usr/lib/python2.6/site-packages/arrow/parser.py in parse, line 142 |
Python Executable: | /usr/bin/python |
Python Version: | 2.6.6 |
Python Path: | ['/projects', '/projects/iski', '/usr/bin', '/usr/lib/python2.6/site-packages/filebrowser_safe-0.5.0-py2.6.egg', '/usr/lib64/python26.zip', '/usr/lib64/python2.6', '/usr/lib64/python2.6/plat-linux2', '/usr/lib64/python2.6/lib-tk', '/usr/lib64/python2.6/lib-old', '/usr/lib64/python2.6/lib-dynload', '/usr/lib64/python2.6/site-packages', '/usr/lib64/python2.6/site-packages/PIL', '/usr/lib/python2.6/site-packages', '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info'] |
Server time: | Fri, 29 Mar 2024 16:06:50 +0000 |
/usr/lib/python2.6/site-packages/django/core/handlers/base.py
in get_response
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
try:
response = callback(request, *callback_args, **callback_kwargs)...
except Exception as e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
e | ParserError(u"Failed to match '(?P<D>\\d{1,2})/(?P<MM>\\d{2})/(?P<YYYY>\\d{4})' when parsing '04%2F10%2F2019'",) |
callback_args | () |
resolver_match | ResolverMatch(func=<function country_ski_accommodation at 0x4f288c0>, args=(), kwargs={'country_slug': u'austria', 'country_slug2': u'austria'}, url_name='country-ski-accommodation', app_name='None', namespace='') |
middleware_method | <bound method PageMiddleware.process_view of <mezzanine.pages.middleware.PageMiddleware object at 0x3a73d90>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x263ced0> |
request | '<WSGIRequest\npath:/resort/skiing-in-austria/ski-accommodation-in-austria/,\nGET:<QueryDict: {u\'sort\': [u\'2\'], u\'star\': [u\'all\'], u\'accommodation_type\': [u\'all\'], u\'departing\': [u\'LGW\'], u\'country\': [u\'2\'], u\'page\': [u\'2\'], u\'from_date\': [u\'04%2F10%2F2019\'], u\'sauna\': [u\'False\'], u\'swimming_pool\': [u\'False\'], u\'flexibility\': [u\'365\'], u\'child_care\': [u\'False\'], u\'duration\': [u\'7\'], u\'per_page\': [u\'10\'], u\'hottub\': [u\'False\'], u\'close_to_slopes\': [u\'False\'], u\'children\': [u\'0\'], u\'adults\': [u\'2\']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u\'CSRF_COOKIE\': u\'duGyTgStMuar01JCkENn86mRd5lZ7Yf6\',\n \'HTTP_ACCEPT\': \'*/*\',\n \'HTTP_ACCEPT_ENCODING\': \'gzip, br\',\n \'HTTP_CDN_LOOP\': \'cloudflare\',\n \'HTTP_CF_CONNECTING_IP\': \'3.236.64.8\',\n \'HTTP_CF_IPCOUNTRY\': \'US\',\n \'HTTP_CF_RAY\': \'86c10fa66c5a20ac-IAD\',\n \'HTTP_CF_VISITOR\': \'{"scheme":"https"}\',\n \'HTTP_CONNECTION\': \'close\',\n \'HTTP_HOST\': \'www.i-ski.co.uk\',\n \'HTTP_USER_AGENT\': \'claudebot\',\n \'HTTP_X_FORWARDED_FOR\': \'3.236.64.8, 172.71.222.27\',\n \'HTTP_X_FORWARDED_PROTO\': \'https\',\n \'HTTP_X_REAL_IP\': \'172.71.222.27\',\n \'PATH_INFO\': u\'/resort/skiing-in-austria/ski-accommodation-in-austria/\',\n \'QUERY_STRING\': \'star=all&accommodation_type=all&departing=LGW&country=2&flexibility=365&sauna=False&swimming_pool=False&from_date=04%252F10%252F2019&child_care=False&duration=7&per_page=10&hottub=False&close_to_slopes=False&children=0&adults=2&page=2&sort=2\',\n \'RAW_URI\': \'/resort/skiing-in-austria/ski-accommodation-in-austria/?star=all&accommodation_type=all&departing=LGW&country=2&flexibility=365&sauna=False&swimming_pool=False&from_date=04%252F10%252F2019&child_care=False&duration=7&per_page=10&hottub=False&close_to_slopes=False&children=0&adults=2&page=2&sort=2\',\n \'REMOTE_ADDR\': \'172.71.222.27\',\n \'REMOTE_PORT\': \'80\',\n \'REQUEST_METHOD\': \'GET\',\n \'SCRIPT_NAME\': u\'\',\n \'SERVER_NAME\': \'www.i-ski.co.uk\',\n \'SERVER_PORT\': \'443\',\n \'SERVER_PROTOCOL\': \'HTTP/1.0\',\n \'SERVER_SOFTWARE\': \'gunicorn/17.5\',\n \'gunicorn.socket\': <socket._socketobject object at 0x66f18a0>,\n \'wsgi.errors\': <open file \'<stderr>\', mode \'w\' at 0x7f5076fa01e0>,\n \'wsgi.file_wrapper\': <class gunicorn.http.wsgi.FileWrapper at 0x25ead70>,\n \'wsgi.input\': <gunicorn.http.body.Body object at 0xa834910>,\n \'wsgi.multiprocess\': True,\n \'wsgi.multithread\': False,\n \'wsgi.run_once\': False,\n \'wsgi.url_scheme\': \'https\',\n \'wsgi.version\': (1, 0)}>' |
callback | <function country_ski_accommodation at 0x4f288c0> |
resolver | <RegexURLResolver 'iski.urls' (None:None) ^/> |
callback_kwargs | {'country_slug': u'austria', 'country_slug2': u'austria'} |
response | None |
urlconf | 'iski.urls' |
/projects/iski/resort/views.py
in country_ski_accommodation
'needs_redirect': needs_redirect
}
def country_ski_accommodation(request, country_slug, country_slug2):
country = Country.objects.get(slug=country_slug)
page_title = "Ski Accommodation in "
form_data = get_form_data(request, country.id, None, "all")...
# if form_data.get('needs_redirect'):
# return prepared_redirect(request, form_data, country.id, resort.id)
# else:
# del form_data['needs_redirect']
form = SearchForm(form_data)
Variable | Value |
---|---|
country | <Country: Austria> |
page_title | 'Ski Accommodation in ' |
country_slug | u'austria' |
request | '<WSGIRequest\npath:/resort/skiing-in-austria/ski-accommodation-in-austria/,\nGET:<QueryDict: {u\'sort\': [u\'2\'], u\'star\': [u\'all\'], u\'accommodation_type\': [u\'all\'], u\'departing\': [u\'LGW\'], u\'country\': [u\'2\'], u\'page\': [u\'2\'], u\'from_date\': [u\'04%2F10%2F2019\'], u\'sauna\': [u\'False\'], u\'swimming_pool\': [u\'False\'], u\'flexibility\': [u\'365\'], u\'child_care\': [u\'False\'], u\'duration\': [u\'7\'], u\'per_page\': [u\'10\'], u\'hottub\': [u\'False\'], u\'close_to_slopes\': [u\'False\'], u\'children\': [u\'0\'], u\'adults\': [u\'2\']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u\'CSRF_COOKIE\': u\'duGyTgStMuar01JCkENn86mRd5lZ7Yf6\',\n \'HTTP_ACCEPT\': \'*/*\',\n \'HTTP_ACCEPT_ENCODING\': \'gzip, br\',\n \'HTTP_CDN_LOOP\': \'cloudflare\',\n \'HTTP_CF_CONNECTING_IP\': \'3.236.64.8\',\n \'HTTP_CF_IPCOUNTRY\': \'US\',\n \'HTTP_CF_RAY\': \'86c10fa66c5a20ac-IAD\',\n \'HTTP_CF_VISITOR\': \'{"scheme":"https"}\',\n \'HTTP_CONNECTION\': \'close\',\n \'HTTP_HOST\': \'www.i-ski.co.uk\',\n \'HTTP_USER_AGENT\': \'claudebot\',\n \'HTTP_X_FORWARDED_FOR\': \'3.236.64.8, 172.71.222.27\',\n \'HTTP_X_FORWARDED_PROTO\': \'https\',\n \'HTTP_X_REAL_IP\': \'172.71.222.27\',\n \'PATH_INFO\': u\'/resort/skiing-in-austria/ski-accommodation-in-austria/\',\n \'QUERY_STRING\': \'star=all&accommodation_type=all&departing=LGW&country=2&flexibility=365&sauna=False&swimming_pool=False&from_date=04%252F10%252F2019&child_care=False&duration=7&per_page=10&hottub=False&close_to_slopes=False&children=0&adults=2&page=2&sort=2\',\n \'RAW_URI\': \'/resort/skiing-in-austria/ski-accommodation-in-austria/?star=all&accommodation_type=all&departing=LGW&country=2&flexibility=365&sauna=False&swimming_pool=False&from_date=04%252F10%252F2019&child_care=False&duration=7&per_page=10&hottub=False&close_to_slopes=False&children=0&adults=2&page=2&sort=2\',\n \'REMOTE_ADDR\': \'172.71.222.27\',\n \'REMOTE_PORT\': \'80\',\n \'REQUEST_METHOD\': \'GET\',\n \'SCRIPT_NAME\': u\'\',\n \'SERVER_NAME\': \'www.i-ski.co.uk\',\n \'SERVER_PORT\': \'443\',\n \'SERVER_PROTOCOL\': \'HTTP/1.0\',\n \'SERVER_SOFTWARE\': \'gunicorn/17.5\',\n \'gunicorn.socket\': <socket._socketobject object at 0x66f18a0>,\n \'wsgi.errors\': <open file \'<stderr>\', mode \'w\' at 0x7f5076fa01e0>,\n \'wsgi.file_wrapper\': <class gunicorn.http.wsgi.FileWrapper at 0x25ead70>,\n \'wsgi.input\': <gunicorn.http.body.Body object at 0xa834910>,\n \'wsgi.multiprocess\': True,\n \'wsgi.multithread\': False,\n \'wsgi.run_once\': False,\n \'wsgi.url_scheme\': \'https\',\n \'wsgi.version\': (1, 0)}>' |
country_slug2 | u'austria' |
/projects/iski/resort/views.py
in get_form_data
def get_form_data(request, country_id, resort_id, accommodation_id, is_not_a_landing_page=True):
needs_redirect = False
if not request.GET.get('from_date', None):
from_date = arrow.now().replace(weeks=+2).datetime
else:
from_date = arrow.get(request.GET.get('from_date'),'D/MM/YYYY').datetime...
needs_redirect = True
flex = request.GET.get('flexibility', None)
duration = request.GET.get('duration', None)
adults = request.GET.get('adults', None)
children = request.GET.get('children', None)
Variable | Value |
---|---|
needs_redirect | False |
request | '<WSGIRequest\npath:/resort/skiing-in-austria/ski-accommodation-in-austria/,\nGET:<QueryDict: {u\'sort\': [u\'2\'], u\'star\': [u\'all\'], u\'accommodation_type\': [u\'all\'], u\'departing\': [u\'LGW\'], u\'country\': [u\'2\'], u\'page\': [u\'2\'], u\'from_date\': [u\'04%2F10%2F2019\'], u\'sauna\': [u\'False\'], u\'swimming_pool\': [u\'False\'], u\'flexibility\': [u\'365\'], u\'child_care\': [u\'False\'], u\'duration\': [u\'7\'], u\'per_page\': [u\'10\'], u\'hottub\': [u\'False\'], u\'close_to_slopes\': [u\'False\'], u\'children\': [u\'0\'], u\'adults\': [u\'2\']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u\'CSRF_COOKIE\': u\'duGyTgStMuar01JCkENn86mRd5lZ7Yf6\',\n \'HTTP_ACCEPT\': \'*/*\',\n \'HTTP_ACCEPT_ENCODING\': \'gzip, br\',\n \'HTTP_CDN_LOOP\': \'cloudflare\',\n \'HTTP_CF_CONNECTING_IP\': \'3.236.64.8\',\n \'HTTP_CF_IPCOUNTRY\': \'US\',\n \'HTTP_CF_RAY\': \'86c10fa66c5a20ac-IAD\',\n \'HTTP_CF_VISITOR\': \'{"scheme":"https"}\',\n \'HTTP_CONNECTION\': \'close\',\n \'HTTP_HOST\': \'www.i-ski.co.uk\',\n \'HTTP_USER_AGENT\': \'claudebot\',\n \'HTTP_X_FORWARDED_FOR\': \'3.236.64.8, 172.71.222.27\',\n \'HTTP_X_FORWARDED_PROTO\': \'https\',\n \'HTTP_X_REAL_IP\': \'172.71.222.27\',\n \'PATH_INFO\': u\'/resort/skiing-in-austria/ski-accommodation-in-austria/\',\n \'QUERY_STRING\': \'star=all&accommodation_type=all&departing=LGW&country=2&flexibility=365&sauna=False&swimming_pool=False&from_date=04%252F10%252F2019&child_care=False&duration=7&per_page=10&hottub=False&close_to_slopes=False&children=0&adults=2&page=2&sort=2\',\n \'RAW_URI\': \'/resort/skiing-in-austria/ski-accommodation-in-austria/?star=all&accommodation_type=all&departing=LGW&country=2&flexibility=365&sauna=False&swimming_pool=False&from_date=04%252F10%252F2019&child_care=False&duration=7&per_page=10&hottub=False&close_to_slopes=False&children=0&adults=2&page=2&sort=2\',\n \'REMOTE_ADDR\': \'172.71.222.27\',\n \'REMOTE_PORT\': \'80\',\n \'REQUEST_METHOD\': \'GET\',\n \'SCRIPT_NAME\': u\'\',\n \'SERVER_NAME\': \'www.i-ski.co.uk\',\n \'SERVER_PORT\': \'443\',\n \'SERVER_PROTOCOL\': \'HTTP/1.0\',\n \'SERVER_SOFTWARE\': \'gunicorn/17.5\',\n \'gunicorn.socket\': <socket._socketobject object at 0x66f18a0>,\n \'wsgi.errors\': <open file \'<stderr>\', mode \'w\' at 0x7f5076fa01e0>,\n \'wsgi.file_wrapper\': <class gunicorn.http.wsgi.FileWrapper at 0x25ead70>,\n \'wsgi.input\': <gunicorn.http.body.Body object at 0xa834910>,\n \'wsgi.multiprocess\': True,\n \'wsgi.multithread\': False,\n \'wsgi.run_once\': False,\n \'wsgi.url_scheme\': \'https\',\n \'wsgi.version\': (1, 0)}>' |
country_id | 2 |
is_not_a_landing_page | True |
accommodation_id | 'all' |
resort_id | None |
/usr/lib/python2.6/site-packages/arrow/api.py
in get
def get(*args, **kwargs):
''' Implements the default :class:`ArrowFactory <arrow.factory.ArrowFactory>`
``get`` method.
'''
return _factory.get(*args, **kwargs)...
def utcnow():
''' Implements the default :class:`ArrowFactory <arrow.factory.ArrowFactory>`
``utcnow`` method.
'''
Variable | Value |
---|---|
args | (u'04%2F10%2F2019', 'D/MM/YYYY') |
kwargs | {} |
/usr/lib/python2.6/site-packages/arrow/factory.py
in get
return self.type.fromdate(arg_1, tzinfo=arg_2)
else:
raise TypeError('Can\'t parse two arguments of types \'date\', \'{0}\''.format(
type(arg_2)))
# (str, format) -> parse.
elif isstr(arg_1) and (isstr(arg_2) or isinstance(arg_2, list)):
dt = parser.DateTimeParser(locale).parse(args[0], args[1])...
return self.type.fromdatetime(dt, tzinfo=tz)
else:
raise TypeError('Can\'t parse two arguments of types \'{0}\', \'{1}\''.format(
type(arg_1), type(arg_2)))
Variable | Value |
---|---|
tz | None |
locale | 'en_us' |
arg_count | 2 |
self | <arrow.factory.ArrowFactory object at 0x42e8f50> |
args | (u'04%2F10%2F2019', 'D/MM/YYYY') |
kwargs | {} |
arg_1 | u'04%2F10%2F2019' |
arg_2 | 'D/MM/YYYY' |
/usr/lib/python2.6/site-packages/arrow/parser.py
in parse
# it replaces! We keep the difference in the offset variable.
# This works because the string is scanned left-to-right and matches
# are returned in the order found by finditer.
fmt_pattern = fmt_pattern[:m.start() + offset] + input_pattern + fmt_pattern[m.end() + offset:]
offset += len(input_pattern) - (m.end() - m.start())
match = re.search(fmt_pattern, string, flags=re.IGNORECASE)
if match is None:
raise ParserError('Failed to match \'{0}\' when parsing \'{1}\''.format(fmt_pattern, string))...
parts = {}
for token in tokens:
if token == 'Do':
value = match.group('value')
else:
value = match.group(token)
Variable | Value |
---|---|
input_pattern | u'(?P<YYYY>\\d{4})' |
string | u'04%2F10%2F2019' |
fmt | 'D/MM/YYYY' |
m | <_sre.SRE_Match object at 0x6c687b0> |
tokens | ['D', 'MM', 'YYYY'] |
fmt_pattern | u'(?P<D>\\d{1,2})/(?P<MM>\\d{2})/(?P<YYYY>\\d{4})' |
token | 'YYYY' |
input_re | <_sre.SRE_Pattern object at 0x4217f08> |
offset | 35 |
self | <arrow.parser.DateTimeParser object at 0x52213d0> |
match | None |
Variable | Value |
---|---|
sort | u'2' |
star | u'all' |
accommodation_type | u'all' |
departing | u'LGW' |
country | u'2' |
page | u'2' |
from_date | u'04%2F10%2F2019' |
sauna | u'False' |
swimming_pool | u'False' |
flexibility | u'365' |
child_care | u'False' |
duration | u'7' |
per_page | u'10' |
hottub | u'False' |
close_to_slopes | u'False' |
children | u'0' |
adults | u'2' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_CF_VISITOR | '{"scheme":"https"}' |
HTTP_CF_IPCOUNTRY | 'US' |
HTTP_X_FORWARDED_PROTO | 'https' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/17.5' |
SCRIPT_NAME | u'' |
HTTP_CDN_LOOP | 'cloudflare' |
wsgi.input | <gunicorn.http.body.Body object at 0xa834910> |
REQUEST_METHOD | 'GET' |
HTTP_HOST | 'www.i-ski.co.uk' |
PATH_INFO | u'/resort/skiing-in-austria/ski-accommodation-in-austria/' |
wsgi.multithread | False |
QUERY_STRING | 'star=all&accommodation_type=all&departing=LGW&country=2&flexibility=365&sauna=False&swimming_pool=False&from_date=04%252F10%252F2019&child_care=False&duration=7&per_page=10&hottub=False&close_to_slopes=False&children=0&adults=2&page=2&sort=2' |
HTTP_CONNECTION | 'close' |
HTTP_CF_RAY | '86c10fa66c5a20ac-IAD' |
HTTP_CF_CONNECTING_IP | '3.236.64.8' |
HTTP_X_REAL_IP | '172.71.222.27' |
HTTP_ACCEPT | '*/*' |
HTTP_USER_AGENT | 'claudebot' |
wsgi.version | (1, 0) |
REMOTE_PORT | '80' |
RAW_URI | '/resort/skiing-in-austria/ski-accommodation-in-austria/?star=all&accommodation_type=all&departing=LGW&country=2&flexibility=365&sauna=False&swimming_pool=False&from_date=04%252F10%252F2019&child_care=False&duration=7&per_page=10&hottub=False&close_to_slopes=False&children=0&adults=2&page=2&sort=2' |
REMOTE_ADDR | '172.71.222.27' |
wsgi.run_once | False |
wsgi.errors | <open file '<stderr>', mode 'w' at 0x7f5076fa01e0> |
wsgi.multiprocess | True |
wsgi.url_scheme | 'https' |
gunicorn.socket | <socket._socketobject object at 0x66f18a0> |
SERVER_NAME | 'www.i-ski.co.uk' |
SERVER_PORT | '443' |
HTTP_X_FORWARDED_FOR | '3.236.64.8, 172.71.222.27' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'duGyTgStMuar01JCkENn86mRd5lZ7Yf6' |
HTTP_ACCEPT_ENCODING | 'gzip, br' |
iski.settings
Setting | Value |
---|---|
TESTING | False |
DEV_SERVER | False |
TINYMCE_JS_ROOT | '/projects/iski/static/grappelli/tinymce/jscripts/tiny_mce/' |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en' |
ROOT_URLCONF | 'iski.urls' |
MANAGERS | (('Mike Hibbert', '[email protected]'),) |
BASE_DIR | '/projects' |
DEFAULT_CHARSET | 'utf-8' |
STATIC_ROOT | '/projects/iski/static' |
ALLOWED_HOSTS | ['95.138.170.145', '.i-ski.co.uk.', 'www.i-ski.co.uk', '127.0.0.1', '*'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.cookie.CookieStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
PACKAGE_NAME_GRAPPELLI | 'grappelli_safe' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
DATABASES | {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '', 'NAME': 'iski', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'UTC', 'USER': 'chris'}} |
TEMPLATE_DEBUG | True |
FILE_UPLOAD_PERMISSIONS | None |
GOOGLE_RECAPTCHA_SECRET_KEY | u'********************' |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
WHOOSH_INDEX | '/projects/iski/whoosh/' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.dummy.DummyCache'}} |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
YEAR_MONTH_FORMAT | 'F Y' |
MIDDLEWARE_CLASSES | (u'raven.contrib.django.middleware.SentryMiddleware', 'mezzanine.core.middleware.UpdateCacheMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'mezzanine.core.request.CurrentRequestMiddleware', 'mezzanine.core.middleware.TemplateForDeviceMiddleware', 'mezzanine.core.middleware.TemplateForHostMiddleware', 'mezzanine.core.middleware.AdminLoginInterfaceSelectorMiddleware', 'mezzanine.core.middleware.SitePermissionMiddleware', 'mezzanine.core.middleware.SSLRedirectMiddleware', 'mezzanine.pages.middleware.PageMiddleware', 'mezzanine.core.middleware.FetchFromCacheMiddleware') |
USE_I18N | False |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
GRAPPELLI_ADMIN_HEADLINE | 'Mezzanine' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
WSGI_APPLICATION | None |
EMAIL_TO | '[email protected]' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
HAYSTACK_CONNECTIONS | {'default': {'ENGINE': 'haystack.backends.whoosh_backend.WhooshEngine', 'PATH': '/projects/iski/whoosh/'}} |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
PROJECT_DIRNAME | 'iski' |
USE_SOUTH | True |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
COMMENTS_APP | 'mezzanine.generic' |
SESSION_FILE_PATH | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('mezzanine.boot', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.redirects', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.sitemaps', 'django.contrib.staticfiles', 'mezzanine.conf', 'mezzanine.core', 'mezzanine.generic', 'mezzanine.blog', 'mezzanine.forms', 'mezzanine.pages', 'mezzanine.galleries', 'mezzanine.twitter', 'search', 'property', 'home', 'resort', 'snowreport', 'offer', 'sitesearch', 'enquire', 'whoosh', 'haystack', 'raven.contrib.django.raven_compat', 'filebrowser_safe', 'south', 'grappelli_safe', 'django.contrib.admin', 'django.contrib.comments') |
COMP_ID | 8 |
LANGUAGES | (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) |
USE_L10N | False |
COMMENTS_ALLOW_PROFANITIES | False |
STATICFILES_DIRS | () |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | ('HTTP_X_FORWARDED_PROTOCOL', 'https') |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | True |
RAVEN_CONFIG | {'dsn': 'https://3f81fc5b2d0f455fb2e68cf7e0ac8940:[email protected]/219981'} |
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') |
AUTHENTICATION_BACKENDS | ('mezzanine.core.auth_backends.MezzanineBackend',) |
EMAIL_HOST_PASSWORD | u'********************' |
PACKAGE_NAME_FILEBROWSER | 'filebrowser_safe' |
GRAPPELLI_ADMIN_TITLE | 'Mezzanine' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
ADMIN_MEDIA_PREFIX | '/static/grappelli/' |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
PAGE_MENU_TEMPLATES | ((1, 'Top navigation bar', 'pages/menus/header_nav.html'), (2, 'Sub nav', 'pages/menus/header_subnav.html'), (3, 'Footer', 'pages/menus/footer.html')) |
GRAPPELLI_INSTALLED | True |
PROJECT_ROOT | '/projects/iski' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | True |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
FIXTURE_DIRS | () |
EMAIL_HOST | 'cloud314.thundercloud.uk' |
DATE_FORMAT | 'N j, Y' |
PIPELINE | {'JAVASCRIPT': {'app_pipelined': {'output_filename': '/projects/iski/static/js/app_pipelined.js', 'source_filenames': ('js/modernizr-2.0.min.js', 'js/jquery-2.2.4.min.js', 'js/jquery-1.6.2.min.js', 'jquery-ui-1.11.4/jquery-ui.js', 'js/jquery.fancybox.pack.js', 'js/lightslider.min.js', 'js/slideshow.js', 'js/jquery.slimmenu.min.js', 'js/mobile.js', 'js/script.min.js')}}, 'PIPELINE_ENABLED': True, 'STYLESHEETS': {'app_pipelined': {'output_filename': '/projects/iski/static/css/app_pipelined.css', 'source_filenames': ('css/master.css', 'css/mobile-search.css', 'css/jquery.fancybox.css', 'css/jquery-ui-1.8.16.custom.css')}}, 'YUGLIFY_BINARY': '/projects/iski/node_modules/yuglify/bin/yuglify'} |
OPTIONAL_APPS | ('compressor', 'filebrowser_safe', 'grappelli_safe') |
MEDIA_ROOT | '/projects/iski/static/media' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | (('Mike Hibbert', '[email protected]'),) |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | '[email protected]' |
MEDIA_URL | '/static/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('/projects/iski/templates',) |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {'disable_existing_loggers': True, 'formatters': {'verbose': {'format': '%(asctime)s %(levelname)s [%(name)s:%(lineno)s] %(module)s %(process)d %(thread)d %(message)s'}}, 'handlers': {'gunicorn': {'class': 'logging.handlers.RotatingFileHandler', 'filename': '/projects/iski/logs/gunicorn.errors', 'formatter': 'verbose', 'level': 'DEBUG', 'maxBytes': 104857600}}, 'loggers': {'gunicorn.errors': {'handlers': ['gunicorn'], 'level': 'DEBUG', 'propagate': True}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
COMPRESS_ENABLED | False |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
TIME_ZONE | None |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
DEFAULT_TABLESPACE | '' |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.static', 'django.core.context_processors.media', 'django.core.context_processors.request', 'django.core.context_processors.tz', 'mezzanine.conf.context_processors.settings', 'search.context_processors.search', 'home.context_processors.site_vars', 'home.context_processors.debug') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'iski.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | ('127.0.0.1',) |
STATIC_URL | '/static/' |
EMAIL_PORT | 587 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
SEARCH_IP | '87.102.127.86:8087' |
CACHE_MIDDLEWARE_SECONDS | 600 |
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') |
EMAIL_HOST_USER | '[email protected]' |
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.