AttributeError at /funeral-home/KY/louisville/

'NoneType' object has no attribute 'lower'
Request Method: GET
Request URL: https://www.parting.com/funeral-home/KY/louisville/
Django Version: 1.11.7
Exception Type: AttributeError
Exception Value:
'NoneType' object has no attribute 'lower'
Exception Location: /app/apps/businesses/views.py in get_total_prices, line 236
Python Executable: /usr/local/bin/python
Python Version: 2.7.18
Python Path:
['/app',
 '/usr/local/lib/python27.zip',
 '/usr/local/lib/python2.7',
 '/usr/local/lib/python2.7/plat-linux2',
 '/usr/local/lib/python2.7/lib-tk',
 '/usr/local/lib/python2.7/lib-old',
 '/usr/local/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/site-packages',
 '/app']
Server time: Mon, 18 Mar 2024 22:30:59 -0700

Traceback Switch to copy-and-paste view



Request information

USER

AnonymousUser

GET

No GET data

POST

No POST data

FILES

No FILES data

No cookie data

META

Variable Value
AMPLITUDE_API_KEY
'5794d0412e27117117aa62108fc9bb48'
AWS_ACCESS_KEY_ID
'AKIAIOZFJ4PEC46MT6BQ'
AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
'/v2/credentials/a80c3a03-f86b-4481-a476-1916fd901764'
AWS_EXECUTION_ENV
'AWS_ECS_EC2'
AWS_SECRET_ACCESS_KEY
'qX+zo1Pj3HV6/ieTYridzYosySJ8AAxVdhzGmxqH'
CONTENT_LENGTH
''
CONTENT_TYPE
'text/plain'
CSRF_COOKIE
u'DnFYJjKgix0Hu7kEq2272JE2lwn6YZBk3pAg4rEC0JpBMEUlxGdfAvn8csnLeYSo'
CSRF_COOKIE_USED
True
DATABASE_URL
'postgres://postgres:TP8IOByrv66B4E5BlXha@parting-pro-django-prod.ce5fofamgrp3.us-east-1.rds.amazonaws.com:5432/parting_pro_django'
DJANGO_SETTINGS_MODULE
'config.settings.local'
ECS_CONTAINER_METADATA_URI
'http://169.254.170.2/v3/5c3b690a-8198-455e-98a3-057ce3df751a'
ECS_CONTAINER_METADATA_URI_V4
'http://169.254.170.2/v4/5c3b690a-8198-455e-98a3-057ce3df751a'
FACEBOOK_PIXEL_ID
'483324035200969'
GATEWAY_INTERFACE
'CGI/1.1'
GPG_KEY
'C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF'
HEROKU_POSTGRESQL_COBALT_URL
'postgres://u6940e101tqsa:paa45f217183d2408f5dd7ac9ff273a5c3271e251bb233a9ce7b1aaa69dd7bccf@ec2-52-206-53-144.compute-1.amazonaws.com:5432/dcl62kthoedkk9'
HOME
'/root'
HOSTNAME
'ip-172-31-106-110.ec2.internal'
HTTP_ACCEPT
'*/*'
HTTP_ACCEPT_ENCODING
'gzip, br'
HTTP_CDN_LOOP
'cloudflare'
HTTP_CF_CONNECTING_IP
'3.236.18.23'
HTTP_CF_IPCOUNTRY
'US'
HTTP_CF_RAY
'866b12d9b9d559df-IAD'
HTTP_CF_VISITOR
'{"scheme":"https"}'
HTTP_HOST
'www.parting.com'
HTTP_USER_AGENT
'claudebot'
HTTP_X_AMZN_TRACE_ID
'Root=1-65f92313-2dc0d52651fdb04515b5943b'
HTTP_X_FORWARDED_FOR
'3.236.18.23, 172.70.34.153'
HTTP_X_FORWARDED_PORT
'80'
HTTP_X_FORWARDED_PROTO
'http'
LANG
'C.UTF-8'
LEAD_RECIPIENT_EMAIL
'[email protected]'
LOADERIO_API_KEY
'aaa29ad7c1f4224b13fb23e2cefc4459'
LOAD_THIRD_PARTY_SERVICES
'True'
MIXPANEL_TOKEN
'3d7b657577620aae6a2516b10f0dd749'
OPENREDIS_URL
'redis://parting-pro-django-prod.ammyl4.ng.0001.use1.cache.amazonaws.com:6379'
PATH
'/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
PATH_INFO
u'/funeral-home/KY/louisville/'
PIPEDRIVE_API_KEY
'f3d02c9cd8415cfbcc600ed22ad71f59aa2fb8e2'
PYTHONIOENCODING
'UTF-8'
PYTHON_GET_PIP_SHA256
'421ac1d44c0cf9730a088e337867d974b91bdce4ea2636099275071878cc189e'
PYTHON_GET_PIP_URL
'https://github.com/pypa/get-pip/raw/d59197a3c169cef378a22428a3fa99d33e080a5d/get-pip.py'
PYTHON_PIP_VERSION
'20.0.2'
PYTHON_VERSION
'2.7.18'
QUERY_STRING
''
REMOTE_ADDR
'172.31.65.223'
REMOTE_HOST
''
REQUEST_METHOD
'GET'
RUN_MAIN
'true'
SCRIPT_NAME
u''
SENDGRID_PASSWORD
'ydk9pvi24411'
SENDGRID_USERNAME
'[email protected]'
SENTRY_DSN
'https://4958f51958ca4f3f88e16cb278595c07:[email protected]/139064'
SERVER_NAME
'ip-172-31-106-110.ec2.internal'
SERVER_PORT
'8000'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.1 Python/2.7.18'
TZ
'US/Pacific'
wsgi.errors
<open file '<stderr>', mode 'w' at 0x7fe7fec33270>
wsgi.file_wrapper
''
wsgi.input
<socket._fileobject object at 0x7fe7d5f38bd0>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)

Settings

Using settings module config.settings.local

Setting Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
[]
ADMIN_MENU_ORDER
(('Content',
  ('pages.Page',
   'blog.BlogPost',
   'blog.BlogCategory',
   'generic.ThreadedComment',
   ('Media Library', 'fb_browse'))),
 ('Site', ('sites.Site', 'redirects.Redirect', 'conf.Setting')),
 ('Users', ('auth.User', 'auth.Group')))
AKISMET_API_KEY
u'********************'
ALLOWED_HOSTS
['*']
AMPLITUDE_API_KEY
u'********************'
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
('mezzanine.core.auth_backends.MezzanineBackend',)
AUTH_PASSWORD_VALIDATORS
u'********************'
AUTH_USER_MODEL
'users.User'
AWS_HEADERS
{'Cache-Control': 'max-age=8640000'}
AWS_PRELOAD_METADATA
True
AWS_QUERYSTRING_AUTH
False
AWS_S3_USE_SSL
True
AWS_STORAGE_BUCKET_NAME
'parting'
AWS_UPLOAD_BUCKET_NAME
'parting'
AWS_UPLOAD_CLIENT_KEY
u'********************'
AWS_UPLOAD_CLIENT_SECRET_KEY
u'********************'
BASE_DIR
'/app'
BLOG_LANDING_CATEGORY_NUM_POSTS
5
BLOG_POST_PER_PAGE
8
BLOG_USE_FEATURED_IMAGE
True
CACHEOPS
{}
CACHEOPS_DEFAULTS
{'timeout': 3600}
CACHEOPS_REDIS
'redis://parting-pro-django-prod.ammyl4.ng.0001.use1.cache.amazonaws.com:6379'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.db.DatabaseCache',
             'LOCATION': 'cache',
             'VERSION': 2},
 'redis': {'BACKEND': 'redis_cache.RedisCache',
           'LOCATION': 'parting-pro-django-prod.ammyl4.ng.0001.use1.cache.amazonaws.com:6379',
           'OPTIONS': {'DB': 0, 'PASSWORD': u'********************'}}}
CACHE_MIDDLEWARE_ALIAS
u'default'
CACHE_MIDDLEWARE_KEY_PREFIX
u'********************'
CACHE_MIDDLEWARE_SECONDS
600
COMMENTS_APP
u'mezzanine.generic'
COMMENTS_USE_RATINGS
False
COMMENT_FORM_CLASS
'apps.blog_extensions.forms.ThreadedCommentFormNoUrl'
CREMATION_GUIDE
[{'answer': {'id': 1, 'text': 'Zip Code', 'value': 'zip_code'},
  'button_text': 'See if I qualify',
  'change_question_based_on_answer': 'false',
  'group': 'location',
  'id': 1,
  'question_type': 'short_answer',
  'required': 'true',
  'text': 'Cremation plans start at $0. Complete Price. No Hidden Fees.'},
 {'answers': [{'id': 1,
               'next_question_id': 4,
               'text': 'Myself',
               'tracking_value': 'myself',
               'value': 'myself'},
              {'id': 2,
               'next_question_id': 5,
               'text': 'Family Member',
               'tracking_value': 'family_member',
               'value': 'family_member'}],
  'change_question_based_on_answer': 'true',
  'group': 'customer',
  'id': 3,
  'question_type': 'multiple_choice',
  'required': 'true',
  'text': 'Is this for yourself or a family member?'},
 {'answers': [{'id': 1,
               'next_question_id': 7,
               'text': 'Yes',
               'tracking_value': 'yes',
               'value': 'yes'},
              {'id': 2,
               'next_question_id': 12,
               'text': 'No',
               'tracking_value': 'no',
               'value': 'no'}],
  'change_question_based_on_answer': 'true',
  'group': 'personal_timing',
  'id': 4,
  'question_type': 'multiple_choice',
  'required': 'true',
  'text': 'Are you in hospice care or have less than 6 months to live?'},
 {'answers': [{'id': 1,
               'next_question_id': 6,
               'text': 'Yes',
               'tracking_value': 'yes',
               'value': 'yes'},
              {'id': 2,
               'next_question_id': 7,
               'text': 'No',
               'tracking_value': 'no',
               'value': 'no'}],
  'change_question_based_on_answer': 'true',
  'group': 'family_deceased',
  'id': 5,
  'question_type': 'multiple_choice',
  'required': 'true',
  'text': 'Have they already passed away?'},
 {'answers': [{'id': 1,
               'next_question_id': 12,
               'text': 'More than 3 days ago',
               'tracking_value': 'more_than_3',
               'value': 'more_than_3'},
              {'id': 2,
               'next_question_id': 7,
               'text': 'Less than 3 days ago',
               'tracking_value': 'less_than_3',
               'value': 'less_than_3'}],
  'change_question_based_on_answer': 'true',
  'group': 'family_deceased_timing',
  'id': 6,
  'question_type': 'multiple_choice',
  'required': 'true',
  'text': 'How long ago did they pass?'},
 {'answers': [{'id': 1,
               'next_question_id': 9,
               'text': 'Yes, I want to see if I qualify for a $0 cremation',
               'tracking_value': 'yes',
               'value': 'yes'},
              {'id': 2,
               'next_question_id': 12,
               'text': 'No, give me other cremation options',
               'tracking_value': 'no',
               'value': 'no'}],
  'change_question_based_on_answer': 'true',
  'group': 'body_donation',
  'id': 7,
  'question_type': 'multiple_choice',
  'required': 'true',
  'text': "We'll ask you a few questions to see if you pre-qualify for the $0 cremation through the body donation program. If you choose to donate your body to science, we'll cover the costs transportation, cremation, and returning the cremated remains 4-6 weeks later."},
 {'answers': [{'id': 1,
               'next_question_id': 12,
               'text': 'Yes',
               'tracking_value': 'yes',
               'value': 'yes'},
              {'id': 2,
               'next_question_id': 3,
               'text': 'No',
               'tracking_value': 'no',
               'value': 'no'}],
  'change_question_based_on_answer': 'true',
  'group': 'disqualified_states',
  'id': 2,
  'question_type': 'multiple_choice',
  'required': 'true',
  'text': 'Are you looking in New Jersey or Minnesota?'},
 {'answers': [{'id': 1,
               'next_question_id': 9,
               'text': 'Yes',
               'tracking_value': 'yes',
               'value': 'yes'},
              {'id': 2,
               'next_question_id': 12,
               'text': 'No',
               'tracking_value': 'no',
               'value': 'no'}],
  'change_question_based_on_answer': 'true',
  'group': 'family_timing',
  'id': 8,
  'question_type': 'multiple_choice',
  'required': 'true',
  'text': 'Are they in hospice care or have they been given less than 6 months to live?'},
 {'answers': [{'id': 1,
               'next_question_id': 12,
               'text': 'Yes',
               'tracking_value': 'yes',
               'value': 'yes'},
              {'id': 2,
               'next_question_id': 10,
               'text': 'No',
               'tracking_value': 'no',
               'value': 'no'}],
  'change_question_based_on_answer': 'true',
  'group': 'qualify_disease',
  'id': 9,
  'question_type': 'multiple_choice',
  'required': 'true',
  'text': 'Have you/they been diagnosed with HIV/AIDS or Hepatitis B/C?'},
 {'answers': [{'id': 1,
               'next_question_id': 12,
               'text': 'Yes',
               'tracking_value': 'yes',
               'value': 'yes'},
              {'id': 2,
               'next_question_id': 11,
               'text': 'No',
               'tracking_value': 'no',
               'value': 'no'}],
  'change_question_based_on_answer': 'true',
  'group': 'qualify_symptoms',
  'id': 10,
  'question_type': 'multiple_choice',
  'required': 'true',
  'text': 'Do you/they have a history of IV drug use, recent prolonged incarceration, institutionalization or homelessness?'},
 {'answers': [{'id': 1,
               'next_question_id': 12,
               'text': 'Yes',
               'tracking_value': 'yes',
               'value': 'yes'},
              {'id': 2,
               'next_question_id': 13,
               'text': 'No',
               'tracking_value': 'no',
               'value': 'no'}],
  'change_question_based_on_answer': 'true',
  'group': 'qualify_weight',
  'id': 11,
  'question_type': 'multiple_choice',
  'required': 'true',
  'text': 'Are you/they over 275 pounds or under 65 pounds? '},
 {'answers': [{'id': 1,
               'text': 'Yes',
               'tracking_value': 'yes',
               'value': 'yes'},
              {'id': 2, 'text': 'No', 'tracking_value': 'no', 'value': 'no'}],
  'change_question_based_on_answer': 'false',
  'group': 'service',
  'id': 12,
  'question_type': 'multiple_choice',
  'required': 'true',
  'text': 'Do you want to hold a service?'},
 {'id': 13,
  'question_type': 'lead_form',
  'required': 'true',
  'text': "You pre-qualify for a $0 cremation. A specialist from Medcure will reach out         and ask you more specific questions. Once they qualify you, Medcure will take care of all         expenses, including transportation, cremation, and return of the remains. Please enter your         information and we'll contact you within the hour."},
 {'id': 14,
  'question_type': 'lead_form',
  'required': 'true',
  'text': "You do dont qualify for the $0 cremation, but we'll find you other cremation options.         Please enter your information and we'll contact you within the hour"}]
CRITICAL_CSS
[(('blog_landing',
   'blog_post_list_category',
   'blog_post_detail',
   'blog_post_list_tag'),
  'blog.css'),
 (('faq',), 'faq.css'),
 (('about-us',), 'about-us.css'),
 (('businesses-state-list',), 'state-page.css'),
 (('privacy',), 'privacy.css'),
 (('service-guide',), 'service-guide.css'),
 (('cremation-guide',), 'cremation-guide.css')]
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.contrib.gis.db.backends.postgis',
             'HOST': 'parting-pro-django-prod.ce5fofamgrp3.us-east-1.rds.amazonaws.com',
             'NAME': 'parting_pro_django',
             '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
u'N j, Y, P'
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
u'N j, Y'
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']
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEBUG_TOOLBAR_PATCH_SETTINGS
False
DECIMAL_SEPARATOR
u'.'
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_DB
'postgres://admin:[email protected]:5432/parting'
DEFAULT_EXCEPTION_REPORTER_FILTER
u'django.views.debug.SafeExceptionReporterFilter'
DEFAULT_FILE_STORAGE
'storages.backends.s3boto.S3BotoStorage'
DEFAULT_FROM_EMAIL
u'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
u''
DEFAULT_PRICES
{'CASKET': 1500, 'DRESSING_CASKETING': 150, 'OUTER_BURIAL_CONTAINER': 1000}
DEFAULT_TABLESPACE
u''
DEVICE_USER_AGENTS
(('mobile',
  ('2.0 MMP',
   '240x320',
   '400X240',
   'AvantGo',
   'BlackBerry',
   'Blazer',
   'Cellphone',
   'Danger',
   'DoCoMo',
   'Elaine/3.0',
   'EudoraWeb',
   'Googlebot-Mobile',
   'hiptop',
   'IEMobile',
   'KYOCERA/WX310K',
   'LG/U990',
   'MIDP-2.',
   'MMEF20',
   'MOT-V',
   'NetFront',
   'Newt',
   'Nintendo Wii',
   'Nitro',
   'Nokia',
   'Opera Mini',
   'Palm',
   'PlayStation Portable',
   'portalmmm',
   'Proxinet',
   'ProxiNet',
   'SHARP-TQ-GX10',
   'SHG-i900',
   'Small',
   'SonyEricsson',
   'Symbian OS',
   'SymbianOS',
   'TS21i-10',
   'UP.Browser',
   'UP.Link',
   'webOS',
   'Windows CE',
   'WinWAP',
   'YahooSeeker/M1A1-R2D2',
   'iPhone',
   'iPod',
   'iPad',
   'BlackBerry9530',
   'LG-TU915 Obigo',
   'LGE VX',
   'webOS',
   'Nokia5800',
   'Android',
   'rick',
   'force_mobile')),)
DEV_SERVER
True
DISALLOWED_USER_AGENTS
[]
EMAIL_BACKEND
u'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST
'smtp.sendgrid.net'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
'[email protected]'
EMAIL_PORT
587
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
True
FACEBOOK_PIXEL_ID
'483324035200969'
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
420
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'
GDAL_LIBRARY_PATH
None
GEOS_LIBRARY_PATH
None
GOOGLE_API_KEY
u'********************'
GOOGLE_URL_SIGN_SECRET
u'********************'
GRAPPELLI_ADMIN_TITLE
'Parting.com'
GRAPPELLI_INSTALLED
True
IGNORABLE_404_URLS
[]
INSTALLED_APPS
('mezzanine.boot',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.redirects',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.humanize',
 'django.contrib.sites',
 'django.contrib.sitemaps',
 'mezzanine.conf',
 'mezzanine.core',
 'mezzanine.generic',
 'mezzanine.pages',
 'mezzanine.blog',
 'mezzanine.forms',
 'mezzanine.galleries',
 'mezzanine.twitter',
 'apps.users',
 'apps.geos',
 'apps.businesses',
 'apps.sales',
 'apps.plots',
 'apps.contacts',
 'apps.faq',
 'apps.utils',
 'apps.ipblock',
 'apps.blog_extensions',
 'apps.testimonials',
 'storages',
 'sorl.thumbnail',
 'django.contrib.gis',
 'rest_framework',
 'cacheops',
 'debug_toolbar',
 'absolute',
 'adminsortable',
 'clear_cache',
 'raven.contrib.django.raven_compat',
 'django_user_agents',
 'django_extensions',
 'filebrowser_safe',
 'grappelli_safe',
 'django.contrib.admin',
 'django.contrib.staticfiles',
 u'django_comments')
INTERNAL_IPS
(u'127.0.0.1',)
ITEMS_PER_PAGE
15
LANGUAGES
(('en-us', u''),)
LANGUAGES_BIDI
[u'he', u'ar', u'fa', u'ur']
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_AGE
None
LANGUAGE_COOKIE_DOMAIN
None
LANGUAGE_COOKIE_NAME
u'django_language'
LANGUAGE_COOKIE_PATH
u'/'
LEAD_RECIPIENT_EMAIL
'[email protected]'
LOAD_THIRD_PARTY_SERVICES
True
LOCALE_PATHS
[]
LOGGING
{'disable_existing_loggers': True,
 'formatters': {'verbose': {'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'}},
 'handlers': {'console': {'class': 'logging.StreamHandler',
                          'formatter': 'verbose',
                          'level': 'DEBUG'},
              'sentry': {'class': 'raven.contrib.django.raven_compat.handlers.SentryHandler',
                         'level': 'ERROR',
                         'tags': {'custom-tag': 'x'}}},
 'loggers': {'django.db.backends': {'handlers': ['console'],
                                    'level': 'ERROR',
                                    'propagate': False},
             'raven': {'handlers': ['console'],
                       'level': 'DEBUG',
                       'propagate': False},
             'sentry.errors': {'handlers': ['console'],
                               'level': 'DEBUG',
                               'propagate': False}},
 'root': {'handlers': ['sentry'], 'level': 'WARNING'},
 '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
''
MEDIA_URL
'https://parting.s3.amazonaws.com/'
MESSAGE_STORAGE
u'django.contrib.messages.storage.cookie.CookieStorage'
MIDDLEWARE
(u'raven.contrib.django.middleware.SentryMiddleware',
 'whitenoise.middleware.WhiteNoiseMiddleware',
 'apps.utils.middleware.QueryCacheMiddleware',
 'apps.utils.middleware.FakeDeviceMiddleware',
 'django.middleware.gzip.GZipMiddleware',
 'mezzanine.core.middleware.UpdateCacheMiddleware',
 'apps.blog_extensions.middleware.RequestFlavourMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 u'django.middleware.locale.LocaleMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'debug_toolbar.middleware.DebugToolbarMiddleware',
 'apps.ipblock.middleware.BlockIPMiddleware',
 'mezzanine.core.request.CurrentRequestMiddleware',
 'mezzanine.core.middleware.AdminLoginInterfaceSelectorMiddleware',
 'mezzanine.core.middleware.SitePermissionMiddleware',
 'mezzanine.pages.middleware.PageMiddleware',
 'mezzanine.core.middleware.FetchFromCacheMiddleware',
 'htmlmin.middleware.MarkRequestMiddleware',
 'django_user_agents.middleware.UserAgentMiddleware')
MIDDLEWARE_CLASSES
[u'django.middleware.common.CommonMiddleware',
 u'django.middleware.csrf.CsrfViewMiddleware']
MIGRATION_MODULES
{}
MIXPANEL_TOKEN
u'********************'
MONTH_DAY_FORMAT
u'F j'
NEVERCACHE_KEY
u'********************'
NUMBER_GROUPING
0
OG_FEATURED_IMAGE_FALLBACK
'https://parting-staging.herokuapp.com/static/img/[email protected]'
OPEN_REDIS_URL
'redis://parting-pro-django-prod.ammyl4.ng.0001.use1.cache.amazonaws.com:6379'
OPTIONAL_APPS
('django_extensions', 'compressor', 'filebrowser_safe', 'grappelli_safe')
PACKAGE_NAME_FILEBROWSER
'filebrowser_safe'
PACKAGE_NAME_GRAPPELLI
'grappelli_safe'
PASSWORD_HASHERS
u'********************'
PASSWORD_RESET_TIMEOUT_DAYS
u'********************'
PIPEDRIVE_API_KEY
u'********************'
PREPEND_WWW
False
PROJECT_APP
'config'
PROJECT_APP_PATH
'/app/config'
PROJECT_ROOT
'/app'
RAVEN_CONFIG
{'dsn': 'https://4958f51958ca4f3f88e16cb278595c07:[email protected]/139064'}
REST_FRAMEWORK
{'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework.authentication.TokenAuthentication',),
 'DEFAULT_PAGE_SIZE': 10,
 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination',
 'DEFAULT_PERMISSION_CLASSES': ('rest_framework.permissions.AllowAny',)}
RICHTEXT_ALLOWED_STYLES
('margin-top',
 'margin-bottom',
 'margin-left',
 'margin-right',
 'float',
 'vertical-align',
 'border',
 'margin',
 'display')
ROOT_URLCONF
'config.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
('HTTP_CF_VISITOR', '{"scheme":"https"}')
SECURE_REDIRECT_EXEMPT
[]
SECURE_SSL_HOST
None
SECURE_SSL_REDIRECT
False
SERVER_EMAIL
u'root@localhost'
SERVICE_GUIDE
[{'answers': [],
  'group': 'required',
  'id': 0,
  'text': "We'll ask you a few questions to connect you with the right funeral home."},
 {'answers': [{'id': 5,
               'text': 'I have an immediate need',
               'tracking_value': 'immediate',
               'value': 'true'},
              {'id': 6,
               'text': 'I am planning for the future',
               'tracking_value': 'future',
               'value': 'false'}],
  'group': 'required',
  'id': 0,
  'text': 'When will you require services?'},
 {'answers': [{'id': 1,
               'text': 'Burial',
               'tracking_value': 'burial',
               'value': 'true'},
              {'id': 2,
               'text': 'Cremation',
               'tracking_value': 'cremation',
               'value': 'false'}],
  'group': 'funeral_type',
  'id': 1,
  'text': 'Which do you prefer?'},
 {'answers': [{'id': 1,
               'text': 'Yes, I would like a service',
               'tracking_value': 'service',
               'value': 'true'},
              {'id': 2,
               'text': "No, I don't want a service",
               'tracking_value': 'no service',
               'value': 'false'}],
  'group': 'service',
  'id': 1,
  'text': 'Would you like to hold a service?'},
 {'answers': [{'id': 1,
               'text': 'Yes, I would like a viewing or wake',
               'tracking_value': 'viewing',
               'value': 'true'},
              {'id': 2,
               'text': "No, I don't want a viewing or wake ",
               'tracking_value': 'no viewing',
               'value': 'false'}],
  'group': 'wake',
  'id': 1,
  'text': 'Would you like a viewing or wake?'}]
SERVICE_RANGE_CHOICES
[(15, 15), (20, 20), (30, 30), (50, 50), (75, 75)]
SERVICE_RANGE_VALUES
[15, 20, 30, 50, 75]
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
u'django.contrib.sessions.serializers.JSONSerializer'
SETTINGS_MODULE
'config.settings.local'
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_CACHE_LIFE
8640000
STATICFILES_DIRS
('/app/core/static',)
STATICFILES_FINDERS
[u'django.contrib.staticfiles.finders.FileSystemFinder',
 u'django.contrib.staticfiles.finders.AppDirectoriesFinder']
STATICFILES_STORAGE
u'django.contrib.staticfiles.storage.StaticFilesStorage'
STATICFILES_VERSION
126
STATIC_ROOT
'/app/staticfiles'
STATIC_URL
'/static/'
TEMPLATES
[{'BACKEND': 'django.template.backends.django.DjangoTemplates',
  'DIRS': ['core/templates'],
  'OPTIONS': {'builtins': ['mezzanine.template.loader_tags'],
              'context_processors': ('absolute.context_processors.absolute',
                                     'django.contrib.auth.context_processors.auth',
                                     'django.contrib.messages.context_processors.messages',
                                     'django.template.context_processors.debug',
                                     'django.template.context_processors.request',
                                     'django.template.context_processors.i18n',
                                     'django.template.context_processors.static',
                                     'django.template.context_processors.media',
                                     'django.template.context_processors.request',
                                     'django.template.context_processors.tz',
                                     'mezzanine.conf.context_processors.settings',
                                     'mezzanine.pages.context_processors.page',
                                     'apps.blog_extensions.context_processors.mezzanine_settings',
                                     'apps.businesses.context_processors.default_prices',
                                     'apps.utils.context_processors.critical_css',
                                     'apps.utils.context_processors.template_variables'),
              'loaders': ['django.template.loaders.filesystem.Loader',
                          'django.template.loaders.app_directories.Loader']}}]
TESTING
False
TEST_NON_SERIALIZED_APPS
[]
TEST_RUNNER
u'django.test.runner.DiscoverRunner'
THOUSAND_SEPARATOR
u','
THUMBNAIL_QUALITY
60
TIME_FORMAT
u'P'
TIME_INPUT_FORMATS
[u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M']
TIME_ZONE
'US/Pacific'
TOP_CITIES_CACHE_TTL
604800
TRACK_AJAX_REQUESTS
True
TRACK_PAGEVIEWS
True
TRACK_REFERER
True
USER_AGENTS_CACHE
'redis'
USE_ETAGS
False
USE_I18N
True
USE_L10N
True
USE_MODELTRANSLATION
False
USE_THOUSAND_SEPARATOR
False
USE_TZ
True
USE_X_FORWARDED_HOST
False
USE_X_FORWARDED_PORT
False
WHITENOISE_MAX_AGE
8640000
WSGI_APPLICATION
'config.wsgi.application'
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.