tools/xml-format.html
Request Method: | GET |
---|---|
Request URL: | https://www.codingdict.com/tools/xml-format.html |
Django Version: | 2.1.2 |
Exception Type: | TemplateDoesNotExist |
Exception Value: | tools/xml-format.html |
Exception Location: | /www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/site-packages/django/template/loader.py in get_template, line 19 |
Python Executable: | /www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/bin/uwsgi |
Python Version: | 3.7.9 |
Python Path: | ['.', '', '/www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python37.zip', '/www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7', '/www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/lib-dynload', '/www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/site-packages'] |
Server time: | 星期四, 28 三月 2024 16:21:13 +0000 |
Django tried loading these templates, in this order:
Using engine django
:
django.template.loaders.filesystem.Loader
: /www/wwwroot/www.codingdict.com/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/site-packages/django/contrib/admin/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/site-packages/django/contrib/auth/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/site-packages/django/contrib/sitemaps/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/site-packages/pure_pagination/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/site-packages/admin_honeypot/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/site-packages/captcha/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/site-packages/compressor/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/site-packages/bootstrap4/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/site-packages/meta/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/site-packages/pagedown/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/accounts/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/tutorials/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/site-packages/honeypot/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/blogs/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/course/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/sources/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/projects/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/site-packages/avatar/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/qa/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/martor/templates/tools/xml-format.html (Source does not exist)django.template.loaders.app_directories.Loader
: /www/wwwroot/www.codingdict.com/osapp/templates/tools/xml-format.html (Source does not exist)/www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@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 | TemplateDoesNotExist('tools/xml-format.html') |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f47f52b4c50>> |
request | <WSGIRequest: GET '/tools/xml-format.html'> |
/www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/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 |
---|---|
callback | <function tools at 0x7f47f41d30e0> |
callback_args | () |
callback_kwargs | {'toolsname': 'xml-format.html'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f47f52e4b50>> |
request | <WSGIRequest: GET '/tools/xml-format.html'> |
resolver | <URLResolver 'CodingDict.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=tutorials.views.tools, args=(), kwargs={'toolsname': 'xml-format.html'}, url_name=tools, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f47f52b4c50> |
wrapped_callback | <function tools at 0x7f47f41d30e0> |
/www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.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:
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 |
---|---|
callback | <function tools at 0x7f47f41d30e0> |
callback_args | () |
callback_kwargs | {'toolsname': 'xml-format.html'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f47f52e4b50>> |
request | <WSGIRequest: GET '/tools/xml-format.html'> |
resolver | <URLResolver 'CodingDict.urls' (None:None) '^/'> |
resolver_match | ResolverMatch(func=tutorials.views.tools, args=(), kwargs={'toolsname': 'xml-format.html'}, url_name=tools, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f47f52b4c50> |
wrapped_callback | <function tools at 0x7f47f41d30e0> |
./tutorials/views.py
in tools
}
open_html.close()
return render(request, 'try/html/try.html',ctx)
def tools(request, toolsname):
mypath = 'tools/' + toolsname
return render(request,mypath,{})...
# 教程列表
def tutorials(request):
# 分类
category_list = Category.objects.order_by('weight').all()
Variable | Value |
---|---|
mypath | 'tools/xml-format.html' |
request | <WSGIRequest: GET '/tools/xml-format.html'> |
toolsname | 'xml-format.html' |
/www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/site-packages/django/shortcuts.py
in render
def render(request, template_name, context=None, content_type=None, status=None, using=None):
"""
Return a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)...
return HttpResponse(content, content_type, status)
def redirect(to, *args, permanent=False, **kwargs):
"""
Return an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | {} |
request | <WSGIRequest: GET '/tools/xml-format.html'> |
status | None |
template_name | 'tools/xml-format.html' |
using | None |
/www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/site-packages/django/template/loader.py
in render_to_string
Load a template and render it with a context. Return a string.
template_name may be a string or a list of strings.
"""
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)
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {} |
request | <WSGIRequest: GET '/tools/xml-format.html'> |
template_name | 'tools/xml-format.html' |
using | None |
/www/wwwroot/www.codingdict.com/4646ddaa20b06cee8a147078159c3a3e_venv/lib/python3.7/site-packages/django/template/loader.py
in get_template
engines = _engine_list(using)
for engine in engines:
try:
return engine.get_template(template_name)
except TemplateDoesNotExist as e:
chain.append(e)
raise TemplateDoesNotExist(template_name, chain=chain)...
def select_template(template_name_list, using=None):
"""
Load and return a template for one of the given names.
Variable | Value |
---|---|
chain | [TemplateDoesNotExist('tools/xml-format.html')] |
engine | <django.template.backends.django.DjangoTemplates object at 0x7f47ebe8ebd0> |
engines | [<django.template.backends.django.DjangoTemplates object at 0x7f47ebe8ebd0>] |
template_name | 'tools/xml-format.html' |
using | None |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTENT_LENGTH | '' |
CONTENT_TYPE | '' |
DOCUMENT_ROOT | '/www/wwwroot/www.codingdict.com' |
HTTPS | 'on' |
HTTP_ACCEPT | '*/*' |
HTTP_CDN_SRC_IP | '18.232.188.122' |
HTTP_CONNECTION | 'keep-alive' |
HTTP_HOST | 'www.codingdict.com' |
HTTP_REFERER | 'http://codingdict.com/tools/xml-format.html' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_VIA | '1.1 PSmgnyNY3xg48:7 (W), 1.1 PSxgHK4ho170:3 (W)' |
HTTP_X_CDN_SRC_PORT | '48326' |
HTTP_X_FORWARDED_FOR | '18.232.188.122' |
HTTP_X_FORWARDED_IP | '18.232.188.122' |
HTTP_X_INITIAL_URL | 'https://www.codingdict.com/tools/xml-format.html' |
HTTP_X_WS_REQUEST_ID | '660598f9_PSmgnyNY3aa36_23499-30785' |
PATH_INFO | '/tools/xml-format.html' |
QUERY_STRING | '' |
REMOTE_ADDR | '163.171.198.160' |
REMOTE_PORT | '64136' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/tools/xml-format.html' |
SCRIPT_NAME | '' |
SERVER_NAME | 'www.codingdict.com' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
UWSGI_CHDIR | '/www/wwwroot/www.codingdict.com/' |
UWSGI_SCRIPT | 'CodingDict.wsgi' |
uwsgi.core | 1 |
uwsgi.node | b'cg-train-157' |
uwsgi.version | b'2.0.17' |
wsgi.errors | <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'> |
wsgi.file_wrapper | '' |
wsgi.input | <uwsgi._Input object at 0x7f47e8637a30> |
wsgi.multiprocess | True |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
CodingDict.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
AJAXIMAGE_AUTH_TEST | <function <lambda> at 0x7f4806312710> |
ALLOWED_HOSTS | ['doc.codingdict.com', 'codingdict.com', 'www.codingdict.com', '47.243.138.0', 'localhost'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
AVATAR_ADD_TEMPLATE | '' |
AVATAR_ALLOWED_FILE_EXTS | None |
AVATAR_AUTO_GENERATE_SIZES | (80,) |
AVATAR_CACHE_ENABLED | True |
AVATAR_CACHE_TIMEOUT | 3600 |
AVATAR_CHANGE_TEMPLATE | '' |
AVATAR_CLEANUP_DELETED | False |
AVATAR_DEFAULT_SIZE | 80 |
AVATAR_DEFAULT_URL | 'avatar/img/default.jpg' |
AVATAR_DELETE_TEMPLATE | '' |
AVATAR_EXPOSE_USERNAMES | True |
AVATAR_FACEBOOK_GET_ID | None |
AVATAR_GRAVATAR_BASE_URL | 'https://www.gravatar.com/avatar/' |
AVATAR_GRAVATAR_DEFAULT | None |
AVATAR_GRAVATAR_FIELD | 'email' |
AVATAR_GRAVATAR_FORCEDEFAULT | False |
AVATAR_HASH_FILENAMES | False |
AVATAR_HASH_USERDIRNAMES | False |
AVATAR_MAX_AVATARS_PER_USER | 42 |
AVATAR_MAX_SIZE | 1048576 |
AVATAR_PATH_HANDLER | 'avatar.models.avatar_path_handler' |
AVATAR_PROVIDERS | ('avatar.providers.PrimaryAvatarProvider', 'avatar.providers.GravatarAvatarProvider', 'avatar.providers.DefaultAvatarProvider') |
AVATAR_RANDOMIZE_HASHES | False |
AVATAR_RESIZE_METHOD | 1 |
AVATAR_STORAGE | 'django.core.files.storage.FileSystemStorage' |
AVATAR_STORAGE_DIR | 'avatars' |
AVATAR_THUMB_FORMAT | 'JPEG' |
AVATAR_THUMB_QUALITY | 85 |
BASE_DIR | '/www/wwwroot/www.codingdict.com' |
BOOTSTRAP_COLOR_TYPES | ['default', 'primary', 'success', 'info', 'warning', 'danger'] |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'KEY_PREFIX': '********************', 'LOCATION': '127.0.0.1:10201', 'TIMEOUT': 36000}, 'locmemcache': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': 'unique-snowflake', 'TIMEOUT': 10800}} |
CACHE_CONTROL_MAX_AGE | 2592000 |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CAPTCHA_CHALLENGE_FUNCT | 'captcha.helpers.random_char_challenge' |
COMPRESS_CACHEABLE_PRECOMPILERS | () |
COMPRESS_CACHE_BACKEND | 'default' |
COMPRESS_CACHE_KEY_FUNCTION | '********************' |
COMPRESS_CLEAN_CSS_ARGUMENTS | '' |
COMPRESS_CLEAN_CSS_BINARY | 'cleancss' |
COMPRESS_CLOSURE_COMPILER_ARGUMENTS | '' |
COMPRESS_CLOSURE_COMPILER_BINARY | 'java -jar compiler.jar' |
COMPRESS_CSS_COMPRESSOR | 'compressor.css.CssCompressor' |
COMPRESS_CSS_FILTERS | ['compressor.filters.css_default.CssAbsoluteFilter', 'compressor.filters.cssmin.CSSMinFilter'] |
COMPRESS_CSS_HASHING_METHOD | 'mtime' |
COMPRESS_DATA_URI_MAX_SIZE | 1024 |
COMPRESS_DEBUG_TOGGLE | None |
COMPRESS_ENABLED | False |
COMPRESS_JINJA2_GET_ENVIRONMENT | <function CompressorConf.JINJA2_GET_ENVIRONMENT at 0x7f47f6692f80> |
COMPRESS_JS_COMPRESSOR | 'compressor.js.JsCompressor' |
COMPRESS_JS_FILTERS | ['compressor.filters.jsmin.JSMinFilter'] |
COMPRESS_MINT_DELAY | 30 |
COMPRESS_MTIME_DELAY | 10 |
COMPRESS_OFFLINE | False |
COMPRESS_OFFLINE_CONTEXT | {'STATIC_URL': '/static/'} |
COMPRESS_OFFLINE_MANIFEST | 'manifest.json' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
COMPRESS_OUTPUT_DIR | 'CACHE' |
COMPRESS_PARSER | 'compressor.parser.AutoSelectParser' |
COMPRESS_PRECOMPILERS | () |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
COMPRESS_ROOT | '/www/wwwroot/www.codingdict.com/collectedstatic' |
COMPRESS_STORAGE | 'compressor.storage.CompressorFileStorage' |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {'STATIC_URL': '/static/'} |
COMPRESS_URL | '/static/' |
COMPRESS_URL_PLACEHOLDER | '/__compressor_url_placeholder__/' |
COMPRESS_VERBOSE | False |
COMPRESS_YUGLIFY_BINARY | 'yuglify' |
COMPRESS_YUGLIFY_CSS_ARGUMENTS | '--terminal' |
COMPRESS_YUGLIFY_JS_ARGUMENTS | '--terminal' |
COMPRESS_YUI_BINARY | 'java -jar yuicompressor.jar' |
COMPRESS_YUI_CSS_ARGUMENTS | '' |
COMPRESS_YUI_JS_ARGUMENTS | '' |
CONTENT_DIR | '/www/wwwroot/www.codingdict.com/static' |
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.mysql', 'HOST': '127.0.0.1', 'NAME': 'codingdict2', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'root'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 20000 |
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', '%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'] |
DATE_FORMAT | 'N j, 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'] |
DATE_TIME_FORMAT | '%Y-%m-%d' |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_CONTENT_TYPE | 'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'email' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISABLE_USERNAME | False |
DISALLOWED_USER_AGENTS | [] |
EMAIL_ACTIVATION_AFTER_CHANGING | True |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtpdm.aliyun.com' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'user' |
EMAIL_PORT | 465 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | True |
EMAIL_USE_TLS | False |
ENABLE_ACTIVATION_AFTER_EMAIL_CHANGE | True |
ENABLE_USER_ACTIVATION | True |
FILE_CHARSET | 'utf-8' |
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 | None |
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.sitemaps', 'pure_pagination', 'django.contrib.sites', 'admin_honeypot', 'captcha', 'compressor', 'bootstrap4', 'meta', 'pagedown', 'myapp', 'accounts', 'tutorials', 'honeypot', 'blogs', 'course', 'sources', 'projects', 'avatar', 'qa', 'martor', 'smart_selects', 'osapp'] |
INTERNAL_IPS | [] |
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'), ('dsb', 'Lower Sorbian'), ('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'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('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 Bokmål'), ('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')] |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
LANGUAGE_CODE | 'zh-hans' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LOCALE_PATHS | ['/www/wwwroot/www.codingdict.com/static/locale'] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | 'index' |
LOGIN_URL | 'accounts:log_in' |
LOGIN_VIA_EMAIL | False |
LOGIN_VIA_EMAIL_OR_USERNAME | True |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MARTOR_ENABLE_CONFIGS | {'imgur': 'true', 'jquery': 'true', 'mention': 'true'} |
MARTOR_UPLOAD_PATH | 'images/qa/2023/08/08/' |
MARTOR_UPLOAD_URL | '/api/uploader/' |
MAX_IMAGE_UPLOAD_SIZE | 5242880 |
MEDIA_ROOT | '/www/wwwroot/www.codingdict.com/media/' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.cookie.CookieStorage' |
META_SITE_DOMAIN | 'CodingDict.com' |
META_SITE_NAME | '编程字典' |
META_SITE_PROTOCOL | 'https' |
MIDDLEWARE | ['django.middleware.cache.UpdateCacheMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.cache.FetchFromCacheMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PAGINATE_BY | 10 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
RESTORE_PASSWORD_VIA_EMAIL_OR_USERNAME | '********************' |
ROOT_URLCONF | 'CodingDict.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
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 | 'CodingDict.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SIGN_UP_FIELDS | ['username', 'email', 'password1', 'password2'] |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
SITE_ROOT | '/www/wwwroot/www.codingdict.com' |
STATICFILES_DIRS | ('/www/wwwroot/www.codingdict.com/static',) |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'compressor.finders.CompressorFinder') |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/www/wwwroot/www.codingdict.com/collectedstatic' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/www/wwwroot/www.codingdict.com/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', 'blogs.context_processors.seo_processor']}}] |
TESTING | True |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | '%Y-%m-%d %H:%M:%S' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'UTC' |
USE_I18N | True |
USE_L10N | True |
USE_REMEMBER_ME | False |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'CodingDict.wsgi.application' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
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.