Section matching query does not exist.
Request Method: | GET |
---|---|
Request URL: | http://morethanonefragile.co.uk/20th-century-muf/20C_44_EMSTOR/ |
Django Version: | 1.9.4 |
Exception Type: | DoesNotExist |
Exception Value: | Section matching query does not exist. |
Exception Location: | /home/deploy/envs/mufsite/lib/python3.4/site-packages/django/db/models/query.py in get, line 387 |
Python Executable: | /home/deploy/envs/mufsite/bin/python3 |
Python Version: | 3.4.0 |
Python Path: | ['/home/deploy/envs/mufsite/muf/mufsite', '/home/deploy/envs/mufsite/bin', '/home/deploy/envs/mufsite/src/django-chunks', '/home/deploy/envs/mufsite/lib/python3.4', '/home/deploy/envs/mufsite/lib/python3.4/plat-x86_64-linux-gnu', '/home/deploy/envs/mufsite/lib/python3.4/lib-dynload', '/usr/lib/python3.4', '/usr/lib/python3.4/plat-x86_64-linux-gnu', '/home/deploy/envs/mufsite/lib/python3.4/site-packages'] |
Server time: | Thu, 28 Mar 2024 23:55:19 +0000 |
/home/deploy/envs/mufsite/lib/python3.4/site-packages/django/core/handlers/base.py
in get_response
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)
except Exception as e:
response = self.process_exception_by_middleware(e, request)...
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
view_name = callback.__name__
else: # CBV
Variable | Value |
---|---|
resolver_match | ResolverMatch(func=content.views.section, args=(), kwargs={'section_slug': '20C_44_EMSTOR', 'chapter_slug': '20th-century-muf'}, url_name=section, app_names=[], namespaces=[]) |
callback | <function section at 0x7f1a445b09d8> |
callback_args | () |
urlconf | 'urls' |
response | None |
callback_kwargs | {'chapter_slug': '20th-century-muf', 'section_slug': '20C_44_EMSTOR'} |
wrapped_callback | <function section at 0x7f1a445b09d8> |
resolver | <RegexURLResolver 'urls' (None:None) ^/> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f1a43d41eb8> |
request | <WSGIRequest: GET '/20th-century-muf/20C_44_EMSTOR/'> |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f1a429ef0b8>> |
response_is_rendered | False |
/home/deploy/envs/mufsite/lib/python3.4/site-packages/django/core/handlers/base.py
in get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)...
except Exception as e:
response = self.process_exception_by_middleware(e, request)
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
Variable | Value |
---|---|
resolver_match | ResolverMatch(func=content.views.section, args=(), kwargs={'section_slug': '20C_44_EMSTOR', 'chapter_slug': '20th-century-muf'}, url_name=section, app_names=[], namespaces=[]) |
callback | <function section at 0x7f1a445b09d8> |
callback_args | () |
urlconf | 'urls' |
response | None |
callback_kwargs | {'chapter_slug': '20th-century-muf', 'section_slug': '20C_44_EMSTOR'} |
wrapped_callback | <function section at 0x7f1a445b09d8> |
resolver | <RegexURLResolver 'urls' (None:None) ^/> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f1a43d41eb8> |
request | <WSGIRequest: GET '/20th-century-muf/20C_44_EMSTOR/'> |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f1a429ef0b8>> |
response_is_rendered | False |
/home/deploy/envs/mufsite/muf/mufsite/content/views.py
in section
c['chapter'] = Chapter.objects.get(slug=chapter_slug)
return render_to_response('chapter.html', RequestContext(request, c))
def section(request, chapter_slug, section_slug):
c = {}
c['chapter'] = Chapter.objects.get(slug=chapter_slug)
c['section'] = Section.objects.get(slug=section_slug, chapter=c['chapter'])...
return render_to_response('section.html', RequestContext(request, c))
def page(request, chapter_slug, section_slug, page_order):
c = {}
c['chapter'] = Chapter.objects.get(slug=chapter_slug)
Variable | Value |
---|---|
section_slug | '20C_44_EMSTOR' |
request | <WSGIRequest: GET '/20th-century-muf/20C_44_EMSTOR/'> |
chapter_slug | '20th-century-muf' |
c | {'chapter': <Chapter: 1130:20th century muf>} |
/home/deploy/envs/mufsite/lib/python3.4/site-packages/django/db/models/manager.py
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 = {}
# Refs http://bugs.python.org/issue1785.
Variable | Value |
---|---|
kwargs | {'chapter': <Chapter: 1130:20th century muf>, 'slug': '20C_44_EMSTOR'} |
args | () |
name | 'get' |
self | <django.db.models.manager.Manager object at 0x7f1a42aa6d68> |
/home/deploy/envs/mufsite/lib/python3.4/site-packages/django/db/models/query.py
in get
clone = clone.order_by()
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)
)
Variable | Value |
---|---|
kwargs | {'chapter': <Chapter: 1130:20th century muf>, 'slug': '20C_44_EMSTOR'} |
args | () |
num | 0 |
clone | [] |
self | [<Section: imprint>, <Section: SH-hide from display>, <Section: PG-hide-from-display-section>, <Section: AC_Setting-and-Response>, <Section: AC_Catalogue-of-Parts>, <Section: AC_Names-and-Meanings>, <Section: AC_Hard-Facts>, <Section: BTS_Setting-and-Response>, <Section: BTS_Catalogue-of-Parts>, <Section: BTS_Names-and-Meanings>, <Section: BTS_Hard-Facts>, <Section: 20C-hide-from-display-section>] |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.file_wrapper | '' |
HTTP_REFERER | 'http://morethanonefragile.co.uk/20th-century-muf/20C_44_EMSTOR' |
QUERY_STRING | '' |
HTTP_CONNECTION | 'close' |
HTTP_X_REAL_IP | '18.209.209.246' |
SCRIPT_NAME | '' |
wsgi.multithread | False |
HTTP_USER_AGENT | 'claudebot' |
wsgi.version | (1, 0) |
HTTP_HOST | 'morethanonefragile.co.uk' |
wsgi.run_once | False |
SERVER_PROTOCOL | 'HTTP/1.0' |
REQUEST_METHOD | 'GET' |
PATH_INFO | '/20th-century-muf/20C_44_EMSTOR/' |
gunicorn.socket | <socket.socket fd=13, family=AddressFamily.AF_INET, type=SocketType.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 10080), raddr=('127.0.0.1', 44597)> |
HTTP_X_FORWARDED_FOR | '18.209.209.246' |
SERVER_NAME | '0.0.0.0' |
REMOTE_PORT | '44597' |
HTTP_ACCEPT | '*/*' |
SERVER_PORT | '10080' |
wsgi.multiprocess | True |
wsgi.input | <gunicorn.http.body.Body object at 0x7f1a44542c18> |
wsgi.url_scheme | 'http' |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f1a445429b0> |
RAW_URI | '/20th-century-muf/20C_44_EMSTOR/' |
REMOTE_ADDR | '127.0.0.1' |
SERVER_SOFTWARE | 'gunicorn/19.3.0' |
settings
Setting | Value |
---|---|
EMAIL_USE_TLS | False |
DECIMAL_SEPARATOR | '.' |
FORCE_SCRIPT_NAME | None |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
EMAIL_SSL_KEYFILE | '********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_FILE_PATH | None |
YEAR_MONTH_FORMAT | 'F Y' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
SERVER_EMAIL | 'root@localhost' |
FILE_CHARSET | 'utf-8' |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': '/home/deploy/envs/mufsite/muf/db.sqlite3', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
SECURE_SSL_REDIRECT | False |
TEMPLATE_STRING_IF_INVALID | '' |
EMAIL_USE_SSL | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SECURE_SSL_HOST | None |
SETTINGS_MODULE | 'settings' |
AUTH_PASSWORD_VALIDATORS | '********************' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
MIDDLEWARE_CLASSES | ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware') |
USE_THOUSAND_SEPARATOR | False |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FORMAT_MODULE_PATH | None |
TEMPLATE_DIRS | [] |
SESSION_COOKIE_PATH | '/' |
MANAGERS | [] |
CSRF_COOKIE_HTTPONLY | False |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
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'] |
SECURE_HSTS_SECONDS | 0 |
CACHE_MIDDLEWARE_SECONDS | 600 |
LANGUAGE_CODE | 'europe-london' |
EMAIL_TIMEOUT | None |
STATICFILES_DIRS | ['/home/deploy/envs/mufsite/muf/www/app', '/home/deploy/envs/mufsite/muf/www/dist', ('ckeditor', '/home/deploy/envs/mufsite/muf/src/ckeditor/')] |
TEST_NON_SERIALIZED_APPS | [] |
SESSION_CACHE_ALIAS | 'default' |
IGNORABLE_404_URLS | [] |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CONTENT_TYPE | 'text/html' |
CSRF_COOKIE_AGE | 31449600 |
MONTH_DAY_FORMAT | 'F j' |
FIXTURE_DIRS | [] |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
EMAIL_SSL_CERTFILE | None |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('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-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('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'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('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-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
EMAIL_PORT | 25 |
TIME_FORMAT | 'P' |
USE_X_FORWARDED_HOST | False |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['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', 'content.context_processors.cart']}}] |
SESSION_SAVE_EVERY_REQUEST | False |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
LANGUAGE_COOKIE_DOMAIN | None |
SESSION_COOKIE_DOMAIN | None |
AUTH_USER_MODEL | 'auth.User' |
RAND | 46 |
STATIC_ROOT | '/home/deploy/envs/mufsite/muf/static' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
FILE_UPLOAD_TEMP_DIR | None |
SECURE_REDIRECT_EXEMPT | [] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
SESSION_COOKIE_HTTPONLY | True |
DEBUG | True |
SECRET_KEY | '********************' |
CKEDITOR_UPLOAD_PATH | 'ck-uploads/' |
ADMINS | [] |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
SESSION_COOKIE_AGE | 1209600 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
MEDIA_ROOT | '/home/deploy/envs/mufsite/muf/uploads' |
USE_I18N | False |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
TEMPLATE_LOADERS | ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'] |
LOGIN_URL | '/accounts/login/' |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
FIRST_DAY_OF_WEEK | 0 |
PEECHO_SETTINGS | {'application_api_key': '1136c3150be1ff3dc1658c77326fbd9a7680aba1', 'application_created': '04-08-2015 12:26:33', 'base_url': 'http://test.www.peecho.com', 'button_key': '1438683993253272', 'merchant_api_key': '9e8b9f1a8d5a25bde4a00df9f638f420f081e997', 'secret_key': '80c031173c8c1ae8c71d32cce778cc41fa7d6b81'} |
EMAIL_HOST_USER | '' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
ALLOWED_HOSTS | ['*'] |
MEDIA_DOMAIN | 'http://stage.morethanonefragile.co.uk' |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
DEFAULT_INDEX_TABLESPACE | '' |
LANGUAGE_COOKIE_PATH | '/' |
LOGOUT_URL | '/accounts/logout/' |
CKEDITOR_CONFIGS | {'default': {'bodyClass': 'muf-page', 'contentsCss': ['/assets/styles/muf-styles.css?cachebust=20', 'https://cloud.typography.com/6797114/7595752/css/fonts.css'], 'extraPlugins': 'div,liststyle,showblocks,preview,stylesheetparser,muf-link', 'height': 591, 'removeButtons': 'Flash,Smiley,BGColor,TextColorHorizontalRule,SpellChecker,SetLanguage,Iframe,PageBreak', 'stylesSet': [], 'toolbar': 'Full', 'toolbar_Full': [['Preview', 'Save', 'Undo', 'Redo', 'Bold', 'Italic', 'Underline', 'Strike'], ['Styles', 'CreateDiv'], ['Image', 'Table', 'NumberedList', 'BulletedList'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'], ['SpecialChar', 'Link', 'Unlink', 'muf-link', 'Anchor', 'Source']], 'toolbar_Muf': [['Preview', 'Save', 'Styles', 'Format', 'Bold', 'Italic', 'Underline', 'Strike', 'Undo', 'Redo'], ['NumberedList', 'BulletedList'], ['Link', 'Unlink', 'Anchor', 'muf-link'], ['Image', 'Table', 'List'], ['Source']], 'width': 300}, 'micro_br': {'bodyClass': 'muf-page', 'disallowedContent': 'p;h1;h2;h3;h4;h5;h6;', 'enterMode': 2, 'extraPlugins': 'div,liststyle,showblocks,preview,stylesheetparser,muf-link', 'height': 100, 'toolbar': [['Undo', 'Redo', 'Bold', 'Italic', 'Underline', 'Strike', 'Link', 'Unlink', 'Source']], 'width': 400}} |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_NAME | 'csrftoken' |
DISALLOWED_USER_AGENTS | [] |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
ALLOWED_INCLUDE_ROOTS | [] |
USE_L10N | False |
DEFAULT_TABLESPACE | '' |
MIGRATION_MODULES | {'chunks': 'chunks_migrations.db_migrations'} |
DATE_FORMAT | 'N j, Y' |
ABSOLUTE_URL_OVERRIDES | {} |
CSRF_TRUSTED_ORIGINS | [] |
TIME_ZONE | 'UTC' |
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'] |
CKEDITOR_JQUERY_URL | '//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js' |
NUMBER_GROUPING | 0 |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
LOCALE_PATHS | [] |
USE_ETAGS | False |
THOUSAND_SEPARATOR | ',' |
INSTALLED_APPS | ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'ckeditor', 'content', 'chunks', 'chunks_migrations', 'peecho') |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
PASSWORD_HASHERS | '********************' |
DATABASE_ROUTERS | [] |
LOGGING_CONFIG | 'logging.config.dictConfig' |
INTERNAL_IPS | [] |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_SECURE | False |
DATETIME_FORMAT | 'N j, Y, P' |
USE_X_FORWARDED_PORT | False |
USE_TZ | True |
CSRF_COOKIE_DOMAIN | None |
DEFAULT_CHARSET | 'utf-8' |
PREPEND_WWW | False |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
LANGUAGE_COOKIE_AGE | None |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
TEMPLATE_DEBUG | False |
MEDIA_URL | '/media/' |
BASE_DIR | '/home/deploy/envs/mufsite/muf' |
EMAIL_HOST_PASSWORD | '********************' |
APPEND_SLASH | True |
TEMPLATE_CONTEXT_PROCESSORS | ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages'] |
WSGI_APPLICATION | 'wsgi.application' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
ROOT_URLCONF | 'urls' |
FILE_UPLOAD_PERMISSIONS | None |
SECURE_CONTENT_TYPE_NOSNIFF | False |
DEBUG_PROPAGATE_EXCEPTIONS | False |
EMAIL_HOST | 'localhost' |
STATIC_URL | '/static/' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_PROXY_SSL_HEADER | None |
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.