can't multiply sequence by non-int of type 'float'
Request Method: | GET |
---|---|
Request URL: | https://listenpony.com/support/ |
Django Version: | 4.0.3 |
Exception Type: | TypeError |
Exception Value: | can't multiply sequence by non-int of type 'float' |
Exception Location: | /app/.heroku/python/lib/python3.10/random.py, line 483, in sample |
Python Executable: | /app/.heroku/python/bin/python |
Python Version: | 3.10.2 |
Python Path: | ['/app/.heroku/python/bin', '/app', '/app/.heroku/python/lib/python310.zip', '/app/.heroku/python/lib/python3.10', '/app/.heroku/python/lib/python3.10/lib-dynload', '/app/.heroku/python/lib/python3.10/site-packages'] |
Server time: | Thu, 28 Mar 2024 17:20:11 +0000 |
/app/.heroku/python/lib/python3.10/site-packages/django/core/handlers/exception.py
, line 55, in inner
return inner
else:
@wraps(get_response)
def inner(request):
try:
response = get_response(request)…
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | TypeError("can't multiply sequence by non-int of type 'float'") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f5dd74ffb20>> |
request | <WSGIRequest: GET '/support/'> |
/app/.heroku/python/lib/python3.10/site-packages/django/core/handlers/base.py
, line 197, in _get_response
if response is None:
wrapped_callback = self.make_view_atomic(callback)
# If it is an asynchronous view, run it in a subthread.
if asyncio.iscoroutinefunction(wrapped_callback):
wrapped_callback = async_to_sync(wrapped_callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
# Complain if the view returned None (a common error).
Variable | Value |
---|---|
callback | <function support at 0x7f5dd7400040> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>> |
request | <WSGIRequest: GET '/support/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f5dd74ffb20> |
wrapped_callback | <function support at 0x7f5dd7400040> |
/app/listenpony/views.py
, line 47, in support
'url':p['url'],
'title':p['title'],
})
pnum = len(pictures)
samplenum = 48
while(samplenum > pnum and samplenum > 1):
samplenum = samplenum / 2
tpictures = sample(pictures, samplenum)…
try:
page = Page.objects.get(location=Page.SUPPORT)
except:
page = None
Variable | Value |
---|---|
eventimages | [{'images': [], 'title': 'Listenpony #16 (Birmingham): George Fu + La Vaghezza + Cinema', 'url': '/events/listenpony-birmingham/'}, {'images': [], 'title': 'Listenpony #1: RADA Bar 1', 'url': '/events/listenpony-1/'}, {'images': [], 'title': 'Listenpony #9: Tamsin Waley-Cohen + The Hermes Experiment + We ' 'Were Evergreen', 'url': '/events/listenpony-9-tamsin-waley-cohen-the-hermes-experiment-we-were-evergreen/'}, {'images': [], 'title': 'Listenpony #17: Tabea Debus + Apartment House + Addelam', 'url': '/events/listenpony-17-tabea-debus-apartment-house-addelam/'}, {'images': [], 'title': 'Listenpony #2: RADA Bar 2', 'url': '/events/listenpony-2/'}, {'images': [], 'title': 'Listenpony #10: Abstruckt + Vickers Bovey + Tir Eolas', 'url': '/events/listenpony-10-abstruckt-vickers-bovey-tir-eolas/'}, {'images': <QuerySet [<Image: 20th anniv pre/Blasio Kavuma>, <Image: 20th anniv pre/Down is Up>, <Image: 20th anniv pre/Kate Whitley>, <Image: 20th anniv pre/Mainly Two>, <Image: 20th anniv pre/Tabea Debus>, <Image: 20th anniv pre/The Hermes Experiment>]>, 'title': 'Listenpony #22: 10th Anniversary Concert', 'url': '/events/listenpony-22-10th-anniversary-concert/'}, {'images': [], 'title': 'Listenpony #5: At The London Sketch Club', 'url': '/events/listenpony-5/'}, {'images': [], 'title': 'Listenpony #19: Ligeti Quartet + Joseph Havlat + Ana Silvera', 'url': '/events/listenpony-19-ligeti-quartet-joseph-havlat-ana-silvera/'}, {'images': [], 'title': 'Listenpony #3: At Arch 402 Gallery', 'url': '/events/listenpony-3/'}, {'images': <QuerySet [<Image: Listenpony 21/David López Ibañez of Explore Ensemble>, <Image: Listenpony 21/Deni Teo and Alex Roberts of Explore Ensemble>, <Image: Listenpony 21/Explore Ensemble 1>, <Image: Listenpony 21/James Larter 1>, <Image: Listenpony 21/James Larter 2>, <Image: Listenpony 21/Sophie Jamieson 1>, <Image: Listenpony 21/Sophie Jamieson 2>, <Image: Listenpony 21/Sophie Jamieson 3>, <Image: Listenpony 21/Trio from Explore Ensemble>]>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'images': [], 'title': 'Listenpony #14: Stephen Upshaw + Magnard Ensemble + James Canty', 'url': '/events/listenpony-14-stephen-upshaw-magnard-ensemble-james-canty/'}, {'images': [], 'title': 'Listenpony #18: Jess Dandy + Simon Desbruslais + Chloe Foy', 'url': '/events/listenpony-18-jess-dandy-simon-desbruslais-chloe-foy/'}, {'images': [], 'title': 'Discoveries at Barnes Festival', 'url': '/events/listenpony-barnes/'}, {'images': <QuerySet [<Image: Listenpony #16 (London) images/Listenpony #16 (London) images 1>, <Image: Listenpony #16 (London) images/Listenpony #16 (London) images 2>, <Image: Listenpony #16 (London) images/Listenpony #16 (London) images 3>, <Image: Listenpony #16 (London) images/Listenpony #16 (London) images 4>, <Image: Listenpony #16 (London) images/Listenpony #16 (London) images 5>, <Image: Listenpony #16 (London) images/Listenpony #16 (London) images 6>]>, 'title': 'Listenpony #16 (Birmingham / Manchester / London): George Fu + La ' 'Vaghezza + Cinema / Aldous RH / Elena Tonra', 'url': '/events/listenpony-16-george-fu-la-vaghezza/'}, {'images': [], 'title': 'Listenpony #6: with ANIMA', 'url': '/events/listenpony-6-with-anima/'}, {'images': [], 'title': 'Listenpony #8: with Ensemble WOW & Tor Cesay', 'url': '/events/listenpony-8-with-ensemble-wow-tor-cesay/'}, {'images': <QuerySet [<Image: Listenpony #13 images/Listenpony 13 image 1>, <Image: Listenpony #13 images/Listenpony 13 image 10>, <Image: Listenpony #13 images/Listenpony 13 image 11>, <Image: Listenpony #13 images/Listenpony 13 image 12>, <Image: Listenpony #13 images/Listenpony 13 image 2>, <Image: Listenpony #13 images/Listenpony 13 image 3>, <Image: Listenpony #13 images/Listenpony 13 image 4>, <Image: Listenpony #13 images/Listenpony 13 image 5>, <Image: Listenpony #13 images/Listenpony 13 image 6>, <Image: Listenpony #13 image… <trimmed 5991 bytes string> |
i | <Image: Listenpony #12 images/Listenpony at Crypt on the Green> |
p | {'images': [], 'title': 'Listenpony #7: with Kate Simko & Tone of Arc', 'url': '/events/listenpony-7-with-kate-simko-tone-of-arc/'} |
pictures | [{'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb23400>, 'title': 'Listenpony #22: 10th Anniversary Concert', 'url': '/events/listenpony-22-10th-anniversary-concert/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb21570>, 'title': 'Listenpony #22: 10th Anniversary Concert', 'url': '/events/listenpony-22-10th-anniversary-concert/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb23a60>, 'title': 'Listenpony #22: 10th Anniversary Concert', 'url': '/events/listenpony-22-10th-anniversary-concert/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb20430>, 'title': 'Listenpony #22: 10th Anniversary Concert', 'url': '/events/listenpony-22-10th-anniversary-concert/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb21900>, 'title': 'Listenpony #22: 10th Anniversary Concert', 'url': '/events/listenpony-22-10th-anniversary-concert/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb23190>, 'title': 'Listenpony #22: 10th Anniversary Concert', 'url': '/events/listenpony-22-10th-anniversary-concert/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb21120>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dd5e70dc0>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dd5e72530>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb20910>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb23430>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb224a0>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb20970>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb20460>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb22a10>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb231c0>, 'title': 'Listenpony #16 (Birmingham / Manchester / London): George Fu + La ' 'Vaghezza + Cinema / Aldous RH / Elena Tonra', 'url': '/events/listenpony-16-george-fu-la-vaghezza/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb23910>, 'title': 'Listenpony #16 (Birmingham / Manchester / London): George Fu + La ' 'Vaghezza + Cinema / Aldous RH / Elena Tonra', 'url': '/events/listenpony-16-george-fu-la-vaghezza/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb21180>, 'title': 'Listenpony #16 (Birmingham / Manchester / London): George Fu + La ' 'Vaghezza + Cinema / Aldous RH / Elena Tonra', 'url': '/events/listenpony-16-george-fu-la-vaghezza/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb21b40>, 'ti… <trimmed 9683 bytes string> |
pnum | 42 |
request | <WSGIRequest: GET '/support/'> |
samplenum | 24.0 |
template | <django.template.backends.django.Template object at 0x7f5dd5e70160> |
/app/.heroku/python/lib/python3.10/random.py
, line 483, in sample
raise ValueError('Total of counts must be greater than zero')
selections = self.sample(range(total), k=k)
bisect = _bisect
return [population[bisect(cum_counts, s)] for s in selections]
randbelow = self._randbelow
if not 0 <= k <= n:
raise ValueError("Sample larger than population or is negative")
result = [None] * k…
setsize = 21 # size of a small set minus size of an empty list
if k > 5:
setsize += 4 ** _ceil(_log(k * 3, 4)) # table size for big sets
if n <= setsize:
# An n-length list is smaller than a k-length set.
# Invariant: non-selected at pool[0 : n-i]
Variable | Value |
---|---|
counts | None |
k | 24.0 |
n | 42 |
population | [{'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb23400>, 'title': 'Listenpony #22: 10th Anniversary Concert', 'url': '/events/listenpony-22-10th-anniversary-concert/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb21570>, 'title': 'Listenpony #22: 10th Anniversary Concert', 'url': '/events/listenpony-22-10th-anniversary-concert/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb23a60>, 'title': 'Listenpony #22: 10th Anniversary Concert', 'url': '/events/listenpony-22-10th-anniversary-concert/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb20430>, 'title': 'Listenpony #22: 10th Anniversary Concert', 'url': '/events/listenpony-22-10th-anniversary-concert/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb21900>, 'title': 'Listenpony #22: 10th Anniversary Concert', 'url': '/events/listenpony-22-10th-anniversary-concert/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb23190>, 'title': 'Listenpony #22: 10th Anniversary Concert', 'url': '/events/listenpony-22-10th-anniversary-concert/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb21120>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dd5e70dc0>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dd5e72530>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb20910>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb23430>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb224a0>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb20970>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb20460>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb22a10>, 'title': 'Listenpony #21: James Larter + Explore Ensemble + Sophie Jamieson', 'url': '/events/listenpony-21-james-larter-explore-ensemble-sophie-jamieson/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb231c0>, 'title': 'Listenpony #16 (Birmingham / Manchester / London): George Fu + La ' 'Vaghezza + Cinema / Aldous RH / Elena Tonra', 'url': '/events/listenpony-16-george-fu-la-vaghezza/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb23910>, 'title': 'Listenpony #16 (Birmingham / Manchester / London): George Fu + La ' 'Vaghezza + Cinema / Aldous RH / Elena Tonra', 'url': '/events/listenpony-16-george-fu-la-vaghezza/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb21180>, 'title': 'Listenpony #16 (Birmingham / Manchester / London): George Fu + La ' 'Vaghezza + Cinema / Aldous RH / Elena Tonra', 'url': '/events/listenpony-16-george-fu-la-vaghezza/'}, {'image': <sorl.thumbnail.images.ImageFile object at 0x7f5dceb21b40>, 'ti… <trimmed 9683 bytes string> |
randbelow | <bound method Random._randbelow_with_getrandbits of <random.Random object at 0x5612d6871740>> |
self | <random.Random object at 0x5612d6871740> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_ACCEPT_ENCODING | 'gzip, br' |
HTTP_CDN_LOOP | 'cloudflare' |
HTTP_CF_CONNECTING_IP | '3.89.116.152' |
HTTP_CF_IPCOUNTRY | 'US' |
HTTP_CF_RAY | '86b94a15ee510a93-IAD' |
HTTP_CF_VISITOR | '{"scheme":"https"}' |
HTTP_CONNECTION | 'close' |
HTTP_CONNECT_TIME | '1' |
HTTP_HOST | 'listenpony.com' |
HTTP_REFERER | 'https://listenpony.com/support' |
HTTP_TOTAL_ROUTE_TIME | '0' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_VIA | '1.1 vegur' |
HTTP_X_FORWARDED_FOR | '3.89.116.152, 162.158.79.155' |
HTTP_X_FORWARDED_PORT | '443' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_REQUEST_ID | '771a7739-7e65-4188-91f3-15405f9faa46' |
HTTP_X_REQUEST_START | '1711646411236' |
PATH_INFO | '/support/' |
QUERY_STRING | '' |
RAW_URI | '/support/' |
REMOTE_ADDR | '10.1.18.83' |
REMOTE_PORT | '13036' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '0.0.0.0' |
SERVER_PORT | '8457' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'gunicorn/20.1.0' |
gunicorn.socket | <socket.socket fd=10, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('172.18.243.222', 8457), raddr=('10.1.18.83', 13036)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f5dd6d32110> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7f5dd6d32140> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
listenpony.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['localhost', 'www.listenpony.com', 'listenpony.com', '.listenpony.com', 'listenpony.herokuapp.com'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
AWS_ACCESS_KEY_ID | '********************' |
AWS_DEFAULT_ACL | 'public-read' |
AWS_IS_GZIPPED | True |
AWS_QUERYSTRING_AUTH | False |
AWS_S3_HOST | 'listenpony.s3.amazonaws.com' |
AWS_S3_REGION_NAME | 'eu-west-2' |
AWS_S3_SIGNATURE_VERSION | '********************' |
AWS_SECRET_ACCESS_KEY | '********************' |
AWS_STORAGE_BUCKET_NAME | 'listenpony' |
BASE_DIR | '/app' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CERTS_ROOT | '/app/certs/' |
COMPRESSORS | {'css': 'compressor.css.CssCompressor', 'js': 'compressor.js.JsCompressor'} |
COMPRESS_CACHEABLE_PRECOMPILERS | () |
COMPRESS_CACHE_BACKEND | 'default' |
COMPRESS_CACHE_KEY_FUNCTION | '********************' |
COMPRESS_CLEAN_CSS_ARGUMENTS | '' |
COMPRESS_CLEAN_CSS_BINARY | 'cleancss' |
COMPRESS_CLOSURE_COMPILER_ARGUMENTS | '' |
COMPRESS_CLOSURE_COMPILER_BINARY | 'java -jar compiler.jar' |
COMPRESS_CSS_FILTERS | ['compressor.filters.css_default.CssAbsoluteFilter', 'compressor.filters.cssmin.CSSMinFilter', 'compressor.filters.template.TemplateFilter'] |
COMPRESS_CSS_HASHING_METHOD | 'mtime' |
COMPRESS_DATA_URI_MAX_SIZE | 1024 |
COMPRESS_DEBUG_TOGGLE | None |
COMPRESS_ENABLED | True |
COMPRESS_FILTERS | {'css': ['compressor.filters.css_default.CssAbsoluteFilter', 'compressor.filters.cssmin.rCSSMinFilter'], 'js': ['compressor.filters.jsmin.rJSMinFilter']} |
COMPRESS_JINJA2_GET_ENVIRONMENT | <function CompressorConf.JINJA2_GET_ENVIRONMENT at 0x7f5dd88f4940> |
COMPRESS_MINT_DELAY | 30 |
COMPRESS_MTIME_DELAY | 10 |
COMPRESS_OFFLINE | True |
COMPRESS_OFFLINE_CONTEXT | {'STATIC_URL': 'https://listenpony.s3.amazonaws.com/'} |
COMPRESS_OFFLINE_MANIFEST | 'manifest.json' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
COMPRESS_OUTPUT_DIR | 'CACHE' |
COMPRESS_PARSER | 'compressor.parser.AutoSelectParser' |
COMPRESS_PRECOMPILERS | (('text/x-scss', 'django_libsass.SassCompiler'),) |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
COMPRESS_ROOT | '/app/static' |
COMPRESS_STORAGE | 'storages.backends.s3boto3.S3Boto3Storage' |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {'STATIC_URL': 'https://listenpony.s3.amazonaws.com/'} |
COMPRESS_URL | 'https://listenpony.s3.amazonaws.com/' |
COMPRESS_URL_PLACEHOLDER | '/__compressor_url_placeholder__/' |
COMPRESS_VERBOSE | False |
COMPRESS_YUGLIFY_BINARY | 'yuglify' |
COMPRESS_YUGLIFY_CSS_ARGUMENTS | '--terminal' |
COMPRESS_YUGLIFY_JS_ARGUMENTS | '--terminal' |
COMPRESS_YUI_BINARY | 'java -jar yuicompressor.jar' |
COMPRESS_YUI_CSS_ARGUMENTS | '' |
COMPRESS_YUI_JS_ARGUMENTS | '' |
CONTENT_TYPES | ['image', 'video'] |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | 'listenpony.com' |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | True |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | ['https://listenpony.com'] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 500, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'ec2-54-195-144-105.eu-west-1.compute.amazonaws.com', 'NAME': 'ddmsbjpuj1fip4', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': 5432, 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'wpcubcefjybbvo'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_AUTO_FIELD | 'django.db.models.AutoField' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'storages.backends.s3boto3.S3Boto3Storage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.sendgrid.net' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'listenpony' |
EMAIL_PORT | 587 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
GZIP_CONTENT_TYPES | ('text/css', 'application/javascript', 'application/x-javascript', 'text/javascript') |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'django.contrib.sitemaps', 'whitenoise.runserver_nostatic', 'storages', 'people', 'media', 'events', 'sorl.thumbnail', 'compressor', 'news', 'commissions', 'pages', 'recordings', 'markdownx', 'django.contrib.redirects') |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('ms', 'Malay'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-gb' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_HTTPONLY | False |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | None |
LANGUAGE_COOKIE_SECURE | False |
LOCAL | False |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MAX_UPLOAD_AUDIO | '24117248' |
MAX_UPLOAD_PDF | '10485760' |
MEDIA_ROOT | '/home/wmarseyc/public_html/listenpony/mediabucket/' |
MEDIA_URL | '/mediabucket/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'whitenoise.middleware.WhiteNoiseMiddleware', 'listenpony.custom_redirect_middleware.CustomRedirectFallbackMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PAYPAL_BUY_BUTTON_IMAGE | 'https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif' |
PAYPAL_CERT | '/app/certs/paypal_cert_pem.txt' |
PAYPAL_CERT_ID | '7AT7KSXVZG3L4' |
PAYPAL_IDENTITY_TOKEN | '********************' |
PAYPAL_PRIVATE_CERT | '/app/certs/paypal_private.pem' |
PAYPAL_PUBLIC_CERT | '/app/certs/paypal_public.pem' |
PAYPAL_RECEIVER_EMAIL | '[email protected]' |
PAYPAL_TEST | False |
PREPEND_WWW | False |
PROJECT_ROOT | '/app/listenpony' |
ROOT_URLCONF | 'listenpony.urls' |
S3DIRECT_DESTINATIONS | {'commission_applications': {'acl': 'public-read', 'allowed': ['appliation/pdf'], 'auth': True, 'key': '********************', 'key_args': '********************'}, 'images': {'acl': 'public-read', 'allowed': ['appliation/pdf'], 'auth': True, 'key': '********************', 'key_args': '********************'}} |
S3DIRECT_REGION | 'us-west-2' |
SECRET_KEY | '********************' |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_CROSS_ORIGIN_OPENER_POLICY | 'same-origin' |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | ('HTTP_X_FORWARDED_PROTO', 'https') |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | True |
SENDGRID_PASSWORD | '********************' |
SENDGRID_USERNAME | 'listenpony' |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SAMESITE | 'Lax' |
SESSION_COOKIE_SECURE | True |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'listenpony.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'django.contrib.staticfiles.finders.DefaultStorageFinder', 'compressor.finders.CompressorFinder') |
STATICFILES_STORAGE | 'storages.backends.s3boto3.S3Boto3Storage' |
STATIC_ROOT | '/app/static' |
STATIC_URL | 'https://listenpony.s3.amazonaws.com/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/app/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']}}] |
TEST | False |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
THUMBNAIL_DEBUG | True |
THUMBNAIL_DUMMY | True |
THUMBNAIL_PROGRESSIVE | True |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'Europe/London' |
TINYMCE_COMPRESSOR | True |
TINYMCE_DEFAULT_CONFIG | {'cleanup_on_startup': True, 'custom_undo_redo_levels': 10, 'height': 400, 'menubar': 'insert', 'plugins': 'table,spellchecker,paste,searchreplace,link,code', 'theme': 'advanced', 'toolbar': 'link', 'width': 500} |
TINYMCE_SPELLCHECKER | True |
USE_DEPRECATED_PYTZ | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'listenpony.wsgi.application' |
X_FRAME_OPTIONS | 'DENY' |
YEAR_MONTH_FORMAT | 'F Y' |
You’re seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.