local variable 'e3models_obj' referenced before assignment
Request Method: | GET |
---|---|
Request URL: | https://art-dept.com/photography/tom-schirmacher/editorial-women/ |
Django Version: | 1.3.7 |
Exception Type: | UnboundLocalError |
Exception Value: | local variable 'e3models_obj' referenced before assignment |
Exception Location: | /opt/mode1_default/E3/publicsite/views.py in parent_doc_view, line 2045 |
Python Executable: | /opt/mode1/bin/python2 |
Python Version: | 2.7.17 |
Python Path: | ['/opt/mode1_default/E3', '/opt/mode1_default', '/opt/mode1/bin', '/opt/mode1', '/opt/mode1_default', '/opt/mode1/lib/python2.7', '/opt/mode1/lib/python2.7/plat-x86_64-linux-gnu', '/opt/mode1/lib/python2.7/lib-tk', '/opt/mode1/lib/python2.7/lib-old', '/opt/mode1/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/opt/mode1/local/lib/python2.7/site-packages', '/opt/mode1/lib/python2.7/site-packages', '/opt'] |
Server time: | Fri, 29 Mar 2024 06:27:33 -0500 |
/opt/mode1/local/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
try:
response = callback(request, *callback_args, **callback_kwargs)...
except Exception, 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 |
---|---|
exceptions | <module 'django.core.exceptions' from '/opt/mode1/local/lib/python2.7/site-packages/django/core/exceptions.pyc'> |
e | UnboundLocalError("local variable 'e3models_obj' referenced before assignment",) |
callback_args | () |
receivers | [(<function _rollback_on_exception at 0x7fb4045aaed0>, None)] |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fb404650710>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fb4047c9c50> |
settings | <django.conf.LazySettings object at 0x7fb4046f8a90> |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': 'b983a20777cb2e82618a1299179f1d47', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'art-dept.com', 'HTTP_REFERER': 'https://art-dept.com/photography/tom-schirmacher/editorial-women', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '99.82.165.65, 192.168.62.128', 'HTTP_X_FORWARDED_HOST': 'art-dept.com', 'HTTP_X_FORWARDED_PORT': '443', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_FORWARDED_SCHEME': 'https', 'HTTP_X_REAL_IP': '192.168.62.128', 'HTTP_X_REQUEST_ID': 'b79ff2e9e6a0414603379515c60f8d80', 'HTTP_X_SCHEME': 'https', 'PATH_INFO': u'/photography/tom-schirmacher/editorial-women/', 'QUERY_STRING': '', 'RAW_URI': '/photography/tom-schirmacher/editorial-women/', 'REMOTE_ADDR': '', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'art-dept.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/19.5.0', 'gunicorn.socket': <socket._socketobject object at 0x7fb3fe30cc90>, 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fb3fd122190>, 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7fb3fd106410>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}> |
callback | <function parent_doc_view at 0x7fb4026a7150> |
resolver | <RegexURLResolver E3.urls (None:None) ^/> |
urlresolvers | <module 'django.core.urlresolvers' from '/opt/mode1/local/lib/python2.7/site-packages/django/core/urlresolvers.pyc'> |
callback_kwargs | {'p_div_url_name': u'photography', 'p_model_url_name': u'tom-schirmacher', 'p_parent_url_name': u'editorial-women'} |
response | None |
urlconf | 'E3.urls' |
/opt/mode1_default/E3/publicsite/views.py
in _wrapped_view
"""
def decorator(view_func):
@wraps(view_func, assigned=available_attrs(view_func))
def _wrapped_view(request, *args, **kwargs):
# only difference is that we pass request instead of the request.user
if test_func(request):
return view_func(request, *args, **kwargs)...
path = request.build_absolute_uri()
# If the login url is the same scheme and net location then just
# use the path as the "next" url.
login_scheme, login_netloc = urlparse.urlparse(login_url or
settings.LOGIN_URL)[:2]
current_scheme, current_netloc = urlparse.urlparse(path)[:2]
Variable | Value |
---|---|
test_func | <function showroomredirect at 0x7fb4027840d0> |
login_url | '/swlogin' |
args | () |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': 'b983a20777cb2e82618a1299179f1d47', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'art-dept.com', 'HTTP_REFERER': 'https://art-dept.com/photography/tom-schirmacher/editorial-women', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '99.82.165.65, 192.168.62.128', 'HTTP_X_FORWARDED_HOST': 'art-dept.com', 'HTTP_X_FORWARDED_PORT': '443', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_FORWARDED_SCHEME': 'https', 'HTTP_X_REAL_IP': '192.168.62.128', 'HTTP_X_REQUEST_ID': 'b79ff2e9e6a0414603379515c60f8d80', 'HTTP_X_SCHEME': 'https', 'PATH_INFO': u'/photography/tom-schirmacher/editorial-women/', 'QUERY_STRING': '', 'RAW_URI': '/photography/tom-schirmacher/editorial-women/', 'REMOTE_ADDR': '', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'art-dept.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/19.5.0', 'gunicorn.socket': <socket._socketobject object at 0x7fb3fe30cc90>, 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fb3fd122190>, 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7fb3fd106410>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}> |
kwargs | {'p_div_url_name': u'photography', 'p_model_url_name': u'tom-schirmacher', 'p_parent_url_name': u'editorial-women'} |
redirect_field_name | 'next' |
view_func | <function parent_doc_view at 0x7fb4026a7250> |
/opt/mode1_default/E3/publicsite/views.py
in _wrapped_view
"""
def decorator(view_func):
@wraps(view_func, assigned=available_attrs(view_func))
def _wrapped_view(request, *args, **kwargs):
# only difference is that we pass request instead of the request.user
if test_func(request):
return view_func(request, *args, **kwargs)...
path = request.build_absolute_uri()
# If the login url is the same scheme and net location then just
# use the path as the "next" url.
login_scheme, login_netloc = urlparse.urlparse(login_url or
settings.LOGIN_URL)[:2]
current_scheme, current_netloc = urlparse.urlparse(path)[:2]
Variable | Value |
---|---|
test_func | <function elitelife at 0x7fb4027843d0> |
login_url | '/ellogin' |
args | () |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': 'b983a20777cb2e82618a1299179f1d47', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'art-dept.com', 'HTTP_REFERER': 'https://art-dept.com/photography/tom-schirmacher/editorial-women', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '99.82.165.65, 192.168.62.128', 'HTTP_X_FORWARDED_HOST': 'art-dept.com', 'HTTP_X_FORWARDED_PORT': '443', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_FORWARDED_SCHEME': 'https', 'HTTP_X_REAL_IP': '192.168.62.128', 'HTTP_X_REQUEST_ID': 'b79ff2e9e6a0414603379515c60f8d80', 'HTTP_X_SCHEME': 'https', 'PATH_INFO': u'/photography/tom-schirmacher/editorial-women/', 'QUERY_STRING': '', 'RAW_URI': '/photography/tom-schirmacher/editorial-women/', 'REMOTE_ADDR': '', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'art-dept.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/19.5.0', 'gunicorn.socket': <socket._socketobject object at 0x7fb3fe30cc90>, 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fb3fd122190>, 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7fb3fd106410>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}> |
kwargs | {'p_div_url_name': u'photography', 'p_model_url_name': u'tom-schirmacher', 'p_parent_url_name': u'editorial-women'} |
redirect_field_name | 'next' |
view_func | <function parent_doc_view at 0x7fb4026a71d0> |
/opt/mode1/local/lib/python2.7/site-packages/django/utils/decorators.py
in _wrapped_view
if result is not None:
return result
if hasattr(middleware, 'process_view'):
result = middleware.process_view(request, view_func, args, kwargs)
if result is not None:
return result
try:
response = view_func(request, *args, **kwargs)...
except Exception, e:
if hasattr(middleware, 'process_exception'):
result = middleware.process_exception(request, e)
if result is not None:
return result
raise
Variable | Value |
---|---|
e | UnboundLocalError("local variable 'e3models_obj' referenced before assignment",) |
middleware | <django.middleware.cache.CacheMiddleware object at 0x7fb40275a7d0> |
args | () |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': 'b983a20777cb2e82618a1299179f1d47', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'art-dept.com', 'HTTP_REFERER': 'https://art-dept.com/photography/tom-schirmacher/editorial-women', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '99.82.165.65, 192.168.62.128', 'HTTP_X_FORWARDED_HOST': 'art-dept.com', 'HTTP_X_FORWARDED_PORT': '443', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_FORWARDED_SCHEME': 'https', 'HTTP_X_REAL_IP': '192.168.62.128', 'HTTP_X_REQUEST_ID': 'b79ff2e9e6a0414603379515c60f8d80', 'HTTP_X_SCHEME': 'https', 'PATH_INFO': u'/photography/tom-schirmacher/editorial-women/', 'QUERY_STRING': '', 'RAW_URI': '/photography/tom-schirmacher/editorial-women/', 'REMOTE_ADDR': '', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'art-dept.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/19.5.0', 'gunicorn.socket': <socket._socketobject object at 0x7fb3fe30cc90>, 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fb3fd122190>, 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7fb3fd106410>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}> |
result | None |
kwargs | {'p_div_url_name': u'photography', 'p_model_url_name': u'tom-schirmacher', 'p_parent_url_name': u'editorial-women'} |
view_func | <function parent_doc_view at 0x7fb4026a70d0> |
/opt/mode1_default/E3/publicsite/views.py
in parent_doc_view
val=str(p_model_url_name).split('_')[0]
val1=val+'_'+str(e)
e3models_qs = e3models.objects.filter( model_url_name = val1)
if e3models_qs.count():
e3models_obj=e3models_qs[0]
break
if e3models_obj.is_deleted:...
return HttpResponseRedirect(reverse('url_pub_home'))
try:
div_obj=division.objects.get(division_url_name=p_div_url_name)
loc_obj = div_obj.fk_location
except:
Variable | Value |
---|---|
e | 20 |
val | 'tom-schirmacher' |
template_dict | {} |
template_name | 'publicsite/parent_doc.html' |
p_model_url_name | u'tom-schirmacher' |
request | <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CSRF_COOKIE': 'b983a20777cb2e82618a1299179f1d47', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'art-dept.com', 'HTTP_REFERER': 'https://art-dept.com/photography/tom-schirmacher/editorial-women', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '99.82.165.65, 192.168.62.128', 'HTTP_X_FORWARDED_HOST': 'art-dept.com', 'HTTP_X_FORWARDED_PORT': '443', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_FORWARDED_SCHEME': 'https', 'HTTP_X_REAL_IP': '192.168.62.128', 'HTTP_X_REQUEST_ID': 'b79ff2e9e6a0414603379515c60f8d80', 'HTTP_X_SCHEME': 'https', 'PATH_INFO': u'/photography/tom-schirmacher/editorial-women/', 'QUERY_STRING': '', 'RAW_URI': '/photography/tom-schirmacher/editorial-women/', 'REMOTE_ADDR': '', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'art-dept.com', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/19.5.0', 'gunicorn.socket': <socket._socketobject object at 0x7fb3fe30cc90>, 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fb3fd122190>, 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7fb3fd106410>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}> |
p_div_url_name | u'photography' |
p_parent_url_name | u'editorial-women' |
e3models_qs | [] |
val1 | 'tom-schirmacher_20' |
type | None |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_REFERER | 'https://art-dept.com/photography/tom-schirmacher/editorial-women' |
SERVER_SOFTWARE | 'gunicorn/19.5.0' |
SCRIPT_NAME | u'' |
HTTP_X_FORWARDED_PORT | '443' |
HTTP_X_FORWARDED_SCHEME | 'https' |
SERVER_PROTOCOL | 'HTTP/1.0' |
QUERY_STRING | '' |
HTTP_X_REAL_IP | '192.168.62.128' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_CONNECTION | 'close' |
SERVER_NAME | 'art-dept.com' |
REMOTE_ADDR | '' |
wsgi.url_scheme | 'https' |
SERVER_PORT | '443' |
HTTP_ACCEPT | '*/*' |
HTTP_X_FORWARDED_PROTO | 'https' |
wsgi.input | <gunicorn.http.body.Body object at 0x7fb3fd106410> |
HTTP_HOST | 'art-dept.com' |
wsgi.multithread | False |
HTTP_X_SCHEME | 'https' |
wsgi.version | (1, 0) |
RAW_URI | '/photography/tom-schirmacher/editorial-women/' |
wsgi.run_once | False |
CSRF_COOKIE | 'b983a20777cb2e82618a1299179f1d47' |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fb3fd122190> |
wsgi.multiprocess | True |
HTTP_X_FORWARDED_HOST | 'art-dept.com' |
gunicorn.socket | <socket._socketobject object at 0x7fb3fe30cc90> |
REQUEST_METHOD | 'GET' |
HTTP_X_FORWARDED_FOR | '99.82.165.65, 192.168.62.128' |
wsgi.file_wrapper | '' |
HTTP_X_REQUEST_ID | 'b79ff2e9e6a0414603379515c60f8d80' |
PATH_INFO | u'/photography/tom-schirmacher/editorial-women/' |
E3.production_settings
Setting | Value |
---|---|
CLIENT_ADMIN | 'babu@amtexsystems.com' |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'E3.urls' |
MANAGERS | (('The Mode', 'themode@amtexsystems.com'),) |
SHOWROOM_PASSWORD | '********************' |
ACCOUNT_ACTIVATION_DAYS | 7 |
E3DEBUG | True |
CACHE_IMAGES_DIR | 'cache' |
TEST_DATABASE_CHARSET | None |
BIRTHDAY_REMINDER_DAYS | 3 |
CACHE_IMAGES_ABS_DIR | '/opt/mode1_default/E3/media/images/useruploaded/cache' |
ALLOWED_HOSTS | ['*'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.user_messages.LegacyFallbackStorage' |
DATABASE_HOST | '' |
IGNORABLE_404_STARTS | ('/cgi-bin/', '/_vti_bin', '/_vti_inf') |
SEND_BROKEN_LINK_EMAILS | False |
URL_VALIDATOR_USER_AGENT | 'Django/1.3.7 (http://www.djangoproject.com)' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
DATABASES | {'default': {'ENGINE': 'django.db.backends.mysql', 'HOST': '10.100.188.27', 'NAME': 'artdept', 'OPTIONS': {'init_command': 'SET foreign_key_checks = 0;'}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'America/Chicago', 'USER': 'artdeptrw'}, 'e3static': {'ENGINE': 'django.db.backends.mysql', 'HOST': '10.100.188.27', 'NAME': 'artdept', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'America/Chicago', 'USER': 'artdeptpub'}} |
JOINED_IMAGES_ABS_DIR | '/opt/mode1_default/E3/media/images/useruploaded/joined_images' |
DEFAULT_CONTENT_TYPE | 'text/html' |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.i18n', 'django.core.context_processors.request', 'django.core.context_processors.media', 'django_mobile.context_processors.flavour') |
JOINED_IMAGES_REL_PATH | 'images/useruploaded/joined_images' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache', 'LOCATION': '127.0.0.1:11211'}} |
JOINED_IMAGES_DIR | 'joined_images' |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
IGNORABLE_404_ENDS | ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php') |
MIDDLEWARE_CLASSES | ('django.middleware.cache.UpdateCacheMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.cache.FetchFromCacheMiddleware', 'django_mobile.middleware.MobileDetectionMiddleware', 'django_mobile.middleware.SetFlavourMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | '********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
FILE_UPLOAD_TEMP_DIR | None |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
TEMPLATE_DEBUG | True |
CSRF_COOKIE_NAME | 'csrftoken' |
TEST_DATABASE_COLLATION | None |
PHOTOLOGUE_PATH | 'settings.photologue_cache_dir' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
AWS_SES_REGION_NAME | 'us-east-1' |
DEFAULT_CHARSET | 'utf-8' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
SESSION_FILE_PATH | None |
AWS_ACCESS_KEY_ID | 'AKIAVPC5Q4RTV374MFUQ' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ['django_extensions', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sitemaps', 'photologue', 'mailer', 'crispy_forms', 'publicsite', 'commondefs', 'account', 'cmscontent', 'newsletters', 'django_ses', 'fileupload', 'django_mobile', 'django.contrib.admin'] |
LANGUAGES | (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('nb', 'Norwegian Bokmal'), ('nn', 'Norwegian Nynorsk'), ('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'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) |
DATABASE_ENGINE | '' |
STATIC_ROOT | '' |
DATABASE_NAME | '' |
COMMENTS_FIRST_FEW | 0 |
PREPEND_WWW | False |
SESSION_COOKIE_HTTPONLY | False |
DATABASE_PORT | '' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/CMS/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | True |
MAX_UPLOAD_SIZE | '429916160999999912121' |
MYSQL_DB | 'artdept' |
TIME_FORMAT | 'P' |
MYSQL_USER | 'artdeptrw' |
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 | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
ADMIN_MEDIA_PREFIX | '/media/admin_media/' |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
MYSQL_SERVER | '10.100.188.27' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
COMMENTS_SKETCHY_USERS_GROUP | None |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
PROJECT_ROOT | '/opt/mode1_default/E3' |
DECIMAL_SEPARATOR | '.' |
CACHE_MIDDLEWARE_KEY_PREFIX | '' |
LOCALE_PATHS | () |
PHOTOLOGUE_DIR | '/opt/mode1_default/E3/media/images/useruploaded' |
COMMENTS_ALLOW_PROFANITIES | False |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | True |
TEMPLATE_DIRS | ('/opt/mode1_default/E3/templates',) |
FIXTURE_DIRS | () |
EMAIL_HOST | 'smtp.google.com' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/opt/mode1_default/E3/media' |
MYSQL_PWD | 'artdept!23' |
ADMINS | (('The Mode', 'themode@amtexsystems.com'),) |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'newsletter@art-dept.com' |
STATICFILES_DIRS | () |
MEDIA_URL | 'https://www.art-dept.com/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {'disable_existing_loggers': False, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
DATABASE_USER | '' |
TEST_DATABASE_NAME | None |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
TIME_ZONE | 'America/Chicago' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django_ses.SESBackend' |
DEFAULT_TABLESPACE | '' |
CRISPY_TEMPLATE_PACK | 'bootstrap' |
AWS_SECRET_ACCESS_KEY | '********************' |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'E3.production_settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
DEFAULT_INDEX_TABLESPACE | '' |
INTERNAL_IPS | () |
STATIC_URL | '/static/' |
EMAIL_PORT | 587 |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
ABSOLUTE_URL_OVERRIDES | {} |
DATABASE_OPTIONS | {} |
CACHE_MIDDLEWARE_SECONDS | 600 |
BANNED_IPS | () |
TEMPLATE_STRING_IF_INVALID | '' |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y') |
PHOTOLOGUE_MAXBLOCK | 1073741824 |
DATABASE_PASSWORD | '********************' |
COMMENTS_MODERATORS_GROUP | None |
PROFANITIES_LIST | '********************' |
EMAIL_HOST_USER | 'newsletter@art-dept.com' |
COMMENTS_BANNED_USERS_GROUP | None |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard 500 page.