SystemShowInfo matching query does not exist.
Request Method: | GET |
---|---|
Request URL: | http://data.pkthinker.com/companyinfo/notice/b42136ac-df8a-4798-bfb3-4234bf435e9b/ |
Django Version: | 1.11.8 |
Exception Type: | DoesNotExist |
Exception Value: | SystemShowInfo matching query does not exist. |
Exception Location: | /srv/virtualenvs/pkthinker2/lib/python2.7/site-packages/django/db/models/query.py in get, line 380 |
Python Executable: | /usr/local/bin/uwsgi |
Python Version: | 2.7.5 |
Python Path: | ['/srv/www/pkthinker_v2/', '.', '', '/srv/virtualenvs/pkthinker2/lib/python27.zip', '/srv/virtualenvs/pkthinker2/lib/python2.7', '/srv/virtualenvs/pkthinker2/lib/python2.7/plat-linux2', '/srv/virtualenvs/pkthinker2/lib/python2.7/lib-tk', '/srv/virtualenvs/pkthinker2/lib/python2.7/lib-old', '/srv/virtualenvs/pkthinker2/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk', '/srv/virtualenvs/pkthinker2/lib/python2.7/site-packages'] |
Server time: | 星期四, 28 三月 2024 17:56:23 +0800 |
/srv/virtualenvs/pkthinker2/lib/python2.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, assigned=available_attrs(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('SystemShowInfo matching query does not exist.',) |
get_response | <bound method WSGIHandler._legacy_get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x33e5150>> |
request | <WSGIRequest: GET '/companyinfo/notice/b42136ac-df8a-4798-bfb3-4234bf435e9b/'> |
/srv/virtualenvs/pkthinker2/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request)...
return response
Variable | Value |
---|---|
middleware_method | <bound method UserMiddleware.process_request of <CustomMiddleware.GetCurrentUserMiddleware.UserMiddleware object at 0xb0c7210>> |
request | <WSGIRequest: GET '/companyinfo/notice/b42136ac-df8a-4798-bfb3-4234bf435e9b/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x33e5150> |
/srv/virtualenvs/pkthinker2/lib/python2.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 ShowDetailInfo at 0xb37a758> |
callback_args | () |
callback_kwargs | {'Id': u'b42136ac-df8a-4798-bfb3-4234bf435e9b', 'type': u'notice'} |
e | DoesNotExist('SystemShowInfo matching query does not exist.',) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0xaf8ecd0>> |
request | <WSGIRequest: GET '/companyinfo/notice/b42136ac-df8a-4798-bfb3-4234bf435e9b/'> |
resolver | <RegexURLResolver 'PKthinker.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=PKthinker.views.ShowDetailInfo, args=(), kwargs={'type': u'notice', 'Id': u'b42136ac-df8a-4798-bfb3-4234bf435e9b'}, url_name=showdetailinfo, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x33e5150> |
wrapped_callback | <function ShowDetailInfo at 0xb37a758> |
/srv/virtualenvs/pkthinker2/lib/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:
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 ShowDetailInfo at 0xb37a758> |
callback_args | () |
callback_kwargs | {'Id': u'b42136ac-df8a-4798-bfb3-4234bf435e9b', 'type': u'notice'} |
e | DoesNotExist('SystemShowInfo matching query does not exist.',) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0xaf8ecd0>> |
request | <WSGIRequest: GET '/companyinfo/notice/b42136ac-df8a-4798-bfb3-4234bf435e9b/'> |
resolver | <RegexURLResolver 'PKthinker.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=PKthinker.views.ShowDetailInfo, args=(), kwargs={'type': u'notice', 'Id': u'b42136ac-df8a-4798-bfb3-4234bf435e9b'}, url_name=showdetailinfo, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x33e5150> |
wrapped_callback | <function ShowDetailInfo at 0xb37a758> |
/srv/www/pkthinker_v2/PKthinker/views.py
in ShowDetailInfo
knowledges = SystemShowInfo.objects.filter(ShowType=1)
maps = SystemShowInfo.objects.filter(ShowType=2)
reports = SystemShowInfo.objects.filter(ShowType=3)
knowledgemng = SystemShowInfo.objects.filter(ShowType=4)[0:1]
plans = SystemShowInfo.objects.filter(ShowType=5)
notices = SystemShowInfo.objects.filter(ShowType=6)
artic = SystemShowInfo.objects.get(Id=Id)...
articcontent = artic.Content
context = {'viewpoints': viewpoints, 'knowledges': knowledges, 'maps': maps, 'reports': reports,
'artictitle': artic.Title,
'knowledgemng': knowledgemng, 'plans': plans, 'notices': notices, type: 'active', 'artic': articcontent}
Variable | Value |
---|---|
Id | u'b42136ac-df8a-4798-bfb3-4234bf435e9b' |
knowledgemng | <QuerySet []> |
knowledges | <QuerySet []> |
maps | <QuerySet [<SystemShowInfo: 电厂地图>]> |
notices | <QuerySet [<SystemShowInfo: 《“十四五”能源领域科技创新规划》发布>, <SystemShowInfo: 2022年能源工作指导意见>, <SystemShowInfo: “双碳”离不开煤炭>, <SystemShowInfo: 央视财经:从能源看懂中国经济>]> |
plans | <QuerySet [<SystemShowInfo: 七种常用的数据挖掘方法>, <SystemShowInfo: 电力行业知识库解决方案>, <SystemShowInfo: 企业知识库建设>]> |
reports | <QuerySet []> |
request | <WSGIRequest: GET '/companyinfo/notice/b42136ac-df8a-4798-bfb3-4234bf435e9b/'> |
type | u'notice' |
viewpoints | <QuerySet [<SystemShowInfo: 电力企业亟待提升“知识管理” >, <SystemShowInfo: 知识分工与CKO (首席知识官)>, <SystemShowInfo: 企业知识整合与共享>]> |
/srv/virtualenvs/pkthinker2/lib/python2.7/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 |
---|---|
args | () |
kwargs | {'Id': u'b42136ac-df8a-4798-bfb3-4234bf435e9b'} |
name | 'get' |
self | <django.db.models.manager.Manager object at 0xeb66290> |
/srv/virtualenvs/pkthinker2/lib/python2.7/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 |
---|---|
args | () |
clone | <QuerySet []> |
kwargs | {'Id': u'b42136ac-df8a-4798-bfb3-4234bf435e9b'} |
num | 0 |
self | <QuerySet [<SystemShowInfo: 七种常用的数据挖掘方法>, <SystemShowInfo: 电厂地图>, <SystemShowInfo: 电力企业亟待提升“知识管理” >, <SystemShowInfo: 知识分工与CKO (首席知识官)>, <SystemShowInfo: 企业知识整合与共享>, <SystemShowInfo: 电力行业知识库解决方案>, <SystemShowInfo: 企业知识库建设>, <SystemShowInfo: 《“十四五”能源领域科技创新规划》发布>, <SystemShowInfo: 2022年能源工作指导意见>, <SystemShowInfo: “双碳”离不开煤炭>, <SystemShowInfo: 央视财经:从能源看懂中国经济>]> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTENT_LENGTH | '' |
CONTENT_TYPE | '' |
DOCUMENT_ROOT | '/usr/local/nginx/html' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'data.pkthinker.com' |
HTTP_USER_AGENT | 'claudebot' |
PATH_INFO | u'/companyinfo/notice/b42136ac-df8a-4798-bfb3-4234bf435e9b/' |
QUERY_STRING | '' |
REMOTE_ADDR | '3.235.130.73' |
REMOTE_PORT | '48488' |
REQUEST_METHOD | 'GET' |
REQUEST_URI | '/companyinfo/notice/b42136ac-df8a-4798-bfb3-4234bf435e9b/' |
SCRIPT_NAME | u'' |
SERVER_NAME | 'data.pkthinker.com' |
SERVER_PORT | '80' |
SERVER_PROTOCOL | 'HTTP/1.1' |
UWSGI_CHDIR | '/srv/www/pkthinker_v2/PKthinker' |
UWSGI_PYHOME | '/srv/virtualenvs/pkthinker2' |
UWSGI_SCRIPT | '/srv/www/pkthinker_v2/PKthinker.wsgi' |
uwsgi.node | 'AY140303150419227c31Z' |
uwsgi.version | '2.0.2' |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0xaf941e0> |
wsgi.file_wrapper | '' |
wsgi.input | <uwsgi._Input object at 0x10430b88> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
PKthinker.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | () |
ALLOWED_HOSTS | ['115.28.165.28', '127.0.0.1', 'localhost', 'data.pkthinker.com', '0.0.0.0'] |
ANONYMOUS_USER_ID | -1 |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ('CustomUser.userloginbackend.CustomBackend', 'CustomUser.userloginbackend.WechatAuthBackend', 'CustomUser.userloginbackend.MobileAuthBackend') |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | 'CustomUser.UserEx' |
CACHES | {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'redis://127.0.0.1:6379/3', 'OPTIONS': {'CLIENT_CLASS': 'django_redis.client.DefaultClient', 'CONNECTION_POOL_KWARGS': {'max_connections': 100}}}} |
CACHE_MIDDLEWARE_ALIAS | u'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CKEDITOR_ALLOW_NONIMAGE_FILES | True |
CKEDITOR_CONFIGS | {'default': {'language': 'zh', 'toolbar': 'full', 'width': '100%'}} |
CKEDITOR_UPLOAD_PATH | 'ckUploads' |
CORS_ALLOW_HEADERS | ('accept', 'accept-encoding', 'authorization', 'content-type', 'dnt', 'origin', 'user-agent', 'x-csrftoken', 'x-requested-with', 'usertoken') |
CORS_ALLOW_METHODS | ('GET', 'POST') |
CORS_ORIGIN_ALLOW_ALL | True |
CORS_ORIGIN_WHITELIST | () |
CRISPY_CLASS_CONVERTERS | {'fileinput': 'fileinput fileUpload form-control', 'passwordinput': u'********************', 'textinput': 'textinput textInput form-control'} |
CRISPY_TEMPLATE_PACK | 'bootstrap3' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | u'csrftoken' |
CSRF_COOKIE_PATH | u'/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | u'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | u'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.postgresql_psycopg2', 'HOST': '115.28.165.28', 'NAME': 'pkthinker_V2.0', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'postgres'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'Y-m-d H:i' |
DATETIME_INPUT_FORMATS | [u'%Y-%m-%d %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d', u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M', u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y %H:%M', u'%m/%d/%y'] |
DATE_FORMAT | 'Y-m-d' |
DATE_INPUT_FORMATS | [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y'] |
DBENGING | 'django.db.backends.postgresql_psycopg2' |
DBNAME | 'pkthinker_V2.0' |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | u'.' |
DEFAULT_CHARSET | 'UTF-8' |
DEFAULT_CONTENT_TYPE | u'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | u'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | u'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | u'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | u'' |
DEFAULT_TABLESPACE | u'' |
DIRNAME | '/srv/www/pkthinker_v2/PKthinker' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | u'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | u'localhost' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | u'' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
FILE_CHARSET | u'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'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 | u'django.forms.renderers.DjangoTemplates' |
HOSTNAME | '115.28.165.28' |
HOSTPORT | '5432' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'xadmin', 'crispy_forms', 'DjangoUeditor', 'ckeditor', 'ckeditor_uploader', 'taggit', 'import_export', 'django_filters', 'django_extensions', 'rest_framework', 'django_apscheduler', 'django_bulk_update', 'tastypie', 'corsheaders', 'CustomUser', 'SystemInfoMngmt', 'BaseInfoMngmt', 'ContentMngmt', 'DataMngmt', 'EnterpriseInfoMngmt', 'biz_restapi', 'PsychologicalConsulting', 'SupplyDemandMngmt') |
INTERNAL_IPS | [] |
LANGUAGES | [(u'af', u'Afrikaans'), (u'ar', u'Arabic'), (u'ast', u'Asturian'), (u'az', u'Azerbaijani'), (u'bg', u'Bulgarian'), (u'be', u'Belarusian'), (u'bn', u'Bengali'), (u'br', u'Breton'), (u'bs', u'Bosnian'), (u'ca', u'Catalan'), (u'cs', u'Czech'), (u'cy', u'Welsh'), (u'da', u'Danish'), (u'de', u'German'), (u'dsb', u'Lower Sorbian'), (u'el', u'Greek'), (u'en', u'English'), (u'en-au', u'Australian English'), (u'en-gb', u'British English'), (u'eo', u'Esperanto'), (u'es', u'Spanish'), (u'es-ar', u'Argentinian Spanish'), (u'es-co', u'Colombian Spanish'), (u'es-mx', u'Mexican Spanish'), (u'es-ni', u'Nicaraguan Spanish'), (u'es-ve', u'Venezuelan Spanish'), (u'et', u'Estonian'), (u'eu', u'Basque'), (u'fa', u'Persian'), (u'fi', u'Finnish'), (u'fr', u'French'), (u'fy', u'Frisian'), (u'ga', u'Irish'), (u'gd', u'Scottish Gaelic'), (u'gl', u'Galician'), (u'he', u'Hebrew'), (u'hi', u'Hindi'), (u'hr', u'Croatian'), (u'hsb', u'Upper Sorbian'), (u'hu', u'Hungarian'), (u'ia', u'Interlingua'), (u'id', u'Indonesian'), (u'io', u'Ido'), (u'is', u'Icelandic'), (u'it', u'Italian'), (u'ja', u'Japanese'), (u'ka', u'Georgian'), (u'kk', u'Kazakh'), (u'km', u'Khmer'), (u'kn', u'Kannada'), (u'ko', u'Korean'), (u'lb', u'Luxembourgish'), (u'lt', u'Lithuanian'), (u'lv', u'Latvian'), (u'mk', u'Macedonian'), (u'ml', u'Malayalam'), (u'mn', u'Mongolian'), (u'mr', u'Marathi'), (u'my', u'Burmese'), (u'nb', u'Norwegian Bokm\xe5l'), (u'ne', u'Nepali'), (u'nl', u'Dutch'), (u'nn', u'Norwegian Nynorsk'), (u'os', u'Ossetic'), (u'pa', u'Punjabi'), (u'pl', u'Polish'), (u'pt', u'Portuguese'), (u'pt-br', u'Brazilian Portuguese'), (u'ro', u'Romanian'), (u'ru', u'Russian'), (u'sk', u'Slovak'), (u'sl', u'Slovenian'), (u'sq', u'Albanian'), (u'sr', u'Serbian'), (u'sr-latn', u'Serbian Latin'), (u'sv', u'Swedish'), (u'sw', u'Swahili'), (u'ta', u'Tamil'), (u'te', u'Telugu'), (u'th', u'Thai'), (u'tr', u'Turkish'), (u'tt', u'Tatar'), (u'udm', u'Udmurt'), (u'uk', u'Ukrainian'), (u'ur', u'Urdu'), (u'vi', u'Vietnamese'), (u'zh-hans', u'Simplified Chinese'), (u'zh-hant', u'Traditional Chinese')] |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'zh-Hans' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LIST_PER_PAGE | 100 |
LOCALE_PATHS | [] |
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} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | u'/accounts/profile/' |
LOGIN_URL | u'/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | () |
MEDIA_ROOT | '/srv/www/pkthinker_v2/PKthinker/../media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | None |
MIDDLEWARE_CLASSES | ('corsheaders.middleware.CorsMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'CustomMiddleware.GetCurrentUserMiddleware.UserMiddleware') |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | u'F j' |
NUMBER_GROUPING | 0 |
OSS_BASE_URL | 'https://cdn2.pkthinker.com/' |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'PKthinker.urls' |
SECRET_KEY | u'********************' |
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 | u'root@localhost' |
SESSION_CACHE_ALIAS | u'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | u'sessionid' |
SESSION_COOKIE_PATH | u'/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | u'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 | 'PKthinker.settings' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
STATICFILES_DIRS | ('/srv/www/pkthinker_v2/PKthinker/static',) |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'django.contrib.staticfiles.finders.DefaultStorageFinder') |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/srv/www/pkthinker_v2/PKthinker/../static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['templates', '/srv/www/pkthinker_v2/PKthinker/../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'], 'debug': True}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | u',' |
TIME_FORMAT | 'H:i' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'Asia/Shanghai' |
USERNAME | 'postgres' |
USERPWD | '123' |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | False |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'PKthinker.wsgi.application' |
XADMIN_CONF | 'PKthinker.xadmin_conf' |
X_FRAME_OPTIONS | u'SAMEORIGIN' |
YEAR_MONTH_FORMAT | u'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.