register.html
Request Method: | GET |
---|---|
Request URL: | http://www.leti365.com/register/ |
Django Version: | 1.8 |
Exception Type: | TemplateDoesNotExist |
Exception Value: | register.html |
Exception Location: | /mnt/py-project/leti365/venv/lib64/python2.7/site-packages/django/template/loader.py in get_template, line 46 |
Python Executable: | /home/py-project/venv/bin/uwsgi |
Python Version: | 2.7.5 |
Python Path: | ['.', '', '/mnt/py-project/leti365/venv/lib64/python27.zip', '/mnt/py-project/leti365/venv/lib64/python2.7', '/mnt/py-project/leti365/venv/lib64/python2.7/plat-linux2', '/mnt/py-project/leti365/venv/lib64/python2.7/lib-tk', '/mnt/py-project/leti365/venv/lib64/python2.7/lib-old', '/mnt/py-project/leti365/venv/lib64/python2.7/lib-dynload', '/usr/lib64/python2.7', '/usr/lib/python2.7', '/mnt/py-project/leti365/venv/lib64/python2.7/site-packages', '/mnt/py-project/leti365/venv/lib64/python2.7/site-packages/xlwt-1.3.0-py2.7.egg', '/mnt/py-project/leti365/venv/lib64/python2.7/site-packages/django_ckeditor-5.0.3-py2.7.egg', '/mnt/py-project/leti365/venv/lib/python2.7/site-packages', '/mnt/py-project/leti365/venv/lib/python2.7/site-packages/xlwt-1.3.0-py2.7.egg', '/mnt/py-project/leti365/venv/lib/python2.7/site-packages/django_ckeditor-5.0.3-py2.7.egg'] |
Server time: | Fri, 29 Mar 2024 08:12:29 +0800 |
Django tried loading these templates, in this order:
django.template.loaders.filesystem.Loader
:
/mnt/py-project/leti365/leti365/templates/register.html
(File does not exist)django.template.loaders.app_directories.Loader
:
/mnt/py-project/leti365/venv/lib64/python2.7/site-packages/django_admin_bootstrapped/templates/register.html
(File does not exist)/mnt/py-project/leti365/venv/lib64/python2.7/site-packages/django/contrib/admin/templates/register.html
(File does not exist)/mnt/py-project/leti365/venv/lib64/python2.7/site-packages/django/contrib/auth/templates/register.html
(File does not exist)/mnt/py-project/leti365/website/templates/register.html
(File does not exist)/mnt/py-project/leti365/venv/lib64/python2.7/site-packages/django_ckeditor-5.0.3-py2.7.egg/ckeditor/templates/register.html
(File does not exist)/mnt/py-project/leti365/venv/lib64/python2.7/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:
# 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 | TemplateDoesNotExist('register.html',) |
callback_args | () |
resolver_match | ResolverMatch(func=website.views.register, args=(), kwargs={}, url_name=None, app_name=None, namespaces=[]) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f502ccbb350>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f502ec82050> |
request | "<WSGIRequest\npath:/register/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'0tIpPH6OfOiMdS1O7rBbtFtCdlTh8yhx',\n 'DOCUMENT_ROOT': '/usr/local/nginx/html',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'www.leti365.com',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/register/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.152.77.92',\n 'REMOTE_PORT': '53276',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/register/',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'www.leti365.com',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'VM-16-13-centos',\n 'uwsgi.version': '2.0.18',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f502ccb0300>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x7f502cd27ea0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function register at 0x7f502b4e8398> |
wrapped_callback | <function register at 0x7f502b4e8398> |
resolver | <RegexURLResolver 'leti365.urls' (None:None) ^/> |
callback_kwargs | {} |
response | None |
urlconf | 'leti365.urls' |
/mnt/py-project/leti365/venv/lib64/python2.7/site-packages/django/views/decorators/csrf.py
in wrapped_view
"""
Marks a view function as being exempt from the CSRF view protection.
"""
# We could just do view_func.csrf_exempt = True, but decorators
# are nicer if they don't have side-effects, so we return a new
# function.
def wrapped_view(*args, **kwargs):
return view_func(*args, **kwargs)...
wrapped_view.csrf_exempt = True
return wraps(view_func, assigned=available_attrs(view_func))(wrapped_view)
Variable | Value |
---|---|
args | (<WSGIRequest: GET '/register/'>,) |
view_func | <function register at 0x7f502b4e8320> |
kwargs | {} |
./website/views.py
in register
result = 1
return HttpResponse(result)
else:
result = 0
return HttpResponse(result)
else:
request.session['registersecret']=random.randint(1000,9999)
return render_to_response('register.html', locals())...
def index(request):
if None == request.session.get('loginuser', default=None):
request.session['loginuser'] = '请登录'
return render_to_response('index.html', locals())
Variable | Value |
---|---|
request | "<WSGIRequest\npath:/register/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'0tIpPH6OfOiMdS1O7rBbtFtCdlTh8yhx',\n 'DOCUMENT_ROOT': '/usr/local/nginx/html',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'www.leti365.com',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/register/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '54.152.77.92',\n 'REMOTE_PORT': '53276',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/register/',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'www.leti365.com',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'VM-16-13-centos',\n 'uwsgi.version': '2.0.18',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7f502ccb0300>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x7f502cd27ea0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
/mnt/py-project/leti365/venv/lib64/python2.7/site-packages/django/shortcuts.py
in render_to_response
Returns a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
if (context_instance is _context_instance_undefined
and dirs is _dirs_undefined
and dictionary is _dictionary_undefined):
# No deprecated arguments were passed - use the new code path
content = loader.render_to_string(template_name, context, using=using)...
else:
# Some deprecated arguments were passed - use the legacy code path
content = loader.render_to_string(
template_name, context, context_instance, dirs, dictionary,
using=using)
Variable | Value |
---|---|
dirs | <object object at 0x7f502df376a0> |
status | None |
content_type | None |
dictionary | <object object at 0x7f502df37690> |
template_name | 'register.html' |
context_instance | <object object at 0x7f502df37680> |
context | {'request': <WSGIRequest: GET '/register/'>} |
using | None |
/mnt/py-project/leti365/venv/lib64/python2.7/site-packages/django/template/loader.py
in render_to_string
if (context_instance is _context_instance_undefined
and dirs is _dirs_undefined
and dictionary is _dictionary_undefined):
# No deprecated arguments were passed - use the new code path
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)...
return template.render(context, request)
else:
# Some deprecated arguments were passed - use the legacy code path
for engine in _engine_list(using):
try:
Variable | Value |
---|---|
dirs | <object object at 0x7f502df376a0> |
dictionary | <object object at 0x7f502df37690> |
template_name | 'register.html' |
request | None |
context_instance | <object object at 0x7f502df37680> |
context | {'request': <WSGIRequest: GET '/register/'>} |
using | None |
/mnt/py-project/leti365/venv/lib64/python2.7/site-packages/django/template/loader.py
in get_template
"method doesn't support the dirs argument." % engine.name,
stacklevel=2)
else:
return engine.get_template(template_name)
except TemplateDoesNotExist:
pass
raise TemplateDoesNotExist(template_name)...
def select_template(template_name_list, dirs=_dirs_undefined, using=None):
"""
Loads and returns a template for one of the given names.
Variable | Value |
---|---|
engine | <django.template.backends.django.DjangoTemplates object at 0x7f502b4e4550> |
using | None |
dirs | <object object at 0x7f502df376a0> |
engines | [<django.template.backends.django.DjangoTemplates object at 0x7f502b4e4550>] |
template_name | 'register.html' |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | True |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/register/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
CONTENT_LENGTH | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'www.leti365.com' |
REMOTE_ADDR | '54.152.77.92' |
wsgi.url_scheme | 'http' |
SERVER_PORT | '80' |
uwsgi.node | 'VM-16-13-centos' |
DOCUMENT_ROOT | '/usr/local/nginx/html' |
wsgi.input | <uwsgi._Input object at 0x7f502cd27ea0> |
HTTP_HOST | 'www.leti365.com' |
wsgi.multithread | False |
REQUEST_URI | '/register/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
wsgi.run_once | False |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x7f502ccb0300> |
REMOTE_PORT | '53276' |
REQUEST_SCHEME | 'http' |
uwsgi.version | '2.0.18' |
CONTENT_TYPE | '' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'0tIpPH6OfOiMdS1O7rBbtFtCdlTh8yhx' |
leti365.settings
Setting | Value |
---|---|
SECURE_BROWSER_XSS_FILTER | False |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'leti365.urls' |
MANAGERS | () |
BASE_DIR | '/mnt/py-project/leti365' |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/mnt/py-project/leti365/static' |
ALLOWED_HOSTS | [] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SERVER_EMAIL | 'root@localhost' |
SECURE_HSTS_SECONDS | 0 |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
SECURE_REDIRECT_EXEMPT | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '127.0.0.1', 'NAME': 'wordpress', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'UTC', 'USER': 'root'}} |
EMAIL_SSL_KEYFILE | u'********************' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | False |
LOCALE_PATHS | () |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
SESSION_COOKIE_PATH | '/' |
SECURE_CONTENT_TYPE_NOSNIFF | False |
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_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
LOGGING_CONFIG | 'logging.config.dictConfig' |
CKEDITOR_JQUERY_URL | '/static/js/jquery.min.js' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
FIRST_DAY_OF_WEEK | 0 |
WSGI_APPLICATION | 'leti365.wsgi.application' |
TEMPLATE_DEBUG | False |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
EMAIL_TIMEOUT | None |
SECURE_SSL_HOST | None |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django_admin_bootstrapped', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'website', 'ckeditor') |
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-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'), ('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-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')) |
USE_L10N | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
STATICFILES_DIRS | () |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
CSRF_COOKIE_AGE | 31449600 |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
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 | ('django.contrib.auth.backends.ModelBackend',) |
EMAIL_HOST_PASSWORD | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_FILE_PATH | None |
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/' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
MIGRATION_MODULES | {} |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | './leti365/templates' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('/mnt/py-project/leti365/templates',) |
CKEDITOR_CONFIGS | {'default': {'FullPage': 'false', 'height': 300, 'toolbar': 'full'}} |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['./leti365/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']}}] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SECURE_SSL_REDIRECT | False |
TIME_ZONE | 'Asia/Shanghai' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_USE_SSL | False |
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') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'leti365.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | () |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
TEST_NON_SERIALIZED_APPS | [] |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SSL_CERTFILE | None |
CSRF_COOKIE_HTTPONLY | False |
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 | '' |
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.