Object of type QuerySet is not JSON serializable
Request Method: | GET |
---|---|
Request URL: | https://brigade.fitness/data/va15 |
Django Version: | 4.0.1 |
Exception Type: | TypeError |
Exception Value: | Object of type QuerySet is not JSON serializable |
Exception Location: | /usr/local/python3.8/lib/python3.8/json/encoder.py, line 179, in default |
Python Executable: | /var/www/env/bin/uwsgi |
Python Version: | 3.8.8 |
Python Path: | ['.', '', '/usr/local/python3.8/lib/python38.zip', '/usr/local/python3.8/lib/python3.8', '/usr/local/python3.8/lib/python3.8/lib-dynload', '/var/www/env/lib/python3.8/site-packages'] |
Server time: | Fri, 29 Mar 2024 01:41:03 +0000 |
/var/www/env/lib/python3.8/site-packages/django/core/handlers/exception.py
, line 47, in inner
response = await sync_to_async(response_for_exception, thread_sensitive=False)(request, exc)
return response
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('Object of type QuerySet is not JSON serializable') |
get_response | <SessionMiddleware get_response=convert_exception_to_response.<locals>.inner> |
request | <WSGIRequest: GET '/data/va15'> |
/var/www/env/lib/python3.8/site-packages/django/utils/deprecation.py
, line 128, in __call__
if asyncio.iscoroutinefunction(self.get_response):
return self.__acall__(request)
response = None
if hasattr(self, 'process_request'):
response = self.process_request(request)
response = response or self.get_response(request)
if hasattr(self, 'process_response'):
response = self.process_response(request, response)…
return response
async def __acall__(self, request):
"""
Async version of __call__ that is swapped in when an async request
is running.
Variable | Value |
---|---|
request | <WSGIRequest: GET '/data/va15'> |
response | <HttpResponseRedirect status_code=302, "text/html; charset=utf-8", url="/popup"> |
self | <SessionMiddleware get_response=convert_exception_to_response.<locals>.inner> |
/var/www/env/lib/python3.8/site-packages/django/contrib/sessions/middleware.py
, line 59, in process_response
max_age = request.session.get_expiry_age()
expires_time = time.time() + max_age
expires = http_date(expires_time)
# Save the session data and refresh the client cookie.
# Skip session save for 500 responses, refs #3881.
if response.status_code != 500:
try:
request.session.save()…
except UpdateError:
raise SessionInterrupted(
"The request's session was deleted before the "
"request completed. The user may have logged "
"out in a concurrent request, for example."
)
Variable | Value |
---|---|
accessed | True |
empty | False |
expires | 'Fri, 12 Apr 2024 01:41:03 GMT' |
expires_time | 1712886063.767243 |
max_age | 1209600 |
modified | True |
request | <WSGIRequest: GET '/data/va15'> |
response | <HttpResponseRedirect status_code=302, "text/html; charset=utf-8", url="/popup"> |
self | <SessionMiddleware get_response=convert_exception_to_response.<locals>.inner> |
/var/www/env/lib/python3.8/site-packages/django/contrib/sessions/backends/db.py
, line 81, in save
def save(self, must_create=False):
"""
Save the current session data to the database. If 'must_create' is
True, raise a database error if the saving operation doesn't create a
new entry (as opposed to possibly updating an existing entry).
"""
if self.session_key is None:
return self.create()…
data = self._get_session(no_load=must_create)
obj = self.create_model_instance(data)
using = router.db_for_write(self.model, instance=obj)
try:
with transaction.atomic(using=using):
obj.save(force_insert=must_create, force_update=not must_create, using=using)
Variable | Value |
---|---|
must_create | False |
self | <django.contrib.sessions.backends.db.SessionStore object at 0x7fd15bea2a00> |
/var/www/env/lib/python3.8/site-packages/django/contrib/sessions/backends/db.py
, line 55, in create
def create(self):
while True:
self._session_key = self._get_new_session_key()
try:
# Save immediately to ensure we have a unique entry in the
# database.
self.save(must_create=True)…
except CreateError:
# Key wasn't unique. Try again.
continue
self.modified = True
return
Variable | Value |
---|---|
self | <django.contrib.sessions.backends.db.SessionStore object at 0x7fd15bea2a00> |
/var/www/env/lib/python3.8/site-packages/django/contrib/sessions/backends/db.py
, line 83, in save
Save the current session data to the database. If 'must_create' is
True, raise a database error if the saving operation doesn't create a
new entry (as opposed to possibly updating an existing entry).
"""
if self.session_key is None:
return self.create()
data = self._get_session(no_load=must_create)
obj = self.create_model_instance(data)…
using = router.db_for_write(self.model, instance=obj)
try:
with transaction.atomic(using=using):
obj.save(force_insert=must_create, force_update=not must_create, using=using)
except IntegrityError:
if must_create:
Variable | Value |
---|---|
data | {'formdata': {'getmeta': <QuerySet [<sitemeta: <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">>, <sitemeta: <meta name="description" content="Brigade Fitness Unit is the best gym in valasaravakkam ,Chennai .We offers best practice for weight gain and loss tips with customized diet chart " />>, <sitemeta: <meta name="keywords" content="gym in chennai,fitness center in chennai,Top gyms in Chennai,zumba classes in chennai, chennai best gym , online fitness program,online trainer for weight loss,Gym in Valasaravakkam"/>>, <sitemeta: <meta property="og:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta property="og:type" content="website">>, <sitemeta: <meta property="og:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta property="og:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta property="og:image" content="">>, <sitemeta: <meta name="twitter:card" content="summary_large_image">>, <sitemeta: <meta property="twitter:domain" content="brigade.fitness">>, <sitemeta: <meta property="twitter:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta name="twitter:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta name="twitter:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta name="twitter:image" content="">>, <sitemeta: <meta name="robots" content="index, follow">>, <sitemeta: <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-877642909"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-877642909'); </script>>]>, 'google': <QuerySet [<googlean: google_link>, <googlean: googe_data>]>, 'heading': 'Diet Consumption', 'pages': 'Diet Consumption', 'title': 'Brigade Fitness - Diet Consumption'}} |
must_create | True |
self | <django.contrib.sessions.backends.db.SessionStore object at 0x7fd15bea2a00> |
/var/www/env/lib/python3.8/site-packages/django/contrib/sessions/backends/db.py
, line 70, in create_model_instance
"""
Return a new instance of the session model object, which represents the
current session state. Intended to be used for saving the session data
to the database.
"""
return self.model(
session_key=self._get_or_create_session_key(),
session_data=self.encode(data),…
expire_date=self.get_expiry_date(),
)
def save(self, must_create=False):
"""
Save the current session data to the database. If 'must_create' is
Variable | Value |
---|---|
data | {'formdata': {'getmeta': <QuerySet [<sitemeta: <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">>, <sitemeta: <meta name="description" content="Brigade Fitness Unit is the best gym in valasaravakkam ,Chennai .We offers best practice for weight gain and loss tips with customized diet chart " />>, <sitemeta: <meta name="keywords" content="gym in chennai,fitness center in chennai,Top gyms in Chennai,zumba classes in chennai, chennai best gym , online fitness program,online trainer for weight loss,Gym in Valasaravakkam"/>>, <sitemeta: <meta property="og:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta property="og:type" content="website">>, <sitemeta: <meta property="og:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta property="og:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta property="og:image" content="">>, <sitemeta: <meta name="twitter:card" content="summary_large_image">>, <sitemeta: <meta property="twitter:domain" content="brigade.fitness">>, <sitemeta: <meta property="twitter:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta name="twitter:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta name="twitter:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta name="twitter:image" content="">>, <sitemeta: <meta name="robots" content="index, follow">>, <sitemeta: <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-877642909"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-877642909'); </script>>]>, 'google': <QuerySet [<googlean: google_link>, <googlean: googe_data>]>, 'heading': 'Diet Consumption', 'pages': 'Diet Consumption', 'title': 'Brigade Fitness - Diet Consumption'}} |
self | <django.contrib.sessions.backends.db.SessionStore object at 0x7fd15bea2a00> |
/var/www/env/lib/python3.8/site-packages/django/contrib/sessions/backends/base.py
, line 91, in encode
return self.get(self.TEST_COOKIE_NAME) == self.TEST_COOKIE_VALUE
def delete_test_cookie(self):
del self[self.TEST_COOKIE_NAME]
def encode(self, session_dict):
"Return the given session dictionary serialized and encoded as a string."
return signing.dumps(…
session_dict, salt=self.key_salt, serializer=self.serializer,
compress=True,
)
def decode(self, session_data):
try:
Variable | Value |
---|---|
self | <django.contrib.sessions.backends.db.SessionStore object at 0x7fd15bea2a00> |
session_dict | {'formdata': {'getmeta': <QuerySet [<sitemeta: <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">>, <sitemeta: <meta name="description" content="Brigade Fitness Unit is the best gym in valasaravakkam ,Chennai .We offers best practice for weight gain and loss tips with customized diet chart " />>, <sitemeta: <meta name="keywords" content="gym in chennai,fitness center in chennai,Top gyms in Chennai,zumba classes in chennai, chennai best gym , online fitness program,online trainer for weight loss,Gym in Valasaravakkam"/>>, <sitemeta: <meta property="og:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta property="og:type" content="website">>, <sitemeta: <meta property="og:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta property="og:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta property="og:image" content="">>, <sitemeta: <meta name="twitter:card" content="summary_large_image">>, <sitemeta: <meta property="twitter:domain" content="brigade.fitness">>, <sitemeta: <meta property="twitter:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta name="twitter:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta name="twitter:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta name="twitter:image" content="">>, <sitemeta: <meta name="robots" content="index, follow">>, <sitemeta: <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-877642909"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-877642909'); </script>>]>, 'google': <QuerySet [<googlean: google_link>, <googlean: googe_data>]>, 'heading': 'Diet Consumption', 'pages': 'Diet Consumption', 'title': 'Brigade Fitness - Diet Consumption'}} |
/var/www/env/lib/python3.8/site-packages/django/core/signing.py
, line 135, in dumps
Salt can be used to namespace the hash, so that a signed string is
only valid for a given namespace. Leaving this at the default
value or re-using a salt value across different parts of your
application without good cause is a security risk.
The serializer is expected to return a bytestring.
"""
return TimestampSigner(key, salt=salt).sign_object(obj, serializer=serializer, compress=compress)…
def loads(s, key=None, salt='django.core.signing', serializer=JSONSerializer, max_age=None):
"""
Reverse of dumps(), raise BadSignature if signature fails.
Variable | Value |
---|---|
compress | True |
key | None |
obj | {'formdata': {'getmeta': <QuerySet [<sitemeta: <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">>, <sitemeta: <meta name="description" content="Brigade Fitness Unit is the best gym in valasaravakkam ,Chennai .We offers best practice for weight gain and loss tips with customized diet chart " />>, <sitemeta: <meta name="keywords" content="gym in chennai,fitness center in chennai,Top gyms in Chennai,zumba classes in chennai, chennai best gym , online fitness program,online trainer for weight loss,Gym in Valasaravakkam"/>>, <sitemeta: <meta property="og:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta property="og:type" content="website">>, <sitemeta: <meta property="og:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta property="og:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta property="og:image" content="">>, <sitemeta: <meta name="twitter:card" content="summary_large_image">>, <sitemeta: <meta property="twitter:domain" content="brigade.fitness">>, <sitemeta: <meta property="twitter:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta name="twitter:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta name="twitter:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta name="twitter:image" content="">>, <sitemeta: <meta name="robots" content="index, follow">>, <sitemeta: <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-877642909"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-877642909'); </script>>]>, 'google': <QuerySet [<googlean: google_link>, <googlean: googe_data>]>, 'heading': 'Diet Consumption', 'pages': 'Diet Consumption', 'title': 'Brigade Fitness - Diet Consumption'}} |
salt | 'django.contrib.sessions.SessionStore' |
serializer | <class 'django.core.signing.JSONSerializer'> |
/var/www/env/lib/python3.8/site-packages/django/core/signing.py
, line 183, in sign_object
If compress is True (not the default), check if compressing using zlib
can save some space. Prepend a '.' to signify compression. This is
included in the signature, to protect against zip bombs.
The serializer is expected to return a bytestring.
"""
data = serializer().dumps(obj)…
# Flag for if it's been compressed or not.
is_compressed = False
if compress:
# Avoid zlib dependency unless compress is being used.
compressed = zlib.compress(data)
Variable | Value |
---|---|
compress | True |
obj | {'formdata': {'getmeta': <QuerySet [<sitemeta: <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">>, <sitemeta: <meta name="description" content="Brigade Fitness Unit is the best gym in valasaravakkam ,Chennai .We offers best practice for weight gain and loss tips with customized diet chart " />>, <sitemeta: <meta name="keywords" content="gym in chennai,fitness center in chennai,Top gyms in Chennai,zumba classes in chennai, chennai best gym , online fitness program,online trainer for weight loss,Gym in Valasaravakkam"/>>, <sitemeta: <meta property="og:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta property="og:type" content="website">>, <sitemeta: <meta property="og:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta property="og:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta property="og:image" content="">>, <sitemeta: <meta name="twitter:card" content="summary_large_image">>, <sitemeta: <meta property="twitter:domain" content="brigade.fitness">>, <sitemeta: <meta property="twitter:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta name="twitter:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta name="twitter:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta name="twitter:image" content="">>, <sitemeta: <meta name="robots" content="index, follow">>, <sitemeta: <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-877642909"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-877642909'); </script>>]>, 'google': <QuerySet [<googlean: google_link>, <googlean: googe_data>]>, 'heading': 'Diet Consumption', 'pages': 'Diet Consumption', 'title': 'Brigade Fitness - Diet Consumption'}} |
self | <django.core.signing.TimestampSigner object at 0x7fd15bea2280> |
serializer | <class 'django.core.signing.JSONSerializer'> |
/var/www/env/lib/python3.8/site-packages/django/core/signing.py
, line 112, in dumps
class JSONSerializer:
"""
Simple wrapper around json to be used in signing.dumps and
signing.loads.
"""
def dumps(self, obj):
return json.dumps(obj, separators=(',', ':')).encode('latin-1')…
def loads(self, data):
return json.loads(data.decode('latin-1'))
def dumps(obj, key=None, salt='django.core.signing', serializer=JSONSerializer, compress=False):
Variable | Value |
---|---|
obj | {'formdata': {'getmeta': <QuerySet [<sitemeta: <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">>, <sitemeta: <meta name="description" content="Brigade Fitness Unit is the best gym in valasaravakkam ,Chennai .We offers best practice for weight gain and loss tips with customized diet chart " />>, <sitemeta: <meta name="keywords" content="gym in chennai,fitness center in chennai,Top gyms in Chennai,zumba classes in chennai, chennai best gym , online fitness program,online trainer for weight loss,Gym in Valasaravakkam"/>>, <sitemeta: <meta property="og:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta property="og:type" content="website">>, <sitemeta: <meta property="og:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta property="og:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta property="og:image" content="">>, <sitemeta: <meta name="twitter:card" content="summary_large_image">>, <sitemeta: <meta property="twitter:domain" content="brigade.fitness">>, <sitemeta: <meta property="twitter:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta name="twitter:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta name="twitter:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta name="twitter:image" content="">>, <sitemeta: <meta name="robots" content="index, follow">>, <sitemeta: <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-877642909"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-877642909'); </script>>]>, 'google': <QuerySet [<googlean: google_link>, <googlean: googe_data>]>, 'heading': 'Diet Consumption', 'pages': 'Diet Consumption', 'title': 'Brigade Fitness - Diet Consumption'}} |
self | <django.core.signing.JSONSerializer object at 0x7fd15bd76130> |
/usr/local/python3.8/lib/python3.8/json/__init__.py
, line 234, in dumps
if (not skipkeys and ensure_ascii and
check_circular and allow_nan and
cls is None and indent is None and separators is None and
default is None and not sort_keys and not kw):
return _default_encoder.encode(obj)
if cls is None:
cls = JSONEncoder
return cls(…
skipkeys=skipkeys, ensure_ascii=ensure_ascii,
check_circular=check_circular, allow_nan=allow_nan, indent=indent,
separators=separators, default=default, sort_keys=sort_keys,
**kw).encode(obj)
Variable | Value |
---|---|
allow_nan | True |
check_circular | True |
cls | <class 'json.encoder.JSONEncoder'> |
default | None |
ensure_ascii | True |
indent | None |
kw | {} |
obj | {'formdata': {'getmeta': <QuerySet [<sitemeta: <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">>, <sitemeta: <meta name="description" content="Brigade Fitness Unit is the best gym in valasaravakkam ,Chennai .We offers best practice for weight gain and loss tips with customized diet chart " />>, <sitemeta: <meta name="keywords" content="gym in chennai,fitness center in chennai,Top gyms in Chennai,zumba classes in chennai, chennai best gym , online fitness program,online trainer for weight loss,Gym in Valasaravakkam"/>>, <sitemeta: <meta property="og:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta property="og:type" content="website">>, <sitemeta: <meta property="og:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta property="og:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta property="og:image" content="">>, <sitemeta: <meta name="twitter:card" content="summary_large_image">>, <sitemeta: <meta property="twitter:domain" content="brigade.fitness">>, <sitemeta: <meta property="twitter:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta name="twitter:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta name="twitter:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta name="twitter:image" content="">>, <sitemeta: <meta name="robots" content="index, follow">>, <sitemeta: <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-877642909"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-877642909'); </script>>]>, 'google': <QuerySet [<googlean: google_link>, <googlean: googe_data>]>, 'heading': 'Diet Consumption', 'pages': 'Diet Consumption', 'title': 'Brigade Fitness - Diet Consumption'}} |
separators | (',', ':') |
skipkeys | False |
sort_keys | False |
/usr/local/python3.8/lib/python3.8/json/encoder.py
, line 199, in encode
if self.ensure_ascii:
return encode_basestring_ascii(o)
else:
return encode_basestring(o)
# This doesn't pass the iterator directly to ''.join() because the
# exceptions aren't as detailed. The list call should be roughly
# equivalent to the PySequence_Fast that ''.join() would do.
chunks = self.iterencode(o, _one_shot=True)…
if not isinstance(chunks, (list, tuple)):
chunks = list(chunks)
return ''.join(chunks)
def iterencode(self, o, _one_shot=False):
"""Encode the given object and yield each string
Variable | Value |
---|---|
o | {'formdata': {'getmeta': <QuerySet [<sitemeta: <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">>, <sitemeta: <meta name="description" content="Brigade Fitness Unit is the best gym in valasaravakkam ,Chennai .We offers best practice for weight gain and loss tips with customized diet chart " />>, <sitemeta: <meta name="keywords" content="gym in chennai,fitness center in chennai,Top gyms in Chennai,zumba classes in chennai, chennai best gym , online fitness program,online trainer for weight loss,Gym in Valasaravakkam"/>>, <sitemeta: <meta property="og:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta property="og:type" content="website">>, <sitemeta: <meta property="og:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta property="og:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta property="og:image" content="">>, <sitemeta: <meta name="twitter:card" content="summary_large_image">>, <sitemeta: <meta property="twitter:domain" content="brigade.fitness">>, <sitemeta: <meta property="twitter:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta name="twitter:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta name="twitter:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta name="twitter:image" content="">>, <sitemeta: <meta name="robots" content="index, follow">>, <sitemeta: <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-877642909"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-877642909'); </script>>]>, 'google': <QuerySet [<googlean: google_link>, <googlean: googe_data>]>, 'heading': 'Diet Consumption', 'pages': 'Diet Consumption', 'title': 'Brigade Fitness - Diet Consumption'}} |
self | <json.encoder.JSONEncoder object at 0x7fd15bd76c70> |
/usr/local/python3.8/lib/python3.8/json/encoder.py
, line 257, in iterencode
self.key_separator, self.item_separator, self.sort_keys,
self.skipkeys, self.allow_nan)
else:
_iterencode = _make_iterencode(
markers, self.default, _encoder, self.indent, floatstr,
self.key_separator, self.item_separator, self.sort_keys,
self.skipkeys, _one_shot)
return _iterencode(o, 0)…
def _make_iterencode(markers, _default, _encoder, _indent, _floatstr,
_key_separator, _item_separator, _sort_keys, _skipkeys, _one_shot,
## HACK: hand-optimized bytecode; turn globals into locals
ValueError=ValueError,
dict=dict,
Variable | Value |
---|---|
_encoder | <built-in function encode_basestring_ascii> |
_iterencode | <_json.Encoder object at 0x7fd15bd85100> |
_one_shot | True |
floatstr | <function JSONEncoder.iterencode.<locals>.floatstr at 0x7fd15be27e50> |
markers | {140537165202112: {'formdata': {'getmeta': <QuerySet [<sitemeta: <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">>, <sitemeta: <meta name="description" content="Brigade Fitness Unit is the best gym in valasaravakkam ,Chennai .We offers best practice for weight gain and loss tips with customized diet chart " />>, <sitemeta: <meta name="keywords" content="gym in chennai,fitness center in chennai,Top gyms in Chennai,zumba classes in chennai, chennai best gym , online fitness program,online trainer for weight loss,Gym in Valasaravakkam"/>>, <sitemeta: <meta property="og:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta property="og:type" content="website">>, <sitemeta: <meta property="og:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta property="og:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta property="og:image" content="">>, <sitemeta: <meta name="twitter:card" content="summary_large_image">>, <sitemeta: <meta property="twitter:domain" content="brigade.fitness">>, <sitemeta: <meta property="twitter:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta name="twitter:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta name="twitter:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta name="twitter:image" content="">>, <sitemeta: <meta name="robots" content="index, follow">>, <sitemeta: <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-877642909"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-877642909'); </script>>]>, 'google': <QuerySet [<googlean: google_link>, <googlean: googe_data>]>, 'heading': 'Diet Consumption', 'pages': 'Diet Consumption', 'title': 'Brigade Fitness - Diet Consumption'}}, 140537165565760: {'getmeta': <QuerySet [<sitemeta: <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">>, <sitemeta: <meta name="description" content="Brigade Fitness Unit is the best gym in valasaravakkam ,Chennai .We offers best practice for weight gain and loss tips with customized diet chart " />>, <sitemeta: <meta name="keywords" content="gym in chennai,fitness center in chennai,Top gyms in Chennai,zumba classes in chennai, chennai best gym , online fitness program,online trainer for weight loss,Gym in Valasaravakkam"/>>, <sitemeta: <meta property="og:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta property="og:type" content="website">>, <sitemeta: <meta property="og:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta property="og:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta property="og:image" content="">>, <sitemeta: <meta name="twitter:card" content="summary_large_image">>, <sitemeta: <meta property="twitter:domain" content="brigade.fitness">>, <sitemeta: <meta property="twitter:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta name="twitter:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta name="twitter:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta name="twitter:image" content="">>, <sitemeta: <meta name="robots" content="index, follow">>, <… <trimmed 4741 bytes string> |
o | {'formdata': {'getmeta': <QuerySet [<sitemeta: <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">>, <sitemeta: <meta name="description" content="Brigade Fitness Unit is the best gym in valasaravakkam ,Chennai .We offers best practice for weight gain and loss tips with customized diet chart " />>, <sitemeta: <meta name="keywords" content="gym in chennai,fitness center in chennai,Top gyms in Chennai,zumba classes in chennai, chennai best gym , online fitness program,online trainer for weight loss,Gym in Valasaravakkam"/>>, <sitemeta: <meta property="og:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta property="og:type" content="website">>, <sitemeta: <meta property="og:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta property="og:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta property="og:image" content="">>, <sitemeta: <meta name="twitter:card" content="summary_large_image">>, <sitemeta: <meta property="twitter:domain" content="brigade.fitness">>, <sitemeta: <meta property="twitter:url" content="https://www.brigade.fitness/">>, <sitemeta: <meta name="twitter:title" content="Best gym and Fitness center in chennai -Brigade fitness unit">>, <sitemeta: <meta name="twitter:description" content="Brigade fitness unit is best gym and fitness center in Chennai. We offers yoga classes, Zumba training, CrossFit and other work outs in reasonable fees.">>, <sitemeta: <meta name="twitter:image" content="">>, <sitemeta: <meta name="robots" content="index, follow">>, <sitemeta: <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-877642909"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'AW-877642909'); </script>>]>, 'google': <QuerySet [<googlean: google_link>, <googlean: googe_data>]>, 'heading': 'Diet Consumption', 'pages': 'Diet Consumption', 'title': 'Brigade Fitness - Diet Consumption'}} |
self | <json.encoder.JSONEncoder object at 0x7fd15bd76c70> |
/usr/local/python3.8/lib/python3.8/json/encoder.py
, line 179, in default
pass
else:
return list(iterable)
# Let the base class default method raise the TypeError
return JSONEncoder.default(self, o)
"""
raise TypeError(f'Object of type {o.__class__.__name__} '…
f'is not JSON serializable')
def encode(self, o):
"""Return a JSON string representation of a Python data structure.
>>> from json.encoder import JSONEncoder
Variable | Value |
---|---|
o | <QuerySet [<googlean: google_link>, <googlean: googe_data>]> |
self | <json.encoder.JSONEncoder object at 0x7fd15bd76c70> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTENT_LENGTH | '' |
CONTENT_TYPE | '' |
DOCUMENT_ROOT | '/etc/nginx/html' |
HTTP_ACCEPT | '*/*' |
HTTP_ACCEPT_ENCODING | 'gzip, br' |
HTTP_CDN_LOOP | 'cloudflare' |
HTTP_CF_CONNECTING_IP | '34.201.16.34' |
HTTP_CF_IPCOUNTRY | 'US' |
HTTP_CF_RAY | '86bc27c94f895b0b-IAD' |
HTTP_CF_VISITOR | '{"scheme":"https"}' |
HTTP_CONNECTION | 'Keep-Alive' |
HTTP_HOST | 'brigade.fitness' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '34.201.16.34' |
HTTP_X_FORWARDED_PROTO | 'https' |
PATH_INFO | '/data/va15' |
QUERY_STRING | '' |
REMOTE_ADDR | '172.70.35.68' |
REMOTE_PORT | '31510' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'http' |
REQUEST_URI | '/data/va15' |
SCRIPT_NAME | '' |
SERVER_NAME | 'brigade.fitness' |
SERVER_PORT | '80' |
SERVER_PROTOCOL | 'HTTP/1.1' |
uwsgi.node | b'vmi711364.contaboserver.net' |
uwsgi.version | b'2.0.20' |
wsgi.errors | <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'> |
wsgi.file_wrapper | <built-in function uwsgi_sendfile> |
wsgi.input | <uwsgi._Input object at 0x7fd15bd355b0> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
brigadior.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | PosixPath('/var/www/brigadior') |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': PosixPath('/var/www/brigadior/db.sqlite3'), 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} |
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.BigAutoField' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'localhost' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | '' |
EMAIL_PORT | 25 |
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 | False |
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' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'captcha', 'pages'] |
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-us' |
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 |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/var/www/brigadior/media' |
MEDIA_URL | '/images/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'brigadior.urls' |
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 | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
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 | False |
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 | 'brigadior.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | ['/var/www/brigadior/static'] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/static/' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/var/www/brigadior/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_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'UTC' |
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 | 'brigadior.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.