'decimal' codec can't encode character u'\u200e' in position 2: invalid decimal Unicode string
Request Method: | GET |
---|---|
Request URL: | http://www.rvppress.com/books/18%E2%80%8E |
Django Version: | 1.4.2 |
Exception Type: | UnicodeEncodeError |
Exception Value: | 'decimal' codec can't encode character u'\u200e' in position 2: invalid decimal Unicode string |
Exception Location: | /usr/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py in get_prep_value, line 537 |
Python Executable: | /usr/local/bin/uwsgi-2.7 |
Python Version: | 2.7.16 |
Python Path: | ['/web/sites/rvppress.com/UvP/', '/web/sites/rvppress.com/', '.', '', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-freebsd11', '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/site-packages', '/usr/local/lib/python2.7/site-packages/PIL'] |
Server time: | Thu, 28 Mar 2024 15:11:51 +0100 |
The string that could not be encoded/decoded was: 18
/usr/local/lib/python2.7/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, 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 |
---|---|
exceptions | <module 'django.core.exceptions' from '/usr/local/lib/python2.7/site-packages/django/core/exceptions.pyc'> |
e | UnicodeEncodeError('decimal', u'18\u200e', 2, 3, 'invalid decimal Unicode string') |
callback_args | () |
settings | <django.conf.LazySettings object at 0x8033270d0> |
middleware_method | <bound method XViewMiddleware.process_view of <django.middleware.doc.XViewMiddleware object at 0x80655dc90>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x8008a0050> |
request | "<WSGIRequest\npath:/books/18\xe2\x80\x8e,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/web/sites/rvdm.com/www',\n 'CONTEXT_PREFIX': '',\n 'DOCUMENT_ROOT': '/web/sites/rvdm.com/www',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'www.rvppress.com',\n 'HTTP_USER_AGENT': 'claudebot',\n 'LD_LIBRARY_PATH': '/usr/local/lib:/usr/local/lib',\n 'PATH': '/sbin:/bin:/usr/sbin:/usr/bin',\n 'PATH_INFO': u'/books/18\\u200e',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '35.173.233.176',\n 'REMOTE_PORT': '36124',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/books/18%E2%80%8E',\n 'SCRIPT_FILENAME': 'proxy:uwsgi://kip/books/18\\xe2\\x80\\x8e',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '116.203.150.211',\n 'SERVER_ADMIN': 'you@example.com',\n 'SERVER_NAME': 'www.rvppress.com',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '',\n 'SERVER_SOFTWARE': 'Apache/2.4.39 (FreeBSD) OpenSSL/1.0.2s-freebsd PHP/5.6.40',\n 'uwsgi.core': 6,\n 'uwsgi.node': 'php56.webtic.nl',\n 'uwsgi.version': '2.0.16',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x8064e84b0>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x8007c2f00>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function book at 0x808a24f50> |
resolver | <RegexURLResolver UvP.urls (None:None) ^/> |
urlresolvers | <module 'django.core.urlresolvers' from '/usr/local/lib/python2.7/site-packages/django/core/urlresolvers.pyc'> |
callback_kwargs | {'book': u'18\u200e'} |
response | None |
urlconf | 'UvP.urls' |
/web/sites/rvppress.com/UvP/website/views.py
in book
else:
return HttpResponseNotFound("What context?")
def book(request, book):
if book:
book = Book.objects.filter(id=book)[0]...
auteurs = []
for a in book.authors.all():
auteurs.append(a.name)
auteurs = ", ".join(auteurs)
else:
books = Book.objects.all()
Variable | Value |
---|---|
book | u'18\u200e' |
request | "<WSGIRequest\npath:/books/18\xe2\x80\x8e,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTEXT_DOCUMENT_ROOT': '/web/sites/rvdm.com/www',\n 'CONTEXT_PREFIX': '',\n 'DOCUMENT_ROOT': '/web/sites/rvdm.com/www',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'www.rvppress.com',\n 'HTTP_USER_AGENT': 'claudebot',\n 'LD_LIBRARY_PATH': '/usr/local/lib:/usr/local/lib',\n 'PATH': '/sbin:/bin:/usr/sbin:/usr/bin',\n 'PATH_INFO': u'/books/18\\u200e',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '35.173.233.176',\n 'REMOTE_PORT': '36124',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/books/18%E2%80%8E',\n 'SCRIPT_FILENAME': 'proxy:uwsgi://kip/books/18\\xe2\\x80\\x8e',\n 'SCRIPT_NAME': u'',\n 'SERVER_ADDR': '116.203.150.211',\n 'SERVER_ADMIN': 'you@example.com',\n 'SERVER_NAME': 'www.rvppress.com',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '',\n 'SERVER_SOFTWARE': 'Apache/2.4.39 (FreeBSD) OpenSSL/1.0.2s-freebsd PHP/5.6.40',\n 'uwsgi.core': 6,\n 'uwsgi.node': 'php56.webtic.nl',\n 'uwsgi.version': '2.0.16',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x8064e84b0>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x8007c2f00>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
/usr/local/lib/python2.7/site-packages/django/db/models/manager.py
in filter
def create(self, **kwargs):
return self.get_query_set().create(**kwargs)
def bulk_create(self, *args, **kwargs):
return self.get_query_set().bulk_create(*args, **kwargs)
def filter(self, *args, **kwargs):
return self.get_query_set().filter(*args, **kwargs)...
def aggregate(self, *args, **kwargs):
return self.get_query_set().aggregate(*args, **kwargs)
def annotate(self, *args, **kwargs):
return self.get_query_set().annotate(*args, **kwargs)
Variable | Value |
---|---|
self | <django.db.models.manager.Manager object at 0x808a40250> |
args | () |
kwargs | {'id': u'18\u200e'} |
/usr/local/lib/python2.7/site-packages/django/db/models/query.py
in filter
return self._clone()
def filter(self, *args, **kwargs):
"""
Returns a new QuerySet instance with the args ANDed to the existing
set.
"""
return self._filter_or_exclude(False, *args, **kwargs)...
def exclude(self, *args, **kwargs):
"""
Returns a new QuerySet instance with NOT (args) ANDed to the existing
set.
"""
Variable | Value |
---|---|
self | [<Book: The Post-war Restitution of Property Rights in Europe>, <Book: The Neglected Duty>, <Book: The Truth About the Wunderwaffe>, <Book: To Hell in a Handbasket>, <Book: Demonizing Israel and the Jews>, <Book: Back to the Afterlife>, <Book: Israel's New Future, Revisited>, <Book: Historia Discordia>, <Book: I Sleep in Hitler's Room>, <Book: The War of a Million Cuts>, <Book: Preparing for Contact>, <Book: Project Palestine>, <Book: No One Bears Witness for the Witness>, <Book: Operation Mural>, <Book: Framing Israel>, <Book: Zionism: An Indigenous Struggle>, <Book: Jewish Masochism from Abraham the Patriarch to Woody Allen and Other Essays>] |
args | () |
kwargs | {'id': u'18\u200e'} |
/usr/local/lib/python2.7/site-packages/django/db/models/query.py
in _filter_or_exclude
assert self.query.can_filter(), \
"Cannot filter a query once a slice has been taken."
clone = self._clone()
if negate:
clone.query.add_q(~Q(*args, **kwargs))
else:
clone.query.add_q(Q(*args, **kwargs))...
return clone
def complex_filter(self, filter_obj):
"""
Returns a new QuerySet instance with filter_obj added to the filters.
Variable | Value |
---|---|
negate | False |
clone | [<Book: The Post-war Restitution of Property Rights in Europe>, <Book: The Neglected Duty>, <Book: The Truth About the Wunderwaffe>, <Book: To Hell in a Handbasket>, <Book: Demonizing Israel and the Jews>, <Book: Back to the Afterlife>, <Book: Israel's New Future, Revisited>, <Book: Historia Discordia>, <Book: I Sleep in Hitler's Room>, <Book: The War of a Million Cuts>, <Book: Preparing for Contact>, <Book: Project Palestine>, <Book: No One Bears Witness for the Witness>, <Book: Operation Mural>, <Book: Framing Israel>, <Book: Zionism: An Indigenous Struggle>, <Book: Jewish Masochism from Abraham the Patriarch to Woody Allen and Other Essays>] |
args | () |
self | [<Book: The Post-war Restitution of Property Rights in Europe>, <Book: The Neglected Duty>, <Book: The Truth About the Wunderwaffe>, <Book: To Hell in a Handbasket>, <Book: Demonizing Israel and the Jews>, <Book: Back to the Afterlife>, <Book: Israel's New Future, Revisited>, <Book: Historia Discordia>, <Book: I Sleep in Hitler's Room>, <Book: The War of a Million Cuts>, <Book: Preparing for Contact>, <Book: Project Palestine>, <Book: No One Bears Witness for the Witness>, <Book: Operation Mural>, <Book: Framing Israel>, <Book: Zionism: An Indigenous Struggle>, <Book: Jewish Masochism from Abraham the Patriarch to Woody Allen and Other Essays>] |
kwargs | {'id': u'18\u200e'} |
/usr/local/lib/python2.7/site-packages/django/db/models/sql/query.py
in add_q
self.having.start_subtree(connector)
else:
self.where.start_subtree(connector)
if isinstance(child, Node):
self.add_q(child, used_aliases, force_having=force_having)
else:
self.add_filter(child, connector, q_object.negated,
can_reuse=used_aliases, force_having=force_having)...
if force_having:
self.having.end_subtree()
else:
self.where.end_subtree()
if connector == OR:
Variable | Value |
---|---|
used_aliases | set([]) |
force_having | False |
q_object | <django.db.models.query_utils.Q object at 0x80a106810> |
self | <django.db.models.sql.query.Query object at 0x80ce4ab10> |
subtree | False |
connector | 'AND' |
child | ('id', u'18\u200e') |
/usr/local/lib/python2.7/site-packages/django/db/models/sql/query.py
in add_filter
if having_clause or force_having:
if (alias, col) not in self.group_by:
self.group_by.append((alias, col))
self.having.add((Constraint(alias, col, field), lookup_type, value),
connector)
else:
self.where.add((Constraint(alias, col, field), lookup_type, value),
connector)...
if negate:
self.promote_alias_chain(join_list)
if lookup_type != 'isnull':
if len(join_list) > 1:
for alias in join_list:
Variable | Value |
---|---|
having_clause | False |
trim | False |
num_parts | 1 |
arg | 'id' |
negate | False |
connector | 'AND' |
process_extras | True |
self | <django.db.models.sql.query.Query object at 0x80ce4ab10> |
table_promote | False |
field | <django.db.models.fields.AutoField: id> |
parts | ['id'] |
filter_expr | ('id', u'18\u200e') |
join_promote | False |
force_having | False |
join_list | ['website_book'] |
nonnull_comparison | False |
can_reuse | set([]) |
allow_many | True |
last | [] |
target | <django.db.models.fields.AutoField: id> |
lookup_type | 'exact' |
value | u'18\u200e' |
alias | 'website_book' |
extra_filters | [] |
col | 'id' |
opts | <Options for Book> |
/usr/local/lib/python2.7/site-packages/django/db/models/sql/where.py
in add
value_annotation = datetime.datetime
elif hasattr(value, 'value_annotation'):
value_annotation = value.value_annotation
else:
value_annotation = bool(value)
if hasattr(obj, "prepare"):
value = obj.prepare(lookup_type, value)...
super(WhereNode, self).add(
(obj, lookup_type, value_annotation, value), connector)
def as_sql(self, qn, connection):
"""
Variable | Value |
---|---|
value_annotation | True |
obj | <django.db.models.sql.where.Constraint object at 0x80a106710> |
lookup_type | 'exact' |
value | u'18\u200e' |
connector | 'AND' |
data | (<django.db.models.sql.where.Constraint object at 0x80a106710>, 'exact', u'18\u200e') |
self | <django.db.models.sql.where.WhereNode object at 0x80ce4a710> |
/usr/local/lib/python2.7/site-packages/django/db/models/sql/where.py
in prepare
if model is not None:
self.field = model._meta.get_field(field_name)
else:
self.field = None
def prepare(self, lookup_type, value):
if self.field:
return self.field.get_prep_lookup(lookup_type, value)...
return value
def process(self, lookup_type, value, connection):
"""
Returns a tuple of data suitable for inclusion in a WhereNode
instance.
Variable | Value |
---|---|
lookup_type | 'exact' |
self | <django.db.models.sql.where.Constraint object at 0x80a106710> |
value | u'18\u200e' |
/usr/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py
in get_prep_lookup
if lookup_type in (
'regex', 'iregex', 'month', 'day', 'week_day', 'search',
'contains', 'icontains', 'iexact', 'startswith', 'istartswith',
'endswith', 'iendswith', 'isnull'
):
return value
elif lookup_type in ('exact', 'gt', 'gte', 'lt', 'lte'):
return self.get_prep_value(value)...
elif lookup_type in ('range', 'in'):
return [self.get_prep_value(v) for v in value]
elif lookup_type == 'year':
try:
return int(value)
except ValueError:
Variable | Value |
---|---|
lookup_type | 'exact' |
self | <django.db.models.fields.AutoField: id> |
value | u'18\u200e' |
/usr/local/lib/python2.7/site-packages/django/db/models/fields/__init__.py
in get_prep_value
def validate(self, value, model_instance):
pass
def get_prep_value(self, value):
if value is None:
return None
return int(value)...
def contribute_to_class(self, cls, name):
assert not cls._meta.has_auto_field, \
"A model can't have more than one AutoField."
super(AutoField, self).contribute_to_class(cls, name)
cls._meta.has_auto_field = True
Variable | Value |
---|---|
self | <django.db.models.fields.AutoField: id> |
value | u'18\u200e' |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | False |
CONTEXT_DOCUMENT_ROOT | '/web/sites/rvdm.com/www' |
SERVER_SOFTWARE | 'Apache/2.4.39 (FreeBSD) OpenSSL/1.0.2s-freebsd PHP/5.6.40' |
CONTEXT_PREFIX | '' |
SERVER_SIGNATURE | '' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/books/18\u200e' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
PATH | '/sbin:/bin:/usr/sbin:/usr/bin' |
LD_LIBRARY_PATH | '/usr/local/lib:/usr/local/lib' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'www.rvppress.com' |
REMOTE_PORT | '36124' |
wsgi.url_scheme | 'http' |
SERVER_PORT | '80' |
uwsgi.node | 'php56.webtic.nl' |
SERVER_ADDR | '116.203.150.211' |
DOCUMENT_ROOT | '/web/sites/rvdm.com/www' |
uwsgi.core | 6 |
SCRIPT_FILENAME | 'proxy:uwsgi://kip/books/18\xe2\x80\x8e' |
SERVER_ADMIN | 'you@example.com' |
wsgi.input | <uwsgi._Input object at 0x8007c2f00> |
HTTP_HOST | 'www.rvppress.com' |
SCRIPT_NAME | u'' |
wsgi.multithread | True |
REQUEST_URI | '/books/18%E2%80%8E' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
wsgi.run_once | False |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x8064e84b0> |
REMOTE_ADDR | '35.173.233.176' |
REQUEST_SCHEME | 'http' |
uwsgi.version | '2.0.16' |
wsgi.file_wrapper | '' |
UvP.settings
Setting | Value |
---|---|
USE_L10N | False |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'UvP.urls' |
MANAGERS | () |
DEFAULT_CHARSET | 'utf-8' |
STATIC_ROOT | '' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
FILE_UPLOAD_PERMISSIONS | None |
URL_VALIDATOR_USER_AGENT | 'Django/1.4.2 (https://www.djangoproject.com)' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
DATABASES | {'default': {'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'rvppress', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'Europe/Amsterdam', 'USER': 'rvppress'}} |
SERVER_EMAIL | 'root@localhost' |
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 | [] |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': ''}} |
SESSION_COOKIE_PATH | '/' |
USE_X_FORWARDED_HOST | False |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware') |
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' |
SEND_BROKEN_LINK_EMAILS | False |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
WSGI_APPLICATION | None |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
FORCE_SCRIPT_NAME | None |
CACHE_BACKEND | 'locmem://' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
SESSION_FILE_PATH | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'django.contrib.flatpages', 'photologue', 'pressroom', 'website') |
LANGUAGES | (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('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'), ('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'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('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'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) |
COMMENTS_ALLOW_PROFANITIES | False |
STATICFILES_DIRS | () |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
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') |
CSRF_COOKIE_NAME | 'csrftoken' |
EMAIL_HOST_PASSWORD | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
IGNORABLE_404_URLS | () |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/web/sites/rvppress.com/assets' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
MEDIA_URL | '' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('/web/sites/rvppress.com/templates',) |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
DECIMAL_SEPARATOR | '.' |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
TIME_ZONE | 'Europe/Amsterdam' |
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.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.static', 'django.core.context_processors.tz', 'django.contrib.messages.context_processors.messages') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'UvP.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | () |
STATIC_URL | '/media/' |
EMAIL_PORT | 25 |
USE_TZ | False |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
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 | '' |
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.