division by zero
Request Method: | GET |
---|---|
Request URL: | https://www.ninepebbles.com/0--agricultural-plot-for-sale-in-brooklyn-ubhrat-near-sai-saga-surat-for-0-prid-838/ |
Django Version: | 4.0.5 |
Exception Type: | ZeroDivisionError |
Exception Value: | division by zero |
Exception Location: | /var/www/ninepebbles.com/ninepebbles_app_web_client/templatetags/helper.py, line 45, in price_per_unit_1 |
Python Executable: | /var/www/ninepebbles.com/env/bin/python |
Python Version: | 3.10.12 |
Python Path: | ['/var/www/ninepebbles.com', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/var/www/ninepebbles.com/env/lib/python3.10/site-packages'] |
Server time: | Thu, 28 Mar 2024 12:32:41 +0000 |
In template /var/www/ninepebbles.com/ninepebbles_app_web_client/templates/ninepebbles_app_web_client/user/property_detail.html
, error at line 246
236 | <span><i class="lni-map-marker"></i> {{ data.property_buildingname }}, {{ data.property_areaname }}, {{ data.property_city_name }} </span> |
---|---|
237 | <h3 class="prt-price-fix"> |
238 | {{ data.property_currency }} |
239 | {% if data.property_country == "1" %} |
240 | {{ data.property_price|amount_format_words_indian }} |
241 | {% else %} |
242 | {{ data.property_price|amount_format_words_international }} |
243 | {% endif %} |
244 | </h3> |
245 | <div> |
246 | {% price_per_unit_1 data.property_price data.property_area property_country %} per {{ data.property_areaunit }} |
247 | </div> |
248 | <div class="list-fx-features"> |
249 | <div class="listing-card-info-icon"> |
250 | <div class="inc-fleat-icon"> |
251 | <img alt="" src="../static/images/system/bed.svg" width="13"> |
252 | </div> |
253 | {% if data.property_country == "1" %} |
254 | {% format_inr data.property_area %} |
255 | {{ data.property_areaunit }} |
256 | {% else %} |
/var/www/ninepebbles.com/env/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 | ZeroDivisionError('division by zero') |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f8515cf3f70>> |
request | <WSGIRequest: GET '/0--agricultural-plot-for-sale-in-brooklyn-ubhrat-near-sai-saga-surat-for-0-prid-838/'> |
/var/www/ninepebbles.com/env/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 property_details at 0x7f8514363d90> |
callback_args | () |
callback_kwargs | {'property_id': 838, 'slug': '0--agricultural-plot-for-sale-in-brooklyn-ubhrat-near-sai-saga-surat-for-0'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>> |
request | <WSGIRequest: GET '/0--agricultural-plot-for-sale-in-brooklyn-ubhrat-near-sai-saga-surat-for-0-prid-838/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f8515cf3f70> |
wrapped_callback | <function property_details at 0x7f8514363d90> |
/var/www/ninepebbles.com/ninepebbles_app_web_client/views.py
, line 417, in property_details
return render(request, 'ninepebbles_app_web_client/user/property_detail.html',
{"data": data, 'URL_HOST': config('URL'), "login_type": 'yes'})
else:
post_data = {'property_id': property_id}
response = requests.post(config('URL')+'/api/property_details/',
data=post_data)
data = response.json()
return render(request, 'ninepebbles_app_web_client/user/property_detail.html',…
{"data": data, 'URL_HOST': config('URL'), "login_type": 'no'})
def search_users(request):
access_token = request.COOKIES.get('access_token')
if access_token is not None:
Variable | Value |
---|---|
access_token | None |
data | {'property_addeddate': '2016-01-18', 'property_area': 0, 'property_areaname': 'Brooklyn Ubhrat Near Sai Saga', 'property_areaunit': '', 'property_availablefor': 'Sale', 'property_bedrooms': 0, 'property_buildingname': '', 'property_category': 'Agricultural', 'property_city': '186', 'property_city_name': 'Surat', 'property_constructiondate': None, 'property_constructionstatus': '', 'property_country': '1', 'property_country_name': 'India', 'property_currency': 'INR', 'property_floor': 0, 'property_id': 838, 'property_image1': None, 'property_image2': None, 'property_image3': None, 'property_image4': None, 'property_image5': None, 'property_image6': None, 'property_link': '', 'property_owner_email': 'mkt@whitewingsgroup.in', 'property_owner_image': None, 'property_owner_name': 'Mr Jignesh Amin', 'property_owner_phone': 9824099444, 'property_ownership': 'Owner', 'property_ownershiptype': '', 'property_price': 0, 'property_roomtype': '', 'property_state': '62', 'property_state_name': 'Gujarat', 'property_subcategory': 'Agricultural Plot', 'property_totalfloor': 0, 'property_user': 715, 'property_zip': ''} |
post_data | {'property_id': 838} |
property_id | 838 |
request | <WSGIRequest: GET '/0--agricultural-plot-for-sale-in-brooklyn-ubhrat-near-sai-saga-surat-for-0-prid-838/'> |
response | <Response [200]> |
slug | '0--agricultural-plot-for-sale-in-brooklyn-ubhrat-near-sai-saga-surat-for-0' |
/var/www/ninepebbles.com/env/lib/python3.10/site-packages/django/shortcuts.py
, line 24, in render
def render(
request, template_name, context=None, content_type=None, status=None, using=None
):
"""
Return an HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)…
return HttpResponse(content, content_type, status)
def redirect(to, *args, permanent=False, **kwargs):
"""
Return an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | {'URL_HOST': 'https://www.ninepebbles.com', 'data': {'property_addeddate': '2016-01-18', 'property_area': 0, 'property_areaname': 'Brooklyn Ubhrat Near Sai Saga', 'property_areaunit': '', 'property_availablefor': 'Sale', 'property_bedrooms': 0, 'property_buildingname': '', 'property_category': 'Agricultural', 'property_city': '186', 'property_city_name': 'Surat', 'property_constructiondate': None, 'property_constructionstatus': '', 'property_country': '1', 'property_country_name': 'India', 'property_currency': 'INR', 'property_floor': 0, 'property_id': 838, 'property_image1': None, 'property_image2': None, 'property_image3': None, 'property_image4': None, 'property_image5': None, 'property_image6': None, 'property_link': '', 'property_owner_email': 'mkt@whitewingsgroup.in', 'property_owner_image': None, 'property_owner_name': 'Mr Jignesh Amin', 'property_owner_phone': 9824099444, 'property_ownership': 'Owner', 'property_ownershiptype': '', 'property_price': 0, 'property_roomtype': '', 'property_state': '62', 'property_state_name': 'Gujarat', 'property_subcategory': 'Agricultural Plot', 'property_totalfloor': 0, 'property_user': 715, 'property_zip': ''}, 'login_type': 'no'} |
request | <WSGIRequest: GET '/0--agricultural-plot-for-sale-in-brooklyn-ubhrat-near-sai-saga-surat-for-0-prid-838/'> |
status | None |
template_name | 'ninepebbles_app_web_client/user/property_detail.html' |
using | None |
/var/www/ninepebbles.com/env/lib/python3.10/site-packages/django/template/loader.py
, line 62, in render_to_string
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)…
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {'URL_HOST': 'https://www.ninepebbles.com', 'data': {'property_addeddate': '2016-01-18', 'property_area': 0, 'property_areaname': 'Brooklyn Ubhrat Near Sai Saga', 'property_areaunit': '', 'property_availablefor': 'Sale', 'property_bedrooms': 0, 'property_buildingname': '', 'property_category': 'Agricultural', 'property_city': '186', 'property_city_name': 'Surat', 'property_constructiondate': None, 'property_constructionstatus': '', 'property_country': '1', 'property_country_name': 'India', 'property_currency': 'INR', 'property_floor': 0, 'property_id': 838, 'property_image1': None, 'property_image2': None, 'property_image3': None, 'property_image4': None, 'property_image5': None, 'property_image6': None, 'property_link': '', 'property_owner_email': 'mkt@whitewingsgroup.in', 'property_owner_image': None, 'property_owner_name': 'Mr Jignesh Amin', 'property_owner_phone': 9824099444, 'property_ownership': 'Owner', 'property_ownershiptype': '', 'property_price': 0, 'property_roomtype': '', 'property_state': '62', 'property_state_name': 'Gujarat', 'property_subcategory': 'Agricultural Plot', 'property_totalfloor': 0, 'property_user': 715, 'property_zip': ''}, 'login_type': 'no'} |
request | <WSGIRequest: GET '/0--agricultural-plot-for-sale-in-brooklyn-ubhrat-near-sai-saga-surat-for-0-prid-838/'> |
template | <django.template.backends.django.Template object at 0x7f851436b6d0> |
template_name | 'ninepebbles_app_web_client/user/property_detail.html' |
using | None |
/var/www/ninepebbles.com/env/lib/python3.10/site-packages/django/template/backends/django.py
, line 62, in render
return self.template.origin
def render(self, context=None, request=None):
context = make_context(
context, request, autoescape=self.backend.engine.autoescape
)
try:
return self.template.render(context)…
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'data': {'property_id': 838, 'property_user': 715, 'property_addeddate': '2016-01-18', 'property_image1': None, 'property_image2': None, 'property_image3': None, 'property_image4': None, 'property_image5': None, 'property_image6': None, 'property_category': 'Agricultural', 'property_subcategory': 'Agricultural Plot', 'property_availablefor': 'Sale', 'property_roomtype': '', 'property_bedrooms': 0, 'property_constructionstatus': '', 'property_country': '1', 'property_state': '62', 'property_city': '186', 'property_areaname': 'Brooklyn Ubhrat Near Sai Saga', 'property_buildingname': '', 'property_zip': '', 'property_area': 0, 'property_areaunit': '', 'property_price': 0, 'property_ownership': 'Owner', 'property_floor': 0, 'property_totalfloor': 0, 'property_ownershiptype': '', 'property_constructiondate': None, 'property_link': '', 'property_city_name': 'Surat', 'property_state_name': 'Gujarat', 'property_country_name': 'India', 'property_owner_image': None, 'property_owner_name': 'Mr Jignesh Amin', 'property_owner_phone': 9824099444, 'property_owner_email': 'mkt@whitewingsgroup.in', 'property_currency': 'INR'}, 'URL_HOST': 'https://www.ninepebbles.com', 'login_type': 'no'}] |
request | <WSGIRequest: GET '/0--agricultural-plot-for-sale-in-brooklyn-ubhrat-near-sai-saga-surat-for-0-prid-838/'> |
self | <django.template.backends.django.Template object at 0x7f851436b6d0> |
/var/www/ninepebbles.com/env/lib/python3.10/site-packages/django/template/base.py
, line 175, in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)…
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'data': {'property_id': 838, 'property_user': 715, 'property_addeddate': '2016-01-18', 'property_image1': None, 'property_image2': None, 'property_image3': None, 'property_image4': None, 'property_image5': None, 'property_image6': None, 'property_category': 'Agricultural', 'property_subcategory': 'Agricultural Plot', 'property_availablefor': 'Sale', 'property_roomtype': '', 'property_bedrooms': 0, 'property_constructionstatus': '', 'property_country': '1', 'property_state': '62', 'property_city': '186', 'property_areaname': 'Brooklyn Ubhrat Near Sai Saga', 'property_buildingname': '', 'property_zip': '', 'property_area': 0, 'property_areaunit': '', 'property_price': 0, 'property_ownership': 'Owner', 'property_floor': 0, 'property_totalfloor': 0, 'property_ownershiptype': '', 'property_constructiondate': None, 'property_link': '', 'property_city_name': 'Surat', 'property_state_name': 'Gujarat', 'property_country_name': 'India', 'property_owner_image': None, 'property_owner_name': 'Mr Jignesh Amin', 'property_owner_phone': 9824099444, 'property_owner_email': 'mkt@whitewingsgroup.in', 'property_currency': 'INR'}, 'URL_HOST': 'https://www.ninepebbles.com', 'login_type': 'no'}] |
self | <Template template_string="<!DOCTYPE html>{% l..."> |
/var/www/ninepebbles.com/env/lib/python3.10/site-packages/django/template/base.py
, line 167, in _render
def __repr__(self):
return '<%s template_string="%s...">' % (
self.__class__.__qualname__,
self.source[:20].replace("\n", ""),
)
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'data': {'property_id': 838, 'property_user': 715, 'property_addeddate': '2016-01-18', 'property_image1': None, 'property_image2': None, 'property_image3': None, 'property_image4': None, 'property_image5': None, 'property_image6': None, 'property_category': 'Agricultural', 'property_subcategory': 'Agricultural Plot', 'property_availablefor': 'Sale', 'property_roomtype': '', 'property_bedrooms': 0, 'property_constructionstatus': '', 'property_country': '1', 'property_state': '62', 'property_city': '186', 'property_areaname': 'Brooklyn Ubhrat Near Sai Saga', 'property_buildingname': '', 'property_zip': '', 'property_area': 0, 'property_areaunit': '', 'property_price': 0, 'property_ownership': 'Owner', 'property_floor': 0, 'property_totalfloor': 0, 'property_ownershiptype': '', 'property_constructiondate': None, 'property_link': '', 'property_city_name': 'Surat', 'property_state_name': 'Gujarat', 'property_country_name': 'India', 'property_owner_image': None, 'property_owner_name': 'Mr Jignesh Amin', 'property_owner_phone': 9824099444, 'property_owner_email': 'mkt@whitewingsgroup.in', 'property_currency': 'INR'}, 'URL_HOST': 'https://www.ninepebbles.com', 'login_type': 'no'}] |
self | <Template template_string="<!DOCTYPE html>{% l..."> |
/var/www/ninepebbles.com/env/lib/python3.10/site-packages/django/template/base.py
, line 1000, in render
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'data': {'property_id': 838, 'property_user': 715, 'property_addeddate': '2016-01-18', 'property_image1': None, 'property_image2': None, 'property_image3': None, 'property_image4': None, 'property_image5': None, 'property_image6': None, 'property_category': 'Agricultural', 'property_subcategory': 'Agricultural Plot', 'property_availablefor': 'Sale', 'property_roomtype': '', 'property_bedrooms': 0, 'property_constructionstatus': '', 'property_country': '1', 'property_state': '62', 'property_city': '186', 'property_areaname': 'Brooklyn Ubhrat Near Sai Saga', 'property_buildingname': '', 'property_zip': '', 'property_area': 0, 'property_areaunit': '', 'property_price': 0, 'property_ownership': 'Owner', 'property_floor': 0, 'property_totalfloor': 0, 'property_ownershiptype': '', 'property_constructiondate': None, 'property_link': '', 'property_city_name': 'Surat', 'property_state_name': 'Gujarat', 'property_country_name': 'India', 'property_owner_image': None, 'property_owner_name': 'Mr Jignesh Amin', 'property_owner_phone': 9824099444, 'property_owner_email': 'mkt@whitewingsgroup.in', 'property_currency': 'INR'}, 'URL_HOST': 'https://www.ninepebbles.com', 'login_type': 'no'}] |
self | [<TextNode: '<!DOCTYPE html>\n'>, <django.template.defaulttags.LoadNode object at 0x7f8514178730>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f8514179240>, <TextNode: '\n'>, <WithNode>, <TextNode: '\n'>] |
/var/www/ninepebbles.com/env/lib/python3.10/site-packages/django/template/base.py
, line 1000, in <listcomp>
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
.0 | <list_iterator object at 0x7f85077159f0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'data': {'property_id': 838, 'property_user': 715, 'property_addeddate': '2016-01-18', 'property_image1': None, 'property_image2': None, 'property_image3': None, 'property_image4': None, 'property_image5': None, 'property_image6': None, 'property_category': 'Agricultural', 'property_subcategory': 'Agricultural Plot', 'property_availablefor': 'Sale', 'property_roomtype': '', 'property_bedrooms': 0, 'property_constructionstatus': '', 'property_country': '1', 'property_state': '62', 'property_city': '186', 'property_areaname': 'Brooklyn Ubhrat Near Sai Saga', 'property_buildingname': '', 'property_zip': '', 'property_area': 0, 'property_areaunit': '', 'property_price': 0, 'property_ownership': 'Owner', 'property_floor': 0, 'property_totalfloor': 0, 'property_ownershiptype': '', 'property_constructiondate': None, 'property_link': '', 'property_city_name': 'Surat', 'property_state_name': 'Gujarat', 'property_country_name': 'India', 'property_owner_image': None, 'property_owner_name': 'Mr Jignesh Amin', 'property_owner_phone': 9824099444, 'property_owner_email': 'mkt@whitewingsgroup.in', 'property_currency': 'INR'}, 'URL_HOST': 'https://www.ninepebbles.com', 'login_type': 'no'}] |
node | <WithNode> |
/var/www/ninepebbles.com/env/lib/python3.10/site-packages/django/template/base.py
, line 958, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug:
# Store the actual node that caused the exception.
if not hasattr(e, "_culprit_node"):
e._culprit_node = self
if (
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'data': {'property_id': 838, 'property_user': 715, 'property_addeddate': '2016-01-18', 'property_image1': None, 'property_image2': None, 'property_image3': None, 'property_image4': None, 'property_image5': None, 'property_image6': None, 'property_category': 'Agricultural', 'property_subcategory': 'Agricultural Plot', 'property_availablefor': 'Sale', 'property_roomtype': '', 'property_bedrooms': 0, 'property_constructionstatus': '', 'property_country': '1', 'property_state': '62', 'property_city': '186', 'property_areaname': 'Brooklyn Ubhrat Near Sai Saga', 'property_buildingname': '', 'property_zip': '', 'property_area': 0, 'property_areaunit': '', 'property_price': 0, 'property_ownership': 'Owner', 'property_floor': 0, 'property_totalfloor': 0, 'property_ownershiptype': '', 'property_constructiondate': None, 'property_link': '', 'property_city_name': 'Surat', 'property_state_name': 'Gujarat', 'property_country_name': 'India', 'property_owner_image': None, 'property_owner_name': 'Mr Jignesh Amin', 'property_owner_phone': 9824099444, 'property_owner_email': 'mkt@whitewingsgroup.in', 'property_currency': 'INR'}, 'URL_HOST': 'https://www.ninepebbles.com', 'login_type': 'no'}] |
self | <WithNode> |
/var/www/ninepebbles.com/env/lib/python3.10/site-packages/django/template/defaulttags.py
, line 542, in render
def __repr__(self):
return "<%s>" % self.__class__.__name__
def render(self, context):
values = {key: val.resolve(context) for key, val in self.extra_context.items()}
with context.push(**values):
return self.nodelist.render(context)…
@register.tag
def autoescape(parser, token):
"""
Force autoescape behavior for this block.
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'data': {'property_id': 838, 'property_user': 715, 'property_addeddate': '2016-01-18', 'property_image1': None, 'property_image2': None, 'property_image3': None, 'property_image4': None, 'property_image5': None, 'property_image6': None, 'property_category': 'Agricultural', 'property_subcategory': 'Agricultural Plot', 'property_availablefor': 'Sale', 'property_roomtype': '', 'property_bedrooms': 0, 'property_constructionstatus': '', 'property_country': '1', 'property_state': '62', 'property_city': '186', 'property_areaname': 'Brooklyn Ubhrat Near Sai Saga', 'property_buildingname': '', 'property_zip': '', 'property_area': 0, 'property_areaunit': '', 'property_price': 0, 'property_ownership': 'Owner', 'property_floor': 0, 'property_totalfloor': 0, 'property_ownershiptype': '', 'property_constructiondate': None, 'property_link': '', 'property_city_name': 'Surat', 'property_state_name': 'Gujarat', 'property_country_name': 'India', 'property_owner_image': None, 'property_owner_name': 'Mr Jignesh Amin', 'property_owner_phone': 9824099444, 'property_owner_email': 'mkt@whitewingsgroup.in', 'property_currency': 'INR'}, 'URL_HOST': 'https://www.ninepebbles.com', 'login_type': 'no'}] |
self | <WithNode> |
values | {'header_type': 'white', 'search': 'no'} |
/var/www/ninepebbles.com/env/lib/python3.10/site-packages/django/template/base.py
, line 1000, in render
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'data': {'property_id': 838, 'property_user': 715, 'property_addeddate': '2016-01-18', 'property_image1': None, 'property_image2': None, 'property_image3': None, 'property_image4': None, 'property_image5': None, 'property_image6': None, 'property_category': 'Agricultural', 'property_subcategory': 'Agricultural Plot', 'property_availablefor': 'Sale', 'property_roomtype': '', 'property_bedrooms': 0, 'property_constructionstatus': '', 'property_country': '1', 'property_state': '62', 'property_city': '186', 'property_areaname': 'Brooklyn Ubhrat Near Sai Saga', 'property_buildingname': '', 'property_zip': '', 'property_area': 0, 'property_areaunit': '', 'property_price': 0, 'property_ownership': 'Owner', 'property_floor': 0, 'property_totalfloor': 0, 'property_ownershiptype': '', 'property_constructiondate': None, 'property_link': '', 'property_city_name': 'Surat', 'property_state_name': 'Gujarat', 'property_country_name': 'India', 'property_owner_image': None, 'property_owner_name': 'Mr Jignesh Amin', 'property_owner_phone': 9824099444, 'property_owner_email': 'mkt@whitewingsgroup.in', 'property_currency': 'INR'}, 'URL_HOST': 'https://www.ninepebbles.com', 'login_type': 'no'}] |
self | [<TextNode: '\n <html lang="eng">\n '>, <Variable Node: data.property_id>, <TextNode: ' - NinePebbles.com</title'>, <Variable Node: data.property_id>, <TextNode: ' on NinePebbles.com. See'>, <Variable Node: data.property_id>, <TextNode: ' - NinePebbles.com">\n '>, <Variable Node: data.property_id>, <TextNode: ' on NinePebbles.com. See'>, <Variable Node: data.property_id>, <TextNode: '"/>\n <!-- Og T'>, <Variable Node: data.property_id>, <TextNode: ' - NinePebbles.com"/>\n '>, <Variable Node: data.property_id>, <TextNode: ' on NinePebbles.com. See'>, <Variable Node: data.property_id>, <TextNode: '"/>\n <meta pro'>, <Variable Node: data.property_id>, <TextNode: ' - NinePebbles.com">\n '>, <Variable Node: data.property_id>, <TextNode: ' on NinePebbles.com. See'>, <Variable Node: URL_HOST>, <TextNode: '" type="hidden" />\n '>, <IncludeNode: template=<FilterExpression '"ninepebbles_app_web_client/components/user_header.html"'>>, <TextNode: '\n <!-- ==='>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n </di'>, <Variable Node: data.property_availablefor>, <TextNode: '</div>\n '>, <IfNode>, <TextNode: '\n '>, <Variable Node: data.property_buildingname>, <TextNode: ', '>, <Variable Node: data.property_areaname>, <TextNode: ', '>, <Variable Node: data.property_city_name>, <TextNode: ' </span>\n '>, <Variable Node: data.property_currency>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <django.template.library.SimpleNode object at 0x7f8507f6cbb0>, <TextNode: ' per '>, <Variable Node: data.property_areaunit>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <Variable Node: data.property_constructionstatus>, <TextNode: '\n '>, <Variable Node: data.property_addeddate>, <TextNode: '\n '>, <Variable Node: data.property_floor>, <TextNode: '\n '>, <Variable Node: data.property_totalfloor>, <TextNode: '\n '>, <Variable Node: data.property_addeddate>, <TextNode: '</li> -->\n '>, <Variable Node: data.property_ownership>, <TextNode: '\n '>, <Variable Node: data.property_addeddate>, <TextNode: '\n '>, <Variable Node: data.property_ownershiptype>, <TextNode: '\n '>, <Variable Node: data.property_constructionstatus>, <TextNode: '\n '>, <Variable Node: data.property_addeddate>, <TextNode: '\n '>, <Variable Node: data.property_addeddate>, <TextNode: '</li> -->\n '>, <Variable Node: data.property_user>, <TextNode: '">\n '>, <Variable Node: MEDIA_URL>, <TextNode: ' '>, <Variable Node: data.property_owner_image | default:'../static/images/system/avataar.jpg'>, <TextNode: ' "\n '>, <Variable Node: data.property_user>, <TextNode: '">'>, <Variable Node: data.property_owner_name>, <TextNode: '</a>\n '>, <Variable Node: data.property_owner_phone>, <TextNode: '</span>\n <'>, <Variable Node: data.property_owner_email>, <TextNode: '</span>\n '>, <IncludeNode: template=<FilterExpression '"ninepebbles_app_web_client/components/footer_2.html"'>>, <TextNode: '\n<!-- ============… <trimmed 4256 bytes string> |
/var/www/ninepebbles.com/env/lib/python3.10/site-packages/django/template/base.py
, line 1000, in <listcomp>
class NodeList(list):
# Set to True the first time a non-TextNode is inserted by
# extend_nodelist().
contains_nontext = False
def render(self, context):
return SafeString("".join([node.render_annotated(context) for node in self]))…
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
Variable | Value |
---|---|
.0 | <list_iterator object at 0x7f8507f90eb0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'data': {'property_id': 838, 'property_user': 715, 'property_addeddate': '2016-01-18', 'property_image1': None, 'property_image2': None, 'property_image3': None, 'property_image4': None, 'property_image5': None, 'property_image6': None, 'property_category': 'Agricultural', 'property_subcategory': 'Agricultural Plot', 'property_availablefor': 'Sale', 'property_roomtype': '', 'property_bedrooms': 0, 'property_constructionstatus': '', 'property_country': '1', 'property_state': '62', 'property_city': '186', 'property_areaname': 'Brooklyn Ubhrat Near Sai Saga', 'property_buildingname': '', 'property_zip': '', 'property_area': 0, 'property_areaunit': '', 'property_price': 0, 'property_ownership': 'Owner', 'property_floor': 0, 'property_totalfloor': 0, 'property_ownershiptype': '', 'property_constructiondate': None, 'property_link': '', 'property_city_name': 'Surat', 'property_state_name': 'Gujarat', 'property_country_name': 'India', 'property_owner_image': None, 'property_owner_name': 'Mr Jignesh Amin', 'property_owner_phone': 9824099444, 'property_owner_email': 'mkt@whitewingsgroup.in', 'property_currency': 'INR'}, 'URL_HOST': 'https://www.ninepebbles.com', 'login_type': 'no'}] |
node | <django.template.library.SimpleNode object at 0x7f8507f6cbb0> |
/var/www/ninepebbles.com/env/lib/python3.10/site-packages/django/template/base.py
, line 958, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug:
# Store the actual node that caused the exception.
if not hasattr(e, "_culprit_node"):
e._culprit_node = self
if (
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'data': {'property_id': 838, 'property_user': 715, 'property_addeddate': '2016-01-18', 'property_image1': None, 'property_image2': None, 'property_image3': None, 'property_image4': None, 'property_image5': None, 'property_image6': None, 'property_category': 'Agricultural', 'property_subcategory': 'Agricultural Plot', 'property_availablefor': 'Sale', 'property_roomtype': '', 'property_bedrooms': 0, 'property_constructionstatus': '', 'property_country': '1', 'property_state': '62', 'property_city': '186', 'property_areaname': 'Brooklyn Ubhrat Near Sai Saga', 'property_buildingname': '', 'property_zip': '', 'property_area': 0, 'property_areaunit': '', 'property_price': 0, 'property_ownership': 'Owner', 'property_floor': 0, 'property_totalfloor': 0, 'property_ownershiptype': '', 'property_constructiondate': None, 'property_link': '', 'property_city_name': 'Surat', 'property_state_name': 'Gujarat', 'property_country_name': 'India', 'property_owner_image': None, 'property_owner_name': 'Mr Jignesh Amin', 'property_owner_phone': 9824099444, 'property_owner_email': 'mkt@whitewingsgroup.in', 'property_currency': 'INR'}, 'URL_HOST': 'https://www.ninepebbles.com', 'login_type': 'no'}] |
self | <django.template.library.SimpleNode object at 0x7f8507f6cbb0> |
/var/www/ninepebbles.com/env/lib/python3.10/site-packages/django/template/library.py
, line 239, in render
def __init__(self, func, takes_context, args, kwargs, target_var):
super().__init__(func, takes_context, args, kwargs)
self.target_var = target_var
def render(self, context):
resolved_args, resolved_kwargs = self.get_resolved_arguments(context)
output = self.func(*resolved_args, **resolved_kwargs)…
if self.target_var is not None:
context[self.target_var] = output
return ""
if context.autoescape:
output = conditional_escape(output)
return output
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'data': {'property_id': 838, 'property_user': 715, 'property_addeddate': '2016-01-18', 'property_image1': None, 'property_image2': None, 'property_image3': None, 'property_image4': None, 'property_image5': None, 'property_image6': None, 'property_category': 'Agricultural', 'property_subcategory': 'Agricultural Plot', 'property_availablefor': 'Sale', 'property_roomtype': '', 'property_bedrooms': 0, 'property_constructionstatus': '', 'property_country': '1', 'property_state': '62', 'property_city': '186', 'property_areaname': 'Brooklyn Ubhrat Near Sai Saga', 'property_buildingname': '', 'property_zip': '', 'property_area': 0, 'property_areaunit': '', 'property_price': 0, 'property_ownership': 'Owner', 'property_floor': 0, 'property_totalfloor': 0, 'property_ownershiptype': '', 'property_constructiondate': None, 'property_link': '', 'property_city_name': 'Surat', 'property_state_name': 'Gujarat', 'property_country_name': 'India', 'property_owner_image': None, 'property_owner_name': 'Mr Jignesh Amin', 'property_owner_phone': 9824099444, 'property_owner_email': 'mkt@whitewingsgroup.in', 'property_currency': 'INR'}, 'URL_HOST': 'https://www.ninepebbles.com', 'login_type': 'no'}] |
resolved_args | [0, 0, ''] |
resolved_kwargs | {} |
self | <django.template.library.SimpleNode object at 0x7f8507f6cbb0> |
/var/www/ninepebbles.com/ninepebbles_app_web_client/templatetags/helper.py
, line 45, in price_per_unit_1
if amount > 1e9:
return str(truncate_float(amount / 1e9, 2)) + " Bn"
@register.simple_tag
def price_per_unit_1(price, area, country_id):
price_per_unit_1 = int(price / area)…
if country_id == '1':
return format_inr(price_per_unit_1)
else:
return intcomma(price_per_unit_1)
Variable | Value |
---|---|
area | 0 |
country_id | '' |
price | 0 |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTEXT_DOCUMENT_ROOT | '/var/www/ninepebbles.com' |
CONTEXT_PREFIX | '' |
DOCUMENT_ROOT | '/var/www/ninepebbles.com' |
GATEWAY_INTERFACE | 'CGI/1.1' |
H2PUSH | 'off' |
H2_PUSH | 'off' |
H2_PUSHED | '' |
H2_PUSHED_ON | '' |
H2_STREAM_ID | '7' |
H2_STREAM_TAG | '703099-873-7' |
HTTP2 | 'on' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'www.ninepebbles.com' |
HTTP_REFERER | 'https://www.ninepebbles.com/0--agricultural-plot-for-sale-in-brooklyn-ubhrat-near-sai-saga-surat-for-0-prid-838' |
HTTP_USER_AGENT | 'claudebot' |
PATH_INFO | '/0--agricultural-plot-for-sale-in-brooklyn-ubhrat-near-sai-saga-surat-for-0-prid-838/' |
PATH_TRANSLATED | '/var/www/ninepebbles.com/ninepebbles_project/wsgi.py/0--agricultural-plot-for-sale-in-brooklyn-ubhrat-near-sai-saga-surat-for-0-prid-838/' |
QUERY_STRING | '' |
REMOTE_ADDR | '54.89.24.147' |
REMOTE_PORT | '34460' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/0--agricultural-plot-for-sale-in-brooklyn-ubhrat-near-sai-saga-surat-for-0-prid-838/' |
SCRIPT_FILENAME | '/var/www/ninepebbles.com/ninepebbles_project/wsgi.py' |
SCRIPT_NAME | '' |
SCRIPT_URI | 'https://www.ninepebbles.com/0--agricultural-plot-for-sale-in-brooklyn-ubhrat-near-sai-saga-surat-for-0-prid-838/' |
SCRIPT_URL | '/0--agricultural-plot-for-sale-in-brooklyn-ubhrat-near-sai-saga-surat-for-0-prid-838/' |
SERVER_ADDR | '172.31.32.132' |
SERVER_ADMIN | 'gazelleinternet@gmail.com' |
SERVER_NAME | 'www.ninepebbles.com' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/2.0' |
SERVER_SIGNATURE | '********************' |
SERVER_SOFTWARE | 'Apache' |
SSL_TLS_SNI | 'www.ninepebbles.com' |
apache.version | (2, 4, 52) |
mod_wsgi.application_group | 'ninepebbles.com|' |
mod_wsgi.callable_object | 'application' |
mod_wsgi.daemon_connects | '1' |
mod_wsgi.daemon_restarts | '0' |
mod_wsgi.daemon_start | '1711629160888486' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
mod_wsgi.ignore_activity | '0' |
mod_wsgi.listener_host | '' |
mod_wsgi.listener_port | '443' |
mod_wsgi.path_info | '/0--agricultural-plot-for-sale-in-brooklyn-ubhrat-near-sai-saga-surat-for-0-prid-838/' |
mod_wsgi.process_group | 'ninepebbles_project_l' |
mod_wsgi.queue_start | '1711629160888384' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.request_id | 'RTcfuBe/WCo' |
mod_wsgi.request_start | '1711629160888133' |
mod_wsgi.script_name | '' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.script_start | '1711629160888622' |
mod_wsgi.thread_id | 1 |
mod_wsgi.thread_requests | 385 |
mod_wsgi.total_requests | 2852 |
mod_wsgi.version | (4, 9, 0) |
wsgi.errors | <_io.TextIOWrapper name='<wsgi.errors>' encoding='utf-8'> |
wsgi.file_wrapper | <class 'mod_wsgi.FileWrapper'> |
wsgi.input | <mod_wsgi.Input object at 0x7f851408cb90> |
wsgi.input_terminated | True |
wsgi.multiprocess | False |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
ninepebbles_project.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['.ninepebbles.com'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'ninepebbles_app_api.CustomUser' |
BASE_DIR | PosixPath('/var/www/ninepebbles.com') |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CORS_ORIGIN_ALLOW_ALL | True |
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 | True |
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.mysql', 'HOST': '127.0.0.1', 'NAME': 'project_ninepebbles', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'root'}} |
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.console.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', 'ninepebbles_app_api', 'ninepebbles_app_web_client', 'rest_framework', 'knox', 'django_rest_passwordreset', 'corsheaders', 'django.contrib.humanize'] |
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/ninepebbles.com/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['corsheaders.middleware.CorsMiddleware', '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 |
REST_FRAMEWORK | {'DATETIME_FORMAT': '%b %d, %y', 'DEFAULT_AUTHENTICATION_CLASSES': ['knox.auth.TokenAuthentication'], 'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination', 'PAGE_SIZE': 10} |
ROOT_URLCONF | 'ninepebbles_project.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | True |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_CROSS_ORIGIN_OPENER_POLICY | 'same-origin' |
SECURE_HSTS_INCLUDE_SUBDOMAINS | True |
SECURE_HSTS_PRELOAD | True |
SECURE_HSTS_SECONDS | 30 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'strict-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | True |
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 | 'ninepebbles_project.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 | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/var/www/ninepebbles.com/static/' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], '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 | 'ninepebbles_project.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.