Tags matching query does not exist.
Request Method: | GET |
---|---|
Request URL: | https://theriddleages.bham.ac.uk/riddles/tag/riddle%252042/?year=2018 |
Django Version: | 3.2.11 |
Exception Type: | DoesNotExist |
Exception Value: | Tags matching query does not exist. |
Exception Location: | /opt/django/riddle-ages-venv/lib64/python3.6/site-packages/django/db/models/query.py, line 437, in get |
Python Executable: | /opt/uwsgi/uwsgi-2.0.20/uwsgi |
Python Version: | 3.6.8 |
Python Path: | ['.', '', '/usr/lib64/python36.zip', '/usr/lib64/python3.6', '/usr/lib64/python3.6/lib-dynload', '/opt/django/riddle-ages-venv/lib64/python3.6/site-packages', '/opt/django/riddle-ages-venv/lib/python3.6/site-packages'] |
Server time: | Fri, 29 Mar 2024 14:24:01 +0000 |
/opt/django/riddle-ages-venv/lib64/python3.6/site-packages/django/core/handlers/exception.py
, line 47, in inner
response = await sync_to_async(response_for_exception, thread_sensitive=False)(request, exc)
return response
return inner
else:
@wraps(get_response)
def inner(request):
try:
response = get_response(request)…
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | DoesNotExist('Tags matching query does not exist.',) |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f96f95aef98>> |
request | <WSGIRequest: GET '/riddles/tag/riddle%252042/?year=2018'> |
/opt/django/riddle-ages-venv/lib64/python3.6/site-packages/django/core/handlers/base.py
, line 181, in _get_response
if response is None:
wrapped_callback = self.make_view_atomic(callback)
# If it is an asynchronous view, run it in a subthread.
if asyncio.iscoroutinefunction(wrapped_callback):
wrapped_callback = async_to_sync(wrapped_callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
# Complain if the view returned None (a common error).
Variable | Value |
---|---|
callback | <function posts_by_tag at 0x7f96f7c05a60> |
callback_args | () |
callback_kwargs | {'tag': 'riddle%2042'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f96f94bd978>> |
request | <WSGIRequest: GET '/riddles/tag/riddle%252042/?year=2018'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f96f95aef98> |
wrapped_callback | <function posts_by_tag at 0x7f96f7c05a60> |
./riddleages/views.py
, line 378, in posts_by_tag
template_name = 'posts.html'
paginate_by = 25
page_number = request.GET.get('page')
context = get_menu()
context['tag'] = Tags.objects.get(name=tag)…
posts = Post.objects.filter(posttags__tag__name=tag).order_by('riddle_no', '-translation_template')
for thispost in posts:
postcollections__collection_id = PostCollections.objects.get(post_id=thispost.id).collection_id,
thispost.riddles = Post.objects.filter(riddle_no=thispost.riddle_no, translation_template=1,
postcollections__collection_id=postcollections__collection_id) \
Variable | Value |
---|---|
context | {'all_archives_month': <QuerySet [{'month': datetime.datetime(2023, 9, 1, 0, 0, tzinfo=<UTC>), 'count': 1}, {'month': datetime.datetime(2023, 8, 1, 0, 0, tzinfo=<UTC>), 'count': 2}, {'month': datetime.datetime(2023, 7, 1, 0, 0, tzinfo=<UTC>), 'count': 1}, {'month': datetime.datetime(2022, 9, 1, 0, 0, tzinfo=<UTC>), 'count': 50}, {'month': datetime.datetime(2022, 7, 1, 0, 0, tzinfo=<UTC>), 'count': 51}, {'month': datetime.datetime(2022, 4, 1, 0, 0, tzinfo=<UTC>), 'count': 45}, {'month': datetime.datetime(2022, 3, 1, 0, 0, tzinfo=<UTC>), 'count': 55}, {'month': datetime.datetime(2022, 1, 1, 0, 0, tzinfo=<UTC>), 'count': 50}, {'month': datetime.datetime(2021, 12, 1, 0, 0, tzinfo=<UTC>), 'count': 60}, {'month': datetime.datetime(2021, 8, 1, 0, 0, tzinfo=<UTC>), 'count': 3}, {'month': datetime.datetime(2021, 7, 1, 0, 0, tzinfo=<UTC>), 'count': 27}, {'month': datetime.datetime(2021, 6, 1, 0, 0, tzinfo=<UTC>), 'count': 18}, {'month': datetime.datetime(2021, 4, 1, 0, 0, tzinfo=<UTC>), 'count': 14}, {'month': datetime.datetime(2021, 3, 1, 0, 0, tzinfo=<UTC>), 'count': 22}, {'month': datetime.datetime(2021, 2, 1, 0, 0, tzinfo=<UTC>), 'count': 21}, {'month': datetime.datetime(2021, 1, 1, 0, 0, tzinfo=<UTC>), 'count': 20}, {'month': datetime.datetime(2020, 12, 1, 0, 0, tzinfo=<UTC>), 'count': 32}, {'month': datetime.datetime(2020, 11, 1, 0, 0, tzinfo=<UTC>), 'count': 41}, {'month': datetime.datetime(2020, 10, 1, 0, 0, tzinfo=<UTC>), 'count': 3}, {'month': datetime.datetime(2019, 12, 1, 0, 0, tzinfo=<UTC>), 'count': 3}, '...(remaining elements truncated)...']>, 'all_archives_year': <QuerySet [{'year': datetime.datetime(2023, 1, 1, 0, 0, tzinfo=<UTC>), 'count': 4}, {'year': datetime.datetime(2022, 1, 1, 0, 0, tzinfo=<UTC>), 'count': 251}, {'year': datetime.datetime(2021, 1, 1, 0, 0, tzinfo=<UTC>), 'count': 185}, {'year': datetime.datetime(2020, 1, 1, 0, 0, tzinfo=<UTC>), 'count': 76}, {'year': datetime.datetime(2019, 1, 1, 0, 0, tzinfo=<UTC>), 'count': 9}, {'year': datetime.datetime(2018, 1, 1, 0, 0, tzinfo=<UTC>), 'count': 19}, {'year': datetime.datetime(2017, 1, 1, 0, 0, tzinfo=<UTC>), 'count': 33}, {'year': datetime.datetime(2016, 1, 1, 0, 0, tzinfo=<UTC>), 'count': 14}, {'year': datetime.datetime(2015, 1, 1, 0, 0, tzinfo=<UTC>), 'count': 32}, {'year': datetime.datetime(2014, 1, 1, 0, 0, tzinfo=<UTC>), 'count': 31}, {'year': datetime.datetime(2013, 1, 1, 0, 0, tzinfo=<UTC>), 'count': 33}]>, 'all_collections': <QuerySet [{'collection__id': 12, 'collection__name': "Aldhelm's Riddles", 'collection__slug': 'aldhelm-s-riddles', 'count': 101}, {'collection__id': 7, 'collection__name': "Boniface's Riddles", 'collection__slug': 'boniface-s-riddles', 'count': 22}, {'collection__id': 8, 'collection__name': "Eusebius's Riddles", 'collection__slug': 'eusebius-s-riddles', 'count': 60}, {'collection__id': 13, 'collection__name': "Symphosius's Riddles", 'collection__slug': 'symphosius-s-riddles', 'count': 101}, {'collection__id': 9, 'collection__name': "Tatwine's Riddles", 'collection__slug': 'tatwine-s-riddles', 'count': 42}, {'collection__id': 4, 'collection__name': 'The Bern Riddles', 'collection__slug': 'the-bern-riddles', 'count': 128}, {'collection__id': 1, 'collection__name': 'The Exeter Book Riddles', 'collection__slug': 'the-exeter-book-riddles', 'count': 184}, {'collection__id': 5, 'collection__name': 'The Lorsch Riddles', 'collection__slug': 'the-lorsch-riddles', 'count': 24}, {'collection__id': 11, 'collection__name': 'The Riddles in Bosnian, Croatian, Montenegrin and Serbian', 'collection__slug': 'the-riddles-in-bosnian-croatian-montenegrin-and-serbian', 'count': 4}, {'collection__id': 10, 'collection__name': 'The Riddles in Indonesian', 'collection__slug': 'the-riddles-in-indonesian', 'count': 2}, {'collection__id': 6, 'collection__name': 'The Riddles in Spanish', 'collection__slug': 'the-riddles-in-spanish', 'count': 17}]>, 'all_contributors': <QuerySet [{'author__id': 8, 'author__name': 'AlexandraReider', 'count': 303}, {'author__id': 4, 'author__name': 'MatthiasAmmon', 'count': 13}, {'author__id': 6, 'author__name': 'MeganCave… <trimmed 4577 bytes string> |
page_number | None |
paginate_by | 25 |
request | <WSGIRequest: GET '/riddles/tag/riddle%252042/?year=2018'> |
tag | 'riddle%2042' |
template_name | 'posts.html' |
/opt/django/riddle-ages-venv/lib64/python3.6/site-packages/django/db/models/manager.py
, line 85, in manager_method
def check(self, **kwargs):
return []
@classmethod
def _get_queryset_methods(cls, queryset_class):
def create_method(name, method):
def manager_method(self, *args, **kwargs):
return getattr(self.get_queryset(), name)(*args, **kwargs)…
manager_method.__name__ = method.__name__
manager_method.__doc__ = method.__doc__
return manager_method
new_methods = {}
for name, method in inspect.getmembers(queryset_class, predicate=inspect.isfunction):
Variable | Value |
---|---|
args | () |
kwargs | {'name': 'riddle%2042'} |
name | 'get' |
self | <django.db.models.manager.Manager object at 0x7f96f74dae10> |
/opt/django/riddle-ages-venv/lib64/python3.6/site-packages/django/db/models/query.py
, line 437, in get
clone.query.set_limits(high=limit)
num = len(clone)
if num == 1:
return clone._result_cache[0]
if not num:
raise self.model.DoesNotExist(
"%s matching query does not exist." %
self.model._meta.object_name…
)
raise self.model.MultipleObjectsReturned(
'get() returned more than one %s -- it returned %s!' % (
self.model._meta.object_name,
num if not limit or num < limit else 'more than %s' % (limit - 1),
)
Variable | Value |
---|---|
args | () |
clone | <QuerySet []> |
kwargs | {'name': 'riddle%2042'} |
limit | 21 |
num | 0 |
self | <QuerySet [<Tags: riddle 8>, <Tags: anglo saxon>, <Tags: exeter book>, <Tags: riddles>, <Tags: old english>, <Tags: solutions>, <Tags: riddle 23>, <Tags: testtag>, <Tags: riddle 51>, <Tags: riddle 1>, <Tags: riddle 2>, <Tags: riddle 3>, <Tags: riddle 7>, <Tags: riddle 4>, <Tags: riddle 6>, <Tags: riddle 9>, <Tags: riddle 10>, <Tags: riddle 11>, <Tags: riddle 12>, <Tags: riddle 13>, '...(remaining elements truncated)...']> |
AnonymousUser
Variable | Value |
---|---|
year | '2018' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTENT_LENGTH | '' |
CONTENT_TYPE | '' |
DOCUMENT_ROOT | '/usr/share/nginx/html' |
HTTPS | 'on' |
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'theriddleages.bham.ac.uk' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '54.211.148.68' |
HTTP_X_FORWARDED_PROTO | 'https' |
PATH_INFO | '/riddles/tag/riddle%2042/' |
QUERY_STRING | 'year=2018' |
REMOTE_ADDR | '147.188.172.114' |
REMOTE_PORT | '34640' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/riddles/tag/riddle%252042/?year=2018' |
SCRIPT_NAME | '' |
SERVER_NAME | 'theriddleages.bham.ac.uk' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
uwsgi.node | b'live-allawamj-cal-web-vm.researchcloud.bham.ac.uk' |
uwsgi.version | b'2.0.20' |
wsgi.errors | <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'> |
wsgi.file_wrapper | <built-in function uwsgi_sendfile> |
wsgi.input | <uwsgi._Input object at 0x7f96f76f63f0> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
core.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['theriddleages.bham.ac.uk', 'www.theriddleages.com', 'theriddleages.com'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/opt/django/riddle-ages-repo/django' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CKEDITOR_ALLOW_NONIMAGE_FILES | True |
CKEDITOR_BROWSE_SHOW_DIRS | True |
CKEDITOR_CONFIGS | {'default': {'allowedContent': True, 'extraPlugins': 'uploadimage,div,autolink,autoembed,embedsemantic,autogrow,widget,lineutils,clipboard,dialog,dialogui,elementspath,youtube', 'skin': 'moono', 'tabSpaces': 4, 'toolbar': 'YourCustomToolbarConfig', 'toolbar_Basic': [['Source', '-', 'Bold', 'Italic']], 'toolbar_YourCustomToolbarConfig': [{'items': ['Source', '-', 'Preview'], 'name': 'document'}, {'items': ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'], 'name': 'clipboard'}, {'items': ['Find', 'Replace', '-', 'SelectAll'], 'name': 'editing'}, {'items': ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'], 'name': 'forms'}, '/', {'items': ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat'], 'name': 'basicstyles'}, {'items': ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language'], 'name': 'paragraph'}, {'items': ['Link', 'Unlink', 'Anchor'], 'name': 'links'}, {'items': ['Image', 'Youtube', 'UploadFile', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak', 'Iframe'], 'name': 'insert'}, '/', {'items': ['Styles', 'Format', 'Font', 'FontSize'], 'name': 'styles'}, {'items': ['TextColor', 'BGColor'], 'name': 'colors'}, {'items': ['Maximize', 'ShowBlocks'], 'name': 'tools'}, {'items': ['About'], 'name': 'about'}, '/', {'items': ['Preview', 'Maximize'], 'name': 'yourcustomtools'}]}} |
CKEDITOR_IMAGE_BACKEND | 'pillow' |
CKEDITOR_UPLOAD_PATH | 'images/' |
CKEDITOR_UPLOAD_SLUGIFY_FILENAME | 'True' |
CRISPY_TEMPLATE_PACK | 'bootstrap3' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': '/opt/django/riddle-ages-repo/django/riddle-ages.sqlite3', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': '/opt/django/riddle-ages-repo/django/DATABASENAMEHERE_TEST.sqlite3'}, 'TIME_ZONE': None, 'USER': ''}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ('%d-%m-%Y', '%Y-%m-%d') |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_AUTO_FIELD | 'django.db.models.AutoField' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_ERROR_MESSAGE | 'An error has occurred' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'theriddleages@contacts.bham.ac.uk' |
DEFAULT_HASHING_ALGORITHM | 'sha256' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'bear-mn01.bham.ac.uk' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'theriddleages@contacts.bham.ac.uk' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'accounts.apps.AccountsConfig', 'crispy_forms', 'captcha', 'riddleages', 'ckeditor', 'ckeditor_uploader'] |
INTERNAL_IPS | [] |
LANGUAGES | (('en', 'English'),) |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-GB' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_HTTPONLY | False |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | None |
LANGUAGE_COOKIE_SECURE | False |
LOCALE_PATHS | ('/opt/django/riddle-ages-repo/django/core/locale',) |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | '/' |
MANAGERS | [] |
MEDIA_ROOT | '/opt/django/riddle-ages-repo/django/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'core.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SAMESITE | 'Lax' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'core.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
STATICFILES_DIRS | ['/opt/django/riddle-ages-repo/django/core/staticfiles/'] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/opt/django/riddle-ages-repo/django/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/opt/django/riddle-ages-repo/django/core/templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.media'], 'libraries': {}}}] |
TEMPLATE_DIR | '/opt/django/riddle-ages-repo/django/core/templates' |
TEMPLATE_LOADERS | ('django.template.loaders.app_directories.load_template_source',) |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'UTC' |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'core.wsgi.application' |
X_FRAME_OPTIONS | 'DENY' |
YEAR_MONTH_FORMAT | 'F Y' |
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.