HTTP Error 500: Internal Server Error
Request Method: | GET |
---|---|
Request URL: | http://winfieldco.com/ |
Django Version: | 1.9.13 |
Exception Type: | HTTPError |
Exception Value: | HTTP Error 500: Internal Server Error |
Exception Location: | /usr/lib/python2.7/urllib2.py in http_error_default, line 531 |
Python Executable: | /usr/bin/python |
Python Version: | 2.7.6 |
Python Path: | ['/opt/virtualenv/parts/lib/python2.7/site-packages', '/opt/django_parts', '/opt/virtualenv/parts/lib/python2.7/site-packages/Django-1.9.13.post3-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/djangorestframework-3.1.3-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/dirsync-2.2.3-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/MySQL_python-1.2.5-py2.7-linux-x86_64.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/var_dump-1.0.1-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/psutil-4.1.0-py2.7-linux-x86_64.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/nodeenv-1.1.2-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/Pillow-2.8.2-py2.7-linux-x86_64.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/enum34-1.0.4-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/Fabric-1.10.1-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/pycrypto-2.6.1-py2.7-linux-x86_64.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/Jinja2-2.9.6-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/django_multiselectfield-0.1.3-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/python_dateutil-2.7.2-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/django_debug_toolbar-1.3.0-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/celery-3.1.18-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/django_model_utils-3.1.2.post1-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/django_tinymce-1.5.3.post4-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/django_dbsettings-0.7.2.post11-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/django_user_agents-0.3.0-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/html2text-2015.2.18-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/demjson-2.2.4-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/termcolor-1.1.0-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/django_spurl-0.6.2-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/tailer-0.4.1-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/django_localflavor-1.1-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/netaddr-0.7.19-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/tabulate-0.8.1-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/jsonschema-2.6.0-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/zdaemon-4.1.0-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/shortuuid-0.5.0-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/django_autoslug-1.9.3-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/django_view_shortcuts-1.3.5-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/paramiko-2.4.2-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/MarkupSafe-1.1.1-py2.7-linux-x86_64.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/sqlparse-0.3.0-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/pytz-2019.1-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/kombu-3.0.37-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/billiard-3.3.0.23-py2.7-linux-x86_64.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/user_agents-2.0-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/URLObject-2.4.3-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/functools32-3.2.3.post2-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/ZConfig-3.4.0-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/PyNaCl-1.3.0-py2.7-linux-x86_64.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/pyasn1-0.4.5-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/cryptography-2.6.1-py2.7-linux-x86_64.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/bcrypt-3.1.6-py2.7-linux-x86_64.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/anyjson-0.3.3-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/amqp-1.4.9-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/ua_parser-0.8.0-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/cffi-1.12.2-py2.7-linux-x86_64.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/ipaddress-1.0.22-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/asn1crypto-0.24.0-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages/pycparser-2.19-py2.7.egg', '/opt/virtualenv/parts/lib/python2.7/site-packages', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/var/www/html/django_wco_2019', '/var/www/html/django_wco_2019/wco_2019', '/var/www'] |
Server time: | Tue, 19 Mar 2024 06:35:35 +0000 |
/opt/virtualenv/parts/lib/python2.7/site-packages/Django-1.9.13.post3-py2.7.egg/django/core/handlers/base.py
in get_response
# Use a flag to check if the response was rendered to prevent
# multiple renderings or to force rendering if necessary.
response_is_rendered = False
try:
response = None
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)...
if response:
break
if response is None:
if hasattr(request, 'urlconf'):
# Reset url resolver with a custom URLconf.
Variable | Value |
---|---|
response_is_rendered | False |
middleware_method | <bound method PrerenderMiddleware.process_request of <parts.contrib.seo.middleware.PrerenderMiddleware object at 0x7f4fcc510150>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f4fda305310> |
request | <WSGIRequest: GET '/'> |
resolver | <RegexURLResolver 'urls' (None:None) ^/> |
response | None |
urlconf | 'urls' |
/opt/django_parts/parts/contrib/seo/middleware.py
in process_request
exclude = False
for exclude_url in self.EXCLUDE_URLS:
if request.path.startswith(exclude_url):
exclude = True
if exclude == False:
url = "%s://%s?_prerender_=%s%s" % (request.scheme, request.get_host(), request.path, '' if string_utils.is_blank(request.META['QUERY_STRING']) else '?' + request.META['QUERY_STRING'])
response = urlopen(url)...
response = response.read()
return HttpResponse(response)
return None
Variable | Value |
---|---|
url | u'http://winfieldco.com?_prerender_=/' |
exclude | False |
self | <parts.contrib.seo.middleware.PrerenderMiddleware object at 0x7f4fcc510150> |
exclude_url | '/assets/' |
request | <WSGIRequest: GET '/'> |
/usr/lib/python2.7/urllib2.py
in urlopen
__version__ = sys.version[:3]
_opener = None
def urlopen(url, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
global _opener
if _opener is None:
_opener = build_opener()
return _opener.open(url, data, timeout)...
def install_opener(opener):
global _opener
_opener = opener
# do these error classes make sense?
Variable | Value |
---|---|
url | u'http://winfieldco.com?_prerender_=/' |
data | None |
timeout | <object object at 0x7f4feae4c120> |
/usr/lib/python2.7/urllib2.py
in open
response = self._open(req, data)
# post-process response
meth_name = protocol+"_response"
for processor in self.process_response.get(protocol, []):
meth = getattr(processor, meth_name)
response = meth(req, response)...
return response
def _open(self, req, data=None):
result = self._call_chain(self.handle_open, 'default',
'default_open', req)
Variable | Value |
---|---|
protocol | u'http' |
self | <urllib2.OpenerDirector instance at 0x7f4fc7a30cb0> |
req | <urllib2.Request instance at 0x7f4fc525f7e8> |
meth_name | u'http_response' |
response | <addinfourl at 139980586703976 whose fp = <socket._fileobject object at 0x7f4fc5304e50>> |
timeout | <object object at 0x7f4feae4c120> |
meth | <bound method HTTPErrorProcessor.http_response of <urllib2.HTTPErrorProcessor instance at 0x7f4fc7a30ef0>> |
data | None |
processor | <urllib2.HTTPErrorProcessor instance at 0x7f4fc7a30ef0> |
fullurl | u'http://winfieldco.com?_prerender_=/' |
/usr/lib/python2.7/urllib2.py
in http_response
def http_response(self, request, response):
code, msg, hdrs = response.code, response.msg, response.info()
# According to RFC 2616, "2xx" code indicates that the client's
# request was successfully received, understood, and accepted.
if not (200 <= code < 300):
response = self.parent.error(
'http', request, response, code, msg, hdrs)...
return response
https_response = http_response
class HTTPDefaultErrorHandler(BaseHandler):
Variable | Value |
---|---|
code | 500 |
hdrs | <httplib.HTTPMessage instance at 0x7f4fc5255518> |
self | <urllib2.HTTPErrorProcessor instance at 0x7f4fc7a30ef0> |
request | <urllib2.Request instance at 0x7f4fc525f7e8> |
msg | 'Internal Server Error' |
response | <addinfourl at 139980586703976 whose fp = <socket._fileobject object at 0x7f4fc5304e50>> |
/usr/lib/python2.7/urllib2.py
in error
args = (dict, proto, meth_name) + args
result = self._call_chain(*args)
if result:
return result
if http_err:
args = (dict, 'default', 'http_error_default') + orig_args
return self._call_chain(*args)...
# XXX probably also want an abstract factory that knows when it makes
# sense to skip a superclass in favor of a subclass and when it might
# make sense to include both
def build_opener(*handlers):
Variable | Value |
---|---|
orig_args | (<urllib2.Request instance at 0x7f4fc525f7e8>, <addinfourl at 139980586703976 whose fp = <socket._fileobject object at 0x7f4fc5304e50>>, 500, 'Internal Server Error', <httplib.HTTPMessage instance at 0x7f4fc5255518>) |
proto | 500 |
self | <urllib2.OpenerDirector instance at 0x7f4fc7a30cb0> |
args | ({301: [<urllib2.HTTPRedirectHandler instance at 0x7f4fc7a30e18>], 302: [<urllib2.HTTPRedirectHandler instance at 0x7f4fc7a30e18>], 303: [<urllib2.HTTPRedirectHandler instance at 0x7f4fc7a30e18>], 307: [<urllib2.HTTPRedirectHandler instance at 0x7f4fc7a30e18>], 'default': [<urllib2.HTTPDefaultErrorHandler instance at 0x7f4fc7a30dd0>]}, 'default', 'http_error_default', <urllib2.Request instance at 0x7f4fc525f7e8>, <addinfourl at 139980586703976 whose fp = <socket._fileobject object at 0x7f4fc5304e50>>, 500, 'Internal Server Error', <httplib.HTTPMessage instance at 0x7f4fc5255518>) |
meth_name | 'http_error_500' |
dict | {301: [<urllib2.HTTPRedirectHandler instance at 0x7f4fc7a30e18>], 302: [<urllib2.HTTPRedirectHandler instance at 0x7f4fc7a30e18>], 303: [<urllib2.HTTPRedirectHandler instance at 0x7f4fc7a30e18>], 307: [<urllib2.HTTPRedirectHandler instance at 0x7f4fc7a30e18>], 'default': [<urllib2.HTTPDefaultErrorHandler instance at 0x7f4fc7a30dd0>]} |
result | None |
http_err | 1 |
/usr/lib/python2.7/urllib2.py
in _call_chain
# Handlers raise an exception if no one else should try to handle
# the request, or return None if they can't but another handler
# could. Otherwise, they return the response.
handlers = chain.get(kind, ())
for handler in handlers:
func = getattr(handler, meth_name)
result = func(*args)...
if result is not None:
return result
def open(self, fullurl, data=None, timeout=socket._GLOBAL_DEFAULT_TIMEOUT):
# accept a URL or a Request object
if isinstance(fullurl, basestring):
Variable | Value |
---|---|
kind | 'default' |
chain | {301: [<urllib2.HTTPRedirectHandler instance at 0x7f4fc7a30e18>], 302: [<urllib2.HTTPRedirectHandler instance at 0x7f4fc7a30e18>], 303: [<urllib2.HTTPRedirectHandler instance at 0x7f4fc7a30e18>], 307: [<urllib2.HTTPRedirectHandler instance at 0x7f4fc7a30e18>], 'default': [<urllib2.HTTPDefaultErrorHandler instance at 0x7f4fc7a30dd0>]} |
handlers | [<urllib2.HTTPDefaultErrorHandler instance at 0x7f4fc7a30dd0>] |
self | <urllib2.OpenerDirector instance at 0x7f4fc7a30cb0> |
args | (<urllib2.Request instance at 0x7f4fc525f7e8>, <addinfourl at 139980586703976 whose fp = <socket._fileobject object at 0x7f4fc5304e50>>, 500, 'Internal Server Error', <httplib.HTTPMessage instance at 0x7f4fc5255518>) |
meth_name | 'http_error_default' |
handler | <urllib2.HTTPDefaultErrorHandler instance at 0x7f4fc7a30dd0> |
func | <bound method HTTPDefaultErrorHandler.http_error_default of <urllib2.HTTPDefaultErrorHandler instance at 0x7f4fc7a30dd0>> |
/usr/lib/python2.7/urllib2.py
in http_error_default
return response
https_response = http_response
class HTTPDefaultErrorHandler(BaseHandler):
def http_error_default(self, req, fp, code, msg, hdrs):
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)...
class HTTPRedirectHandler(BaseHandler):
# maximum number of redirections to any single URL
# this is needed because of the state that cookies introduce
max_repeats = 4
# maximum total number of redirections (regardless of URL) before
Variable | Value |
---|---|
fp | <addinfourl at 139980586703976 whose fp = <socket._fileobject object at 0x7f4fc5304e50>> |
code | 500 |
hdrs | <httplib.HTTPMessage instance at 0x7f4fc5255518> |
self | <urllib2.HTTPDefaultErrorHandler instance at 0x7f4fc7a30dd0> |
req | <urllib2.Request instance at 0x7f4fc525f7e8> |
msg | 'Internal Server Error' |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
mod_wsgi.listener_port | '81' |
CONTEXT_DOCUMENT_ROOT | '/var/www' |
SERVER_SOFTWARE | 'Apache/2.4.7 (Ubuntu)' |
SCRIPT_NAME | u'' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
SERVER_SIGNATURE | '<address>Apache/2.4.7 (Ubuntu) Server at winfieldco.com Port 80</address>\n' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/' |
SERVER_PROTOCOL | 'HTTP/1.0' |
QUERY_STRING | '' |
HTTP_X_REAL_IP | '54.242.75.224' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_CONNECTION | 'close' |
SERVER_NAME | 'winfieldco.com' |
REMOTE_ADDR | '127.0.0.1' |
HTTP_X_FORWARDED_PROTOCOL | 'http' |
mod_wsgi.queue_start | '1710830135044380' |
mod_wsgi.request_handler | 'wsgi-script' |
wsgi.url_scheme | 'http' |
PATH_TRANSLATED | '/var/www/html/django_wco_2019/wco_2019/wsgi-1.py/' |
SERVER_PORT | '80' |
wsgi.multiprocess | False |
mod_wsgi.input_chunked | '0' |
SERVER_ADDR | '127.0.0.1' |
DOCUMENT_ROOT | '/var/www' |
HTTP_ACCEPT | '*/*' |
mod_wsgi.process_group | 'site-1' |
SCRIPT_FILENAME | '/var/www/html/django_wco_2019/wco_2019/wsgi-1.py' |
SERVER_ADMIN | '[no address given]' |
wsgi.input | <mod_wsgi.Input object at 0x7f4fc52cc030> |
HTTP_HOST | 'winfieldco.com' |
CONTEXT_PREFIX | '' |
wsgi.multithread | True |
mod_wsgi.callable_object | 'application' |
REQUEST_URI | '/' |
HTTP_X_SCHEME | 'http' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_X_FORWARDED_FOR | '54.242.75.224' |
wsgi.errors | <mod_wsgi.Log object at 0x7f4fc52cc0b0> |
REMOTE_PORT | '46771' |
mod_wsgi.listener_host | '' |
REQUEST_SCHEME | 'http' |
mod_wsgi.version | (3, 4) |
wsgi.run_once | False |
mod_wsgi.application_group | 'winfieldco.com|' |
mod_wsgi.script_reloading | '1' |
wsgi.file_wrapper | '' |
settings
Setting | Value |
---|---|
EMAIL_TESTING_TO | None |
USE_X_FORWARDED_PORT | False |
USE_THOUSAND_SEPARATOR | False |
NATIVE_BUILDS | Error in formatting: TypeError: unorderable types: NativeBuildMode() < NativeBuildMode() |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'urls' |
MANAGERS | [('Alerts', 'alerts@winfieldco.com')] |
BROKER_URL | 'redis://localhost:6379/1' |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.PickleSerializer' |
STATIC_ROOT | '/var/www/html/django_wco_2019/wco_2019/static' |
CAPTCHA_IMAGE_SIZE | (460, 180) |
_START_UUID | '81937538-9e0f-476f-a3a1-9be7fd633ae5' |
ALLOWED_HOSTS | ['*'] |
EMAIL_HOST | 'localhost' |
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' |
IMAGE_FIELD_MAX_UPLOAD_SIZE_MB | 5 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'wco_2019-main-sessionid' |
LOCALE_PATHS | [] |
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': '', 'NAME': 'wco_2019', 'OPTIONS': {'charset': 'utf8mb4'}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, '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'] |
NATIVE_BUILD_MODE | <NativeBuildMode.DEVELOPMENT: 1> |
DEFAULT_CONTENT_TYPE | 'text/html' |
FILE_FIELD_MAX_UPLOAD_SIZE_MB | 50 |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
ORM_CACHE_DISABLE | False |
STATICFILES_STORAGE | 'parts.core.staticfiles.CustomStaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'redis_cache.RedisCache', 'LOCATION': '127.0.0.1:6379', 'OPTIONS': {'DB': 0}}, 'rfw_view': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211'}} |
MAILQUEUE_CELERY | True |
ELASTICSEARCH_INDEX_SETTINGS | {'autocomplete': {'settings': {'analysis': {'analyzer': {'default_index': {'filter': ['lowercase', 'asciifolding', 'autocomplete'], 'tokenizer': 'whitespace', 'type': 'custom'}, 'default_search': {'filter': ['lowercase', 'asciifolding'], 'tokenizer': 'whitespace', 'type': 'custom'}}, 'filter': {'autocomplete': {'max_gram': 20, 'min_gram': 1, 'type': 'edgeNGram'}}}}}, 'default': {}} |
PROJECT_REFERENCES | {'wco_2019': '/var/www/html/django_wco_2019'} |
SECURE_CONTENT_TYPE_NOSNIFF | False |
MIDDLEWARE_CLASSES | ['django.middleware.gzip.GZipMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django_user_agents.middleware.UserAgentMiddleware', 'parts.contrib.sparrow.middleware.SSLifyAdminMiddleware', 'parts.contrib.timezones.middleware.TimezoneMiddleware', 'parts.contrib.seo.middleware.PrerenderMiddleware', 'parts.core.middleware.XUACompatibleMiddleware', 'parts.core.middleware.AppendSlashMiddleware', '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' |
SESSION_COOKIE_AGE | 1209600 |
CELERYD_HIJACK_ROOT_LOGGER | False |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', 'django.template.loaders.eggs.Loader', 'parts.core.template_loaders.ExtendsAppTemplateLoader') |
MODEL_FIELD_CHECK | <parts.core.model_field_check.Check object at 0x7f4fda9e9110> |
PARTS_ROOT | '/opt/django_parts/parts' |
WSGI_APPLICATION | None |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
HAYSTACK_CONNECTIONS | {'autocomplete': {'ENGINE': 'haystack.backends.simple_backend.SimpleEngine', 'INDEX_NAME': 'haystack-autocomplete-1', 'URL': 'http://127.0.0.1:9200/'}, 'default': {'ENGINE': 'haystack.backends.simple_backend.SimpleEngine', 'INDEX_NAME': 'haystack-1', 'URL': 'http://127.0.0.1:9200/'}} |
LOGGING_LEVEL | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
AUTH_PASSWORD_VALIDATORS | u'********************' |
USE_X_FORWARDED_HOST | False |
USE_ETAGS | False |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
EMAIL_TIMEOUT | None |
SECURE_SSL_HOST | None |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
APP_ENTRY | {'hostnames': ['winfieldco.com', 'www.winfieldco.com'], 'id': 1, 'name': 'main'} |
SESSION_COOKIE_SECURE | False |
PROJECT_DIRNAME | 'wco_2019' |
SERVER_MODE | <ServerMode.STAGING: 2> |
ENABLE_DB_LOGGING | False |
SECURE_BROWSER_XSS_FILTER | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
CSRF_TRUSTED_ORIGINS | [] |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'parts.contrib.sparrow', 'django.contrib.admin', 'django.contrib.admindocs', 'django_user_agents', 'rest_framework', 'rest_framework.authtoken', 'mathfilters', 'tinymce', 'dbsettings', 'nested_admin', 'daterange_filter', 'fabric', 'redis_cache', 's3funnel', 'mptt', 'autocomplete_light', 'parts.eav', 'parts.core', 'parts.configs', 'parts.mvc', 'parts.tests', 'parts.custom_fields', 'parts.custom_styles', 'parts.settings', 'parts.tasks', 'parts.updates', 'parts.contrib.message_catalogs', 'parts.contrib.editors', 'parts.contrib.styler', 'parts.contrib.categories', 'parts.contrib.webapp', 'parts.contrib.push', 'parts.contrib.rfw', 'parts.contrib.fsms', 'parts.contrib.orm', 'parts.contrib.macros', 'parts.contrib.accounts', 'parts.contrib.seo', 'parts.contrib.api_integrations', 'parts.contrib.notifications', 'parts.contrib.ndm', 'parts.contrib.tags', 'parts.contrib.sms', 'parts.contrib.model_perspectives', 'parts.contrib.emails', 'parts.contrib.media_library', 'parts.contrib.image_attributes', 'parts.contrib.image_variants', 'parts.contrib.server_monitor', 'parts.contrib.file_uploads', 'parts.contrib.reports', 'parts.contrib.timezones', 'parts.contrib.firebase', 'parts.contrib.analytics', 'parts.contrib.social', 'parts.contrib.statuses', 'parts.contrib.non_rel', 'parts.contrib.search', 'parts.contrib.announcements', 'parts.contrib.pages', 'parts.contrib.articles', 'wco_2019.main.apps.AppConfig', 'mailqueue', 'inlinestyler', 'lxml', 'haystack', 'parts.contrib.menus', 'parts.contrib.push_notifications'] |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
USE_L10N | True |
YEAR_MONTH_FORMAT | 'F Y' |
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 |
INTERNAL_IPS | [] |
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', 'django.core.context_processors.request', 'parts.contrib.timezones.context_processors.request'] |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | True |
IMAGE_ATTRIBUTES_CACHE_DISABLE | False |
APP_SETTINGS | {'search': {'disabled': True}, 'seo': {'prerender': {'disabled': 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' |
AWS_S3_BUCKET | 'winfieldco' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
SESSION_COOKIE_PATH | '/' |
PROJECT_ROOT | '/var/www/html/django_wco_2019/wco_2019' |
DECIMAL_SEPARATOR | '.' |
LOGOUT_URL | '/accounts/logout/' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CODE_PUSH_LOGIN | None |
PASSWORD_HASHERS | u'********************' |
TEMPLATE_STRING_IF_INVALID | '' |
API_VIEWS_CACHE_DISABLE | u'********************' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
DATE_FORMAT | 'N j, Y' |
MPTT_ADMIN_LEVEL_INDENT | 30 |
MEDIA_ROOT | '/var/www/html/django_wco_2019/wco_2019/assets' |
LANGUAGE_COOKIE_PATH | '/' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | [('Alerts', 'alerts@winfieldco.com')] |
FORMAT_MODULE_PATH | None |
FORCE_SSL_ADMIN | False |
REST_FRAMEWORK | {'DEFAULT_AUTHENTICATION_CLASSES': ('parts.contrib.rfw.authentication.TokenAuthentication', 'rest_framework.authentication.SessionAuthentication'), 'DEFAULT_PERMISSION_CLASSES': (), 'EXCEPTION_HANDLER': 'parts.contrib.rfw.exception_handler.exception_handler', 'UNICODE_JSON': True} |
MEDIA_URL | '/assets/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('/var/www/html/django_wco_2019/wco_2019/templates',) |
AWS_REGION_NAME | 'us-east-1' |
CRON_SCHEDULES | {'backup': '0 7 * * *'} |
APP_ENTRIES | {'cms': {'hostnames': ['cms.winfieldco.com'], 'id': 15, 'name': 'cms'}, 'main': {'hostnames': ['winfieldco.com', 'www.winfieldco.com'], 'id': 1, 'name': 'main'}} |
BACKUP_ASSETS_EXCLUDES | ['\\*/image_variants/\\*'] |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | [] |
ALLOWED_INCLUDE_ROOTS | [] |
LOGGING | {'disable_existing_loggers': True, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'formatters': {'simple': {'format': '%(levelname)s %(message)s'}, 'verbose': {'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'formatter': 'simple', 'level': 'DEBUG'}, 'email': {'class': 'parts.core.logging_helpers.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}, 'log_db': {'backupCount': 10, 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/html/django_wco_2019/wco_2019/logs/db.log', 'formatter': 'verbose', 'level': 'DEBUG', 'maxBytes': 52428800}, 'log_debug': {'backupCount': 10, 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/html/django_wco_2019/wco_2019/logs/debug.log', 'formatter': 'verbose', 'level': 'DEBUG', 'maxBytes': 5242880}, 'log_error': {'backupCount': 10, 'class': 'logging.handlers.RotatingFileHandler', 'filename': '/var/www/html/django_wco_2019/wco_2019/logs/error.log', 'formatter': 'verbose', 'level': 'WARNING', 'maxBytes': 5242880}, 'silent': {'class': 'logging.NullHandler', 'level': 'DEBUG'}}, 'loggers': {'django.db': {'handlers': ['silent'], 'level': 'DEBUG', 'propagate': False}, 'django.request': {'level': 'ERROR', 'propagate': True}, 'django.security.DisallowedHost': {'handlers': ['silent'], 'propagate': False}, 'elasticsearch': {'level': 'INFO'}}, 'root': {'handlers': ['console', 'log_debug', 'log_error', 'email'], 'level': 'WARNING'}, 'version': 1} |
MODEL_FIELD_CHECK_REQUIRED_IGNORE | ['sessions.*', 'sites.Site.*', 'admin.*', 'auth.*', 'contenttypes.*', 'mailqueue.*', 'dbsettings.*', 'captcha.*', 'authtoken.*', '*.rght', '*.lft', '*.level', '*.tree_id', 'custom_fields.Eav*'] |
SHORT_DATE_FORMAT | 'm/d/Y' |
AWS_SECRET_KEY | u'********************' |
PROJECT_NAME | 'wco_2019' |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
IGNORABLE_404_URLS | [] |
SECURE_SSL_REDIRECT | True |
TIME_ZONE | None |
FILE_FIELD_STORAGE_OVERWRITE | False |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
CAPTCHA_FONT_SIZE | 100 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
NON_REL_DATABASE | 'wco_2019' |
EMAIL_USE_SSL | False |
SKIP_SASS_VERSION_CHECK | False |
TEMPLATES | [] |
IMAGE_VARIANTS_CACHE_DISABLE | False |
MIGRATION_MODULES | {} |
IMAGE_FIELD_STORAGE_OVERWRITE | False |
SETTINGS_MODULE | 'settings' |
NEVERCACHE_KEY | u'********************' |
ENABLE_LEGACY_FEATURES | {'PARTS_MAJOR_VERSIONS': []} |
_FAVICON_EXT | 'ico' |
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')] |
HAYSTACK_SIGNAL_PROCESSOR | 'haystack.signals.RealtimeSignalProcessor' |
FILE_UPLOAD_TEMP_DIR | None |
CSRF_COOKIE_AGE | 31449600 |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
FORCE_EXCLUDE_UPLOAD_TO_DATE | False |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
TEST_NON_SERIALIZED_APPS | [] |
AWS_ACCESS_KEY | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
BROWSER_SUPPORT | {'ie': 11} |
CELERYBEAT_SCHEDULE | {} |
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.