'chatbot' is not a registered namespace
Request Method: | GET |
---|---|
Request URL: | https://www.bytsnbytes.com/ms_oracle/ms_oracle_map |
Django Version: | 5.0.3 |
Exception Type: | NoReverseMatch |
Exception Value: | 'chatbot' is not a registered namespace |
Exception Location: | /home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/urls/base.py, line 82, in reverse |
Raised during: | ms_oracle.views.ms_oracle_map |
Python Executable: | /home/atlass/anaconda3/envs/bnb_7_cl/bin/python |
Python Version: | 3.10.13 |
Python Path: | ['/home/atlass/bb_1/bnb_7_cl', '/home/atlass/anaconda3/envs/bnb_7_cl/bin', '/home/atlass/anaconda3/envs/bnb_7_cl/lib/python310.zip', '/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10', '/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/lib-dynload', '/home/atlass/.local/lib/python3.10/site-packages', '/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages'] |
Server time: | Thu, 28 Mar 2024 10:24:51 +0000 |
In template /home/atlass/bb_1/bnb_7_cl/Templates/elements/medic_bot.html
, error at line 9
1 | {% extends "../element_base.html" %} |
---|---|
2 | {% load static %} |
3 | |
4 | {% block css %} |
5 | {% endblock %} |
6 | |
7 | {% block element %} |
8 | |
9 | <input type="hidden" id="bot_response" data-url="{% url 'chatbot:post' %}" /> |
10 | <!--bot show btn--> |
11 | <a class="bot-btn"><img class="img-fluid" src="{% static 'chatbot/bot.png' %}"></a> |
12 | <!-- end chatbot--> |
13 | |
14 | <!--bot main div--> |
15 | <div class="bot bot-1"> |
16 | <!--begin bot container--> |
17 | <div class="bot-container"> |
18 | <span class="bot_close_btn fas fa-times mt-1"></span> |
19 |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/urls/base.py
, line 71, in reverse
except KeyError:
pass
if ns != current_ns:
current_path = None
try:
extra, resolver = resolver.namespace_dict[ns]…
resolved_path.append(ns)
ns_pattern += extra
ns_converters.update(resolver.pattern.converters)
except KeyError as key:
if resolved_path:
raise NoReverseMatch(
Variable | Value |
---|---|
args | [] |
current_app | '' |
current_ns | None |
current_path | None |
kwargs | {} |
ns | 'chatbot' |
ns_converters | {} |
ns_pattern | '' |
path | ['chatbot'] |
prefix | '/' |
resolved_path | [] |
resolver | <URLResolver 'bnb_7_cl.urls' (None:None) '^/'> |
urlconf | 'bnb_7_cl.urls' |
view | 'post' |
viewname | 'chatbot:post' |
/home/atlass/anaconda3/envs/bnb_7_cl/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 | NoReverseMatch("'chatbot' is not a registered namespace") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fe9f191e740>> |
request | <WSGIRequest: GET '/ms_oracle/ms_oracle_map'> |
/home/atlass/anaconda3/envs/bnb_7_cl/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 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 ms_oracle_map at 0x7fe9f0956950> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>> |
request | <WSGIRequest: GET '/ms_oracle/ms_oracle_map'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fe9f191e740> |
wrapped_callback | <function ms_oracle_map at 0x7fe9f0956950> |
/home/atlass/bb_1/bnb_7_cl/ms_oracle/views.py
, line 74, in ms_oracle_map
print("Real Prevelance:")
print(prev_calc[value])
except:
print("none none")
# value of out is something like {'price__sum': 81.20}
print("############################")
response = HttpResponse(template.render({'sum_patients':sum_patients,'highest_country':highest_country,'lowest_country':lowest_country,'prevelance':prev_calc},request))…
return response
#--
#MS MAP GENERATE COLOR
def map_generate_color(request):
i=1
Variable | Value |
---|---|
g | 0 |
highest_country | 'United States of America' |
highest_prev | {'prev__max': 511855} |
i | 195 |
lowest_country | 'Marshall Islands' |
prev_calc | {'Afghanistan': 0.24197732015017426, 'Albania': 0.5963506928821557, 'Algeria': 0.39622739018087855, 'American Samoa': 0.054035555395450206, 'Angola': 0.037730740394830056, 'Antigua and Barbuda': 0.13905788284373372, 'Argentina': 0.4745309881765664, 'Armenia': 0.26613063990962854, 'Australia': 0.9409669619232895, 'Austria': 1.2898678703400752, 'Azerbaijan': 0.24171682805548286, 'Bahrain': 0.4124572730725408, 'Bangladesh': 0.1422348653213619, 'Barbados': 0.1368421052631579, 'Belarus': 0.5099682325252505, 'Belgium': 1.3141544464645531, 'Belize': 0.08006221978223077, 'Benin': 0.03784515684114285, 'Bermuda': 0.23351028223609446, 'Bhutan': 0.18012529303471383, 'Bolivia': 0.07948337600703044, 'Bosnia and Herzegovina': 0.4610164198857376, 'Botswana': 0.10222706854250868, 'Brazil': 0.14473981511498826, 'Brunei': 0.1143955339983527, 'Bulgaria': 0.42991151827496593, 'Burkina Faso': 0.03417462169501967, 'Burundi': 0.02864507534494232, 'Cambodia': 0.02733119267529305, 'Cameroon': 0.03683756336637252, 'Canada': 2.234610683683836, 'Cape Verde': 0.0694354703385172, 'Central African Republic': 0.032066256105330225, 'Chad': 0.03678752554689274, 'Chile': 0.5253926499128405, 'China': 0.0754833188258443, 'Colombia': 0.055565064561511904, 'Comoros': 0.045814396716024046, 'Costa Rica': 0.07532088820088738, 'Croatia': 0.47310429055680087, 'Cuba': 0.17734064676169556, 'Cyprus': 0.7692307692307693, 'Czech Republic': 0.7016043187347932, 'Democratic Republic of the Congo': 0.027739331026528258, 'Denmark': 2.063917252353799, 'Djibouti': 0.049661399548532735, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Ecuador': 0.051356607442931856, 'Egypt': 0.337249238890771, 'El Salvador': 0.0628003324355906, 'Equatorial Guinea': 0.023076923076923075, 'Eritrea': 0.036413708690330476, 'Estonia': 0.6938644296821979, 'Ethiopia': 0.03726990933145184, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Gabon': 0.037405026300409115, 'Georgia': 0.24429350851798243, 'Germany': 1.3860589480459997, 'Ghana': 0.04230285344949263, 'Greece': 0.7029281273046778, 'Greenland': 2.8776978417266186, 'Grenada': 0.09677918860328275, 'Guam': 0.0439262540945544, 'Guatemala': 0.05352169257607941, 'Guinea': 0.04036138207909476, 'Guinea-Bissau': 0.04066437571592211, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Honduras': 0.051575275088190854, 'Hungary': 0.6762830245976313, 'Iceland': 1.6211110095377397, 'India': 0.16176528763460002, 'Indonesia': 0.02798170085594817, 'Iran': 0.7522471218370991, 'Iraq': 0.2696047988598775, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Jamaica': 0.10816812859203728, 'Japan': 0.3639361032420523, 'Jordan': 0.4706792901112351, 'Kazakhstan': 0.30769142238948544, 'Kenya': 0.03868421052631579, 'Kiribati': 0.018786222184649776, 'Kuwait': 0.6238467325759669, 'Kyrgyzstan': 0.17605603325156624, 'Laos': 0.0309264488368966, 'Latvia': 0.6541821468018877, 'Lebanon': 0.8352826510721247, 'Lesotho': 0.08674928503336511, 'Liberia': 0.03047532408460314, 'Libya': 0.44730529345913966, 'Lithuania': 0.6326627518096819, 'Luxembourg': 1.5372021102419502, 'Madagascar': 0.05846489498958597, 'Malawi': 0.03960712014541508, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mali': 0.041666666666666664, 'Malta': 0.5480044705627861, 'Marshall Islands': 0.017829761437791962, 'Mauritania': 0.0727658350302627, 'Mauritius': 0.06184546878865342, 'Mexico': 0.11154158159146406, 'Moldova': 0.37525297953676634, 'Mongolia': 0.23897717767953158, 'Morocco': 0.4259076647243389, 'Mozambique': 0.047280715913099645, 'Namibia': 0.08849653846026434, 'Nepal': 0.15126933309431187, 'Netherlands': 1.4926248444997334, 'New Zealand': 0.8375294091778623, 'Nicaragua': 0.05640442954092337, 'Niger': 0.03926783975010484, 'Nigeria': 0.038657382770268374, 'North Korea': 0.068046509769449, 'Northern… <trimmed 6398 bytes string> |
request | <WSGIRequest: GET '/ms_oracle/ms_oracle_map'> |
ret_country | <QuerySet ['Canada', 'Greenland', 'Australia', 'New Zealand', 'Brunei', 'Japan', 'Singapore', 'South Korea', 'Andorra', 'Austria', 'Belgium', 'Cyprus', 'Denmark', 'Finland', 'France', 'Germany', 'Greece', 'Iceland', 'Ireland', 'Israel', '...(remaining elements truncated)...']> |
ret_prev | <QuerySet [79419, 162, 22298, 3809, 45, 46249, 453, 19826, 96, 10999, 14752, 660, 11673, 8209, 65467, 111970, 7727, 532, 8054, 4077, '...(remaining elements truncated)...']> |
sum_patients | {'prev__sum': 2219873} |
temp | {'Afghanistan': 6297, 'Albania': 1727, 'Algeria': 15334, 'American Samoa': 3, 'Andorra': 96, 'Angola': 920, 'Antigua and Barbuda': 12, 'Argentina': 20248, 'Armenia': 801, 'Australia': 22298, 'Austria': 10999, 'Azerbaijan': 2309, 'Bahrain': 543, 'Bangladesh': 22400, 'Barbados': 39, 'Belarus': 4832, 'Belgium': 14752, 'Belize': 28, 'Benin': 378, 'Bermuda': 15, 'Bhutan': 136, 'Bolivia': 797, 'Bosnia and Herzegovina': 1748, 'Botswana': 207, 'Brazil': 29467, 'Brunei': 45, 'Bulgaria': 3115, 'Burkina Faso': 592, 'Burundi': 273, 'Cambodia': 415, 'Cameroon': 751, 'Canada': 79419, 'Cape Verde': 36, 'Central African Republic': 151, 'Chad': 486, 'Chile': 9362, 'China': 103194, 'Colombia': 2662, 'Comoros': 35, 'Congo': 147, 'Costa Rica': 355, 'Croatia': 2019, 'Cuba': 1988, 'Cyprus': 660, 'Czech Republic': 7382, 'Côte d’Ivoire': 753, 'Democratic Republic of the Congo': 1924, 'Denmark': 11673, 'Djibouti': 44, 'Dominica': 7, 'Dominican Republic': 1031, 'Ecuador': 816, 'Egypt': 29566, 'El Salvador': 402, 'Equatorial Guinea': 33, 'Eritrea': 238, 'Estonia': 913, 'Ethiopia': 3278, 'Federated States of Micronesia': 2, 'Fiji': 37, 'Finland': 8209, 'France': 65467, 'Gabon': 64, 'Georgia': 1097, 'Germany': 111970, 'Ghana': 1144, 'Greece': 7727, 'Greenland': 162, 'Grenada': 10, 'Guam': 7, 'Guatemala': 846, 'Guinea': 429, 'Guinea-Bissau': 71, 'Guyana': 42, 'Haiti': 709, 'Honduras': 450, 'Hungary': 6681, 'Iceland': 532, 'India': 204460, 'Indonesia': 7056, 'Iran': 58650, 'Iraq': 9707, 'Ireland': 8054, 'Israel': 4077, 'Italy': 72352, 'Jamaica': 294, 'Japan': 46249, 'Jordan': 3138, 'Kazakhstan': 5347, 'Kenya': 1617, 'Kiribati': 2, 'Kuwait': 2039, 'Kyrgyzstan': 1017, 'Laos': 207, 'Latvia': 1303, 'Lebanon': 3428, 'Lesotho': 182, 'Liberia': 134, 'Libya': 2797, 'Lithuania': 1852, 'Luxembourg': 845, 'Macedonia': 939, 'Madagascar': 1277, 'Malawi': 626, 'Malaysia': 876, 'Maldives': 9, 'Mali': 657, 'Malta': 228, 'Marshall Islands': 1, 'Mauritania': 258, 'Mauritius': 78, 'Mexico': 13353, 'Moldova': 1335, 'Mongolia': 714, 'Montenegro': 305, 'Morocco': 14253, 'Mozambique': 1184, 'Myanmar': 2458, 'Namibia': 187, 'Nepal': 4182, 'Netherlands': 25197, 'New Zealand': 3809, 'Nicaragua': 346, 'Niger': 673, 'Nigeria': 6901, 'North Korea': 1703, 'Northern Mariana Islands': 6, 'Norway': 7518, 'Oman': 1327, 'Pakistan': 29780, 'Palestine': 1140, 'Panama': 255, 'Papua New Guinea': 122, 'Paraguay': 870, 'Peru': 2159, 'Philippines': 2989, 'Poland': 36049, 'Portugal': 8367, 'Puerto Rico': 625, 'Qatar': 862, 'Romania': 8433, 'Russia': 93975, 'Rwanda': 333, 'Saint Lucia': 18, 'Saint Vincent and the Grenadines': 9, 'Samoa': 5, 'Saudi Arabia': 10840, 'Senegal': 616, 'Serbia': 5304, 'Seychelles': 4, 'Sierra Leone': 212, 'Singapore': 453, 'Slovakia': 3372, 'Slovenia': 1487, 'Solomon Islands': 10, 'Somalia': 277, 'South Africa': 6868, 'South Korea': 19826, 'South Sudan': 340, 'Spain': 43867, 'Sri Lanka': 704, 'Sudan': 6333, 'Suriname': 34, 'Swaziland': 100, 'Sweden': 20304, 'Switzerland': 13968, 'Syria': 6947, 'São Tomé and Príncipe': 5, 'Taiwan': 1501, 'Tajikistan': 1112, 'Tanzania': 1700, 'Thailand': 3518, 'The Bahamas': 64, 'The Gambia': 72, 'Timor-Leste': 22, 'Togo': 257, 'Tonga': 4, 'Trinidad and Tobago': 134, 'Tunisia': 6063, 'Turkey': 61408, 'Turkmenistan': 1197, 'UK': 106454, 'Uganda': 883, 'Ukraine': 21821, 'United Arab Emirates': 4216, 'United States of America': 511855, 'Uruguay': 1598, 'Uzbekistan': 5927, 'Vanuatu': 7, 'Venezuela': 1897, 'Vietnam': 4126, 'Virgin Islands': 23, 'Yemen': 3674, 'Zambia': 677, 'Zimbabwe': 787} |
template | <django.template.backends.django.Template object at 0x7fe9edba8550> |
value | 'United States of America' |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/backends/django.py
, line 61, 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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
request | <WSGIRequest: GET '/ms_oracle/ms_oracle_map'> |
self | <django.template.backends.django.Template object at 0x7fe9edba8550> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/base.py
, line 171, 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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | <Template template_string="{% extends "base.htm..."> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/base.py
, line 163, 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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | <Template template_string="{% extends "base.htm..."> |
/home/atlass/anaconda3/envs/bnb_7_cl/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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | [<ExtendsNode: extends "base.html">] |
/home/atlass/anaconda3/envs/bnb_7_cl/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 0x7fe9ed3cb1c0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
node | <ExtendsNode: extends "base.html"> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/base.py
, line 961, 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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | <ExtendsNode: extends "base.html"> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/loader_tags.py
, line 159, in render
}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)…
class IncludeNode(Node):
context_key = "__include_context"
def __init__(
Variable | Value |
---|---|
block_context | <BlockContext: blocks=defaultdict(<class 'list'>, {'title': [<Block Node: title. Contents: [<TextNode: 'Title'>]>, <Block Node: title. Contents: [<TextNode: 'Byts N Bytes--M.S Map'>]>], 'extra_head': [<Block Node: extra_head. Contents: []>, <Block Node: extra_head. Contents: [<TextNode: '\n <!-- Twitter Meta -->\n'>, StaticNode(varname=None, path=<FilterExpression "'ms_oracle/ms_oracle_banner.png'">), <TextNode: '">\n <!-- Facebook Meta -'>, StaticNode(varname=None, path=<FilterExpression "'ms_oracle/ms_oracle_banner.png'">), <TextNode: '">\n <meta property="og:i'>]>], 'icon-bar': [<Block Node: icon-bar. Contents: []>, <Block Node: icon-bar. Contents: [<TextNode: '\n <a href="https://www.f'>, StaticNode(varname=None, path=<FilterExpression "'chatbot/bot_style.css'">), <TextNode: '" />\n\n'>]>], 'main_site': [<Block Node: main_site. Contents: []>], 'extra_scripts': [<Block Node: extra_scripts. Contents: []>, <Block Node: extra_scripts. Contents: [<TextNode: '\n\n\n'>]>]})> |
blocks | {'extra_head': <Block Node: extra_head. Contents: []>, 'extra_scripts': <Block Node: extra_scripts. Contents: []>, 'icon-bar': <Block Node: icon-bar. Contents: []>, 'main_site': <Block Node: main_site. Contents: []>, 'title': <Block Node: title. Contents: [<TextNode: 'Title'>]>} |
compiled_parent | <Template template_string="<!DOCTYPE html>{% l..."> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
node | <django.template.defaulttags.LoadNode object at 0x7fe9edda7cd0> |
self | <ExtendsNode: extends "base.html"> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/base.py
, line 163, 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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | <Template template_string="<!DOCTYPE html>{% l..."> |
/home/atlass/anaconda3/envs/bnb_7_cl/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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | [<TextNode: '<!DOCTYPE html>\n'>, <django.template.defaulttags.LoadNode object at 0x7fe9edda7cd0>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7fe9edda7dc0>, <TextNode: '\n<!--Section 0-->\n<html l'>, <Block Node: extra_head. Contents: []>, <TextNode: '\n <!--JQUERY-->\n '>, StaticNode(varname=None, path=<FilterExpression "'website/js/fakeLoader.js'">), <TextNode: '"></script>\n <script s'>, StaticNode(varname=None, path=<FilterExpression "'website/js/fakeLoader_init.js'">), <TextNode: '"></script>\n\n<!--CSS-->\n '>, StaticNode(varname=None, path=<FilterExpression "'website/assets/css/layout.css'">), <TextNode: '">\n <link rel="styleshee'>, StaticNode(varname=None, path=<FilterExpression "'website/assets/css/typography-1.css'">), <TextNode: '">\n <link rel="stylesheet'>, StaticNode(varname=None, path=<FilterExpression "'website/assets/css/theme-space.css'">), <TextNode: '">\n <!--SASS-->\n'>, <compressor.templatetags.compress.CompressorNode object at 0x7fe9edbd45b0>, <TextNode: '\n\n <!--animate-->\n <link'>, StaticNode(varname=None, path=<FilterExpression "'website/assets/fonts/typicons/typicons/src/font/typicons.css'">), <TextNode: '" >\n <link rel="styleshe'>, StaticNode(varname=None, path=<FilterExpression "'website/assets/fonts/google_fonts.css'">), <TextNode: '">\n<!--bot-->\n<!--<link r'>, StaticNode(varname=None, path=<FilterExpression "'chatbot/bot_style.css'">), <TextNode: '" />-->\n\n <title>'>, <Block Node: title. Contents: [<TextNode: 'Title'>]>, <TextNode: '</title>\n <link rel="i'>, StaticNode(varname=None, path=<FilterExpression "'website/assets/plugins/OwlCarousel2-2.3.4/dist/assets/owl.carousel.min.css'">), <TextNode: '" />\n <link rel="stylesh'>, StaticNode(varname=None, path=<FilterExpression "'website/assets/plugins/OwlCarousel2-2.3.4/dist/assets/owl.theme.default.css'">), <TextNode: '" />\n\n\n\n</head>\n\n<body cl'>, <Block Node: icon-bar. Contents: []>, <TextNode: '\n <!-- /The social m'>, <ForNode: for headline in news, tail_len: 3>, <TextNode: '\n\t</div>\n</div>\n \n</div>'>, <URLNode view_name=''index'' args=[] kwargs={} as=None>, <TextNode: '"><img class="img-fluid" '>, StaticNode(varname=None, path=<FilterExpression "'website/logo_prod_2.png'">), <TextNode: '" width=60 alt="..."></a'>, <URLNode view_name=''index'' args=[] kwargs={} as=None>, <TextNode: '">Home</a>\n '>, <URLNode view_name=''store'' args=[] kwargs={} as=None>, <TextNode: '">Store</a>\n '>, <URLNode view_name=''service'' args=[] kwargs={} as=None>, <TextNode: '">Services</a>\n '>, <URLNode view_name=''portfolio'' args=[] kwargs={} as=None>, <TextNode: '">Portfolio</a>\n '>, <URLNode view_name=''ms_oracle'' args=[] kwargs={} as=None>, <TextNode: '">M.S Oracle</a>\n '>, <URLNode view_name=''about'' args=[] kwargs={} as=None>, <TextNode: '">About</a>\n '>, <IfNode>, <TextNode: '\n\t\t <!--dark/light to'>, <Block Node: main_site. Contents: []>, <TextNode: '\n </div>\n '>, <URLNode view_name=''store'' args=[] kwargs={} as=None>, <TextNode: '">Store</a></li>\n '>, <URLNode view_name=''service'' args=[] kwargs={} as=None>, <TextNode: '">Services</a></li>\n '>, <URLNode view_name=''ms_oracle'' args=[] kwargs={} as=None>, <TextNode: '">M.S Oracle</a></li>\n\n\t\t'>, StaticNode(varname=None, path=<FilterExpression "'website/assets/scripts/hide_show_social.js'">), <TextNode: '"></script>\n <script s'>, StaticNode(varname=None, path=<FilterExpression "'website/assets/scripts/to_top.js'">), <TextNode: '"></script>\n<script type='>, StaticNode(varname=None, path=<FilterExpression "'website/assets/plugins/OwlCarousel2-2.3.4/dist/owl.carousel.js'">), <TextNode: '"></script>\n\n <script '>, StaticNode(varname=None, path=<FilterExpression "'website/assets/scripts/owl_activate.js'">), <TextNode: '"></script>\n\n\n \n <!--'>, StaticNode(varname=None, path=<FilterExpression "'website/js/skin_toggle.js'">), <TextNode: '"></scrip… <trimmed 4449 bytes string> |
/home/atlass/anaconda3/envs/bnb_7_cl/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 0x7fe9edb430d0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
node | <Block Node: main_site. Contents: []> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/base.py
, line 961, 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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | <Block Node: main_site. Contents: []> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/loader_tags.py
, line 65, in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context["block"] = block
result = block.nodelist.render(context)…
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, "context"):
Variable | Value |
---|---|
block | <Block Node: main_site. Contents: [<TextNode: '\n <!--Section 2-->\n '>, StaticNode(varname=None, path=<FilterExpression '"ms_oracle/ms_oracle_banner.png"'>), <TextNode: '\');">\n <div class='>, <WithNode>, <TextNode: '\n \t\t<!-- end chatbot--'>]> |
block_context | <BlockContext: blocks=defaultdict(<class 'list'>, {'title': [<Block Node: title. Contents: [<TextNode: 'Title'>]>, <Block Node: title. Contents: [<TextNode: 'Byts N Bytes--M.S Map'>]>], 'extra_head': [<Block Node: extra_head. Contents: []>, <Block Node: extra_head. Contents: [<TextNode: '\n <!-- Twitter Meta -->\n'>, StaticNode(varname=None, path=<FilterExpression "'ms_oracle/ms_oracle_banner.png'">), <TextNode: '">\n <!-- Facebook Meta -'>, StaticNode(varname=None, path=<FilterExpression "'ms_oracle/ms_oracle_banner.png'">), <TextNode: '">\n <meta property="og:i'>]>], 'icon-bar': [<Block Node: icon-bar. Contents: []>, <Block Node: icon-bar. Contents: [<TextNode: '\n <a href="https://www.f'>, StaticNode(varname=None, path=<FilterExpression "'chatbot/bot_style.css'">), <TextNode: '" />\n\n'>]>], 'main_site': [<Block Node: main_site. Contents: []>], 'extra_scripts': [<Block Node: extra_scripts. Contents: []>, <Block Node: extra_scripts. Contents: [<TextNode: '\n\n\n'>]>]})> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
push | <Block Node: main_site. Contents: [<TextNode: '\n <!--Section 2-->\n '>, StaticNode(varname=None, path=<FilterExpression '"ms_oracle/ms_oracle_banner.png"'>), <TextNode: '\');">\n <div class='>, <WithNode>, <TextNode: '\n \t\t<!-- end chatbot--'>]> |
self | <Block Node: main_site. Contents: []> |
/home/atlass/anaconda3/envs/bnb_7_cl/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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | [<TextNode: '\n <!--Section 2-->\n '>, StaticNode(varname=None, path=<FilterExpression '"ms_oracle/ms_oracle_banner.png"'>), <TextNode: '\');">\n <div class='>, <WithNode>, <TextNode: '\n \t\t<!-- end chatbot--'>] |
/home/atlass/anaconda3/envs/bnb_7_cl/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 0x7fe9ed5b3a00> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
node | <WithNode> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/base.py
, line 961, 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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | <WithNode> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/defaulttags.py
, line 549, 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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | <WithNode> |
values | {'bot': 'elements/medic_bot.html'} |
/home/atlass/anaconda3/envs/bnb_7_cl/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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | [<TextNode: '\n \t\t\t'>, <IncludeNode: template=<FilterExpression 'bot'>>, <TextNode: '\n \t\t'>] |
/home/atlass/anaconda3/envs/bnb_7_cl/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 0x7fe9ed5b1270> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
node | <IncludeNode: template=<FilterExpression 'bot'>> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/base.py
, line 961, 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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | <IncludeNode: template=<FilterExpression 'bot'>> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/loader_tags.py
, line 210, in render
template = template.template
values = {
name: var.resolve(context) for name, var in self.extra_context.items()
}
if self.isolated_context:
return template.render(context.new(values))
with context.push(**values):
return template.render(context)…
@register.tag("block")
def do_block(parser, token):
"""
Define a block that can be overridden by child templates.
Variable | Value |
---|---|
cache | {('elements/medic_bot.html',): <Template template_string="{% extends "../eleme...">} |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | <IncludeNode: template=<FilterExpression 'bot'>> |
template | <Template template_string="{% extends "../eleme..."> |
template_name | ('elements/medic_bot.html',) |
values | {} |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/base.py
, line 173, in render
"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
is True and an exception occurs during parsing, the exception is
annotated with contextual line information where it occurred in the
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | <Template template_string="{% extends "../eleme..."> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/base.py
, line 163, 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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | <Template template_string="{% extends "../eleme..."> |
/home/atlass/anaconda3/envs/bnb_7_cl/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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | [<ExtendsNode: extends "element_base.html">] |
/home/atlass/anaconda3/envs/bnb_7_cl/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 0x7fe9ed5b1db0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
node | <ExtendsNode: extends "element_base.html"> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/base.py
, line 961, 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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | <ExtendsNode: extends "element_base.html"> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/loader_tags.py
, line 159, in render
}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)…
class IncludeNode(Node):
context_key = "__include_context"
def __init__(
Variable | Value |
---|---|
block_context | <BlockContext: blocks=defaultdict(<class 'list'>, {'css': [<Block Node: css. Contents: []>, <Block Node: css. Contents: [<TextNode: '\n'>]>], 'element': [<Block Node: element. Contents: []>], 'extra_scripts': [<Block Node: extra_scripts. Contents: []>, <Block Node: extra_scripts. Contents: [<TextNode: '\n <script src="'>, StaticNode(varname=None, path=<FilterExpression "'chatbot/csrf.js'">), <TextNode: '"></script>\n <script i'>, StaticNode(varname=None, path=<FilterExpression "'chatbot/bot_interface.js'">), <TextNode: '"><!--data="'>, <Variable Node: csrf_token>, <TextNode: '"--></script>\n <script'>, StaticNode(varname=None, path=<FilterExpression "'chatbot/bot_functions.js'">), <TextNode: '"></script>\n\n'>]>], 'scss': [<Block Node: scss. Contents: []>]})> |
blocks | {'css': <Block Node: css. Contents: []>, 'element': <Block Node: element. Contents: []>, 'extra_scripts': <Block Node: extra_scripts. Contents: []>, 'scss': <Block Node: scss. Contents: []>} |
compiled_parent | <Template template_string="{% load static %}<..."> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
node | <django.template.defaulttags.LoadNode object at 0x7fe9edc3d1b0> |
self | <ExtendsNode: extends "element_base.html"> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/base.py
, line 163, 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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | <Template template_string="{% load static %}<..."> |
/home/atlass/anaconda3/envs/bnb_7_cl/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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | [<django.template.defaulttags.LoadNode object at 0x7fe9edc3d1b0>, <TextNode: '\n\n<!--begin additional CS'>, <Block Node: css. Contents: []>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7fe9edc3d330>, <TextNode: '\n'>, <Block Node: scss. Contents: []>, <TextNode: '\n\n<!--begin element conte'>, <Block Node: element. Contents: []>, <TextNode: '\n<!--/ end element conten'>, <Block Node: extra_scripts. Contents: []>, <TextNode: '\n<!--/ end scripts-->\n'>] |
/home/atlass/anaconda3/envs/bnb_7_cl/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 0x7fe9ed5b34f0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
node | <Block Node: element. Contents: []> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/base.py
, line 961, 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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | <Block Node: element. Contents: []> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/loader_tags.py
, line 65, in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context["block"] = block
result = block.nodelist.render(context)…
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, "context"):
Variable | Value |
---|---|
block | <Block Node: element. Contents: [<TextNode: '\n\n <input type="hidden" '>, <URLNode view_name=''chatbot:post'' args=[] kwargs={} as=None>, <TextNode: '" />\n '>, StaticNode(varname=None, path=<FilterExpression "'chatbot/bot.png'">), <TextNode: '"></a>\n '>, StaticNode(varname=None, path=<FilterExpression "'chatbot/ivy.png'">), <TextNode: '"></a>\n '>]> |
block_context | <BlockContext: blocks=defaultdict(<class 'list'>, {'css': [<Block Node: css. Contents: []>, <Block Node: css. Contents: [<TextNode: '\n'>]>], 'element': [<Block Node: element. Contents: []>], 'extra_scripts': [<Block Node: extra_scripts. Contents: []>, <Block Node: extra_scripts. Contents: [<TextNode: '\n <script src="'>, StaticNode(varname=None, path=<FilterExpression "'chatbot/csrf.js'">), <TextNode: '"></script>\n <script i'>, StaticNode(varname=None, path=<FilterExpression "'chatbot/bot_interface.js'">), <TextNode: '"><!--data="'>, <Variable Node: csrf_token>, <TextNode: '"--></script>\n <script'>, StaticNode(varname=None, path=<FilterExpression "'chatbot/bot_functions.js'">), <TextNode: '"></script>\n\n'>]>], 'scss': [<Block Node: scss. Contents: []>]})> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
push | <Block Node: element. Contents: [<TextNode: '\n\n <input type="hidden" '>, <URLNode view_name=''chatbot:post'' args=[] kwargs={} as=None>, <TextNode: '" />\n '>, StaticNode(varname=None, path=<FilterExpression "'chatbot/bot.png'">), <TextNode: '"></a>\n '>, StaticNode(varname=None, path=<FilterExpression "'chatbot/ivy.png'">), <TextNode: '"></a>\n '>]> |
self | <Block Node: element. Contents: []> |
/home/atlass/anaconda3/envs/bnb_7_cl/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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | [<TextNode: '\n\n <input type="hidden" '>, <URLNode view_name=''chatbot:post'' args=[] kwargs={} as=None>, <TextNode: '" />\n '>, StaticNode(varname=None, path=<FilterExpression "'chatbot/bot.png'">), <TextNode: '"></a>\n '>, StaticNode(varname=None, path=<FilterExpression "'chatbot/ivy.png'">), <TextNode: '"></a>\n '>] |
/home/atlass/anaconda3/envs/bnb_7_cl/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 0x7fe9ed5b1720> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
node | <URLNode view_name=''chatbot:post'' args=[] kwargs={} as=None> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/base.py
, line 961, 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}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
self | <URLNode view_name=''chatbot:post'' args=[] kwargs={} as=None> |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/template/defaulttags.py
, line 479, in render
current_app = context.request.resolver_match.namespace
except AttributeError:
current_app = None
# Try to look up the URL. If it fails, raise NoReverseMatch unless the
# {% url ... as var %} construct is used, in which case return nothing.
url = ""
try:
url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app)…
except NoReverseMatch:
if self.asvar is None:
raise
if self.asvar:
context[self.asvar] = url
Variable | Value |
---|---|
NoReverseMatch | <class 'django.urls.exceptions.NoReverseMatch'> |
args | [] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'sum_patients': {'prev__sum': 2219873}, 'highest_country': 'United States of America', 'lowest_country': 'Marshall Islands', 'prevelance': {'Canada': 2.234610683683836, 'Greenland': 2.8776978417266186, 'Australia': 0.9409669619232895, 'New Zealand': 0.8375294091778623, 'Brunei': 0.1143955339983527, 'Japan': 0.3639361032420523, 'Singapore': 0.08281989871473755, 'South Korea': 0.39318613543899916, 'Austria': 1.2898678703400752, 'Belgium': 1.3141544464645531, 'Cyprus': 0.7692307692307693, 'Denmark': 2.063917252353799, 'Finland': 1.5006113771166727, 'France': 0.9907533520990344, 'Germany': 1.3860589480459997, 'Greece': 0.7029281273046778, 'Iceland': 1.6211110095377397, 'Ireland': 1.2627783004076512, 'Israel': 0.49308209568961353, 'Italy': 1.1906050545226092, 'Luxembourg': 1.5372021102419502, 'Malta': 0.5480044705627861, 'Netherlands': 1.4926248444997334, 'Norway': 1.4579798116921525, 'Portugal': 0.7985454961919487, 'Spain': 0.9432189380868913, 'Sweden': 2.0851302913749814, 'Switzerland': 1.7067865783621299, 'UK': 1.6606023549810442, 'Argentina': 0.4745309881765664, 'Chile': 0.5253926499128405, 'Uruguay': 0.4694216449204201, 'Belarus': 0.5099682325252505, 'Estonia': 0.6938644296821979, 'Latvia': 0.6541821468018877, 'Lithuania': 0.6326627518096819, 'Moldova': 0.37525297953676634, 'Russia': 0.6426388024590892, 'Ukraine': 0.5077757333230076, 'Albania': 0.5963506928821557, 'Bosnia and Herzegovina': 0.4610164198857376, 'Bulgaria': 0.42991151827496593, 'Croatia': 0.47310429055680087, 'Czech Republic': 0.7016043187347932, 'Hungary': 0.6762830245976313, 'Poland': 0.9364349542809642, 'Romania': 0.42286272801768193, 'Serbia': 0.7380133360011644, 'Slovakia': 0.62260556737148, 'Slovenia': 0.7201087088116706, 'Armenia': 0.26613063990962854, 'Azerbaijan': 0.24171682805548286, 'Georgia': 0.24429350851798243, 'Kazakhstan': 0.30769142238948544, 'Kyrgyzstan': 0.17605603325156624, 'Mongolia': 0.23897717767953158, 'Tajikistan': 0.1362578115427031, 'Turkmenistan': 0.20503372350834112, 'Uzbekistan': 0.19437375380417674, 'Colombia': 0.055565064561511904, 'Costa Rica': 0.07532088820088738, 'El Salvador': 0.0628003324355906, 'Guatemala': 0.05352169257607941, 'Honduras': 0.051575275088190854, 'Mexico': 0.11154158159146406, 'Nicaragua': 0.05640442954092337, 'Panama': 0.06867184874311666, 'Venezuela': 0.06280145401422293, 'Bolivia': 0.07948337600703044, 'Ecuador': 0.051356607442931856, 'Peru': 0.07006515670142069, 'Antigua and Barbuda': 0.13905788284373372, 'The Bahamas': 0.20060746447837358, 'Barbados': 0.1368421052631579, 'Belize': 0.08006221978223077, 'Bermuda': 0.23351028223609446, 'Cuba': 0.17734064676169556, 'Dominica': 0.09818635770692774, 'Dominican Republic': 0.09934221195118606, 'Grenada': 0.09677918860328275, 'Guyana': 0.053510410322922586, 'Haiti': 0.06598009522909937, 'Jamaica': 0.10816812859203728, 'Puerto Rico': 0.17288662012466646, 'Saint Lucia': 0.09782608695652174, 'Saint Vincent and the Grenadines': 0.08256880733944953, 'Suriname': 0.06364788492462405, 'Trinidad and Tobago': 0.10090217082737521, 'Brazil': 0.14473981511498826, 'Paraguay': 0.12620169031932946, 'China': 0.0754833188258443, 'North Korea': 0.068046509769449, 'Taiwan': 0.06407789412974343, 'Cambodia': 0.02733119267529305, 'Indonesia': 0.02798170085594817, 'Laos': 0.0309264488368966, 'Malaysia': 0.028786907872036277, 'Maldives': 0.026373162669667348, 'Mauritius': 0.06184546878865342, 'Philippines': 0.029682990822007323, 'Sri Lanka': 0.03471811773357563, 'Seychelles': 0.044469643909326395, 'Thailand': 0.05423070401257881, 'Vietnam': 0.04599320691703945, 'American Samoa': 0.054035555395450206, 'Federated States of Micronesia': 0.019733401742459373, 'Fiji': 0.04306441738498891, 'Guam': 0.0439262540945544, 'Kiribati': 0.018786222184649776, 'Marshall Islands': 0.017829761437791962, 'Northern Mariana Islands': 0.11135237458938811, 'Papua New Guinea': 0.016489829019395823, 'Samoa': 0.026621233095516984, 'Solomon Islands': 0.017201519238179114, 'Tonga': 0.0387401696819432, 'Vanuatu': 0.026449828453969742, 'Afghanistan': 0.24197… <trimmed 6515 bytes string> |
current_app | '' |
kwargs | {} |
reverse | <function reverse at 0x7fe9f244e680> |
self | <URLNode view_name=''chatbot:post'' args=[] kwargs={} as=None> |
url | '' |
view_name | 'chatbot:post' |
/home/atlass/anaconda3/envs/bnb_7_cl/lib/python3.10/site-packages/django/urls/base.py
, line 82, in reverse
except KeyError as key:
if resolved_path:
raise NoReverseMatch(
"%s is not a registered namespace inside '%s'"
% (key, ":".join(resolved_path))
)
else:
raise NoReverseMatch("%s is not a registered namespace" % key)…
if ns_pattern:
resolver = get_ns_resolver(
ns_pattern, resolver, tuple(ns_converters.items())
)
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)
Variable | Value |
---|---|
args | [] |
current_app | '' |
current_ns | None |
current_path | None |
kwargs | {} |
ns | 'chatbot' |
ns_converters | {} |
ns_pattern | '' |
path | ['chatbot'] |
prefix | '/' |
resolved_path | [] |
resolver | <URLResolver 'bnb_7_cl.urls' (None:None) '^/'> |
urlconf | 'bnb_7_cl.urls' |
view | 'post' |
viewname | 'chatbot:post' |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'www.bytsnbytes.com' |
HTTP_REFERER | 'http://bytsnbytes.com/ms_oracle/ms_oracle_map' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '3.227.252.87' |
HTTP_X_FORWARDED_PROTO | 'https,https' |
HTTP_X_REAL_IP | '3.227.252.87' |
PATH_INFO | '/ms_oracle/ms_oracle_map' |
QUERY_STRING | '' |
RAW_URI | '/ms_oracle/ms_oracle_map' |
REMOTE_ADDR | '' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | 'www.bytsnbytes.com' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/21.2.0' |
gunicorn.socket | <socket.socket fd=10, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/run/gunicorn.sock> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fe9ed5b3be0> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7fe9ed5b2e90> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
bnb_7_cl.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['bytsnbytes.com', 'www.bytsnbytes.com', 'localhost', '138.68.76.165'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'ecommerce.EcomCustomer' |
BASE_DIR | PosixPath('/home/atlass/bb_1/bnb_7_cl') |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
COINBASE_COMMERCE_API_KEY | '********************' |
COMPRESSORS | {'css': 'compressor.css.CssCompressor', 'js': 'compressor.js.JsCompressor'} |
COMPRESS_CACHEABLE_PRECOMPILERS | () |
COMPRESS_CACHE_BACKEND | 'default' |
COMPRESS_CACHE_KEY_FUNCTION | '********************' |
COMPRESS_CLEAN_CSS_ARGUMENTS | '' |
COMPRESS_CLEAN_CSS_BINARY | 'cleancss' |
COMPRESS_CLOSURE_COMPILER_ARGUMENTS | '' |
COMPRESS_CLOSURE_COMPILER_BINARY | 'java -jar compiler.jar' |
COMPRESS_CSS_HASHING_METHOD | 'mtime' |
COMPRESS_DATA_URI_MAX_SIZE | 1024 |
COMPRESS_DEBUG_TOGGLE | None |
COMPRESS_ENABLED | False |
COMPRESS_FILTERS | {'css': ['compressor.filters.css_default.CssAbsoluteFilter', 'compressor.filters.cssmin.rCSSMinFilter'], 'js': ['compressor.filters.jsmin.rJSMinFilter']} |
COMPRESS_JINJA2_GET_ENVIRONMENT | <function CompressorConf.JINJA2_GET_ENVIRONMENT at 0x7fe9f1906440> |
COMPRESS_MINT_DELAY | 30 |
COMPRESS_MTIME_DELAY | 10 |
COMPRESS_OFFLINE | False |
COMPRESS_OFFLINE_CONTEXT | {'STATIC_URL': '/static/'} |
COMPRESS_OFFLINE_MANIFEST | 'manifest.json' |
COMPRESS_OFFLINE_MANIFEST_STORAGE | 'compressor.storage.OfflineManifestFileStorage' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
COMPRESS_OUTPUT_DIR | 'CACHE' |
COMPRESS_PARSER | 'compressor.parser.AutoSelectParser' |
COMPRESS_PRECOMPILERS | (('text/x-scss', 'django_libsass.SassCompiler'),) |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
COMPRESS_ROOT | '/home/atlass/bb_1/bnb_7_cl/static' |
COMPRESS_STORAGE | 'compressor.storage.CompressorFileStorage' |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {'STATIC_URL': '/static/'} |
COMPRESS_URL | '/static/' |
COMPRESS_URL_PLACEHOLDER | '/__compressor_url_placeholder__/' |
COMPRESS_VERBOSE | False |
COMPRESS_YUGLIFY_BINARY | 'yuglify' |
COMPRESS_YUGLIFY_CSS_ARGUMENTS | '--terminal' |
COMPRESS_YUGLIFY_JS_ARGUMENTS | '--terminal' |
COMPRESS_YUI_BINARY | 'java -jar yuicompressor.jar' |
COMPRESS_YUI_CSS_ARGUMENTS | '' |
COMPRESS_YUI_JS_ARGUMENTS | '' |
CORS_ALLOWED_ORIGINS | ['https://144.86.9.125.com', 'https://sendgrid.com'] |
CORS_ALLOW_CREDENTIALS | True |
CORS_ALLOW_HEADERS | ('XMLHttpRequest', 'X_FILENAME', 'accept-encoding', 'authorization', 'content-type', 'dnt', 'origin', 'user-agent', 'x-csrftoken', 'x-requested-with', 'Pragma') |
CORS_ALLOW_METHODS | ('DELETE', 'GET', 'OPTIONS', 'PATCH', 'POST', 'PUT', 'VIEW') |
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 | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | ['https://bytsnbytes.com', 'https://www.bytsnbytes.com', 'https://144.86.53.11:50004/webhooks/rest/webhook'] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql', 'HOST': '', 'NAME': 'byb_storage', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'mo_admin'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATA_UPLOAD_MAX_NUMBER_FILES | 100 |
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 | 'mail.bytsnbytes.com' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'founder@bytsnbytes.com' |
EMAIL_PORT | 587 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORMS_URLFIELD_ASSUME_HTTPS | False |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['corsheaders', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'website.apps.WebsiteConfig', 'ms_oracle.apps.MsOracleConfig', 'blog.apps.BlogConfig', 'ecommerce.apps.EcommerceConfig', 'web_dev.apps.WebDevConfig', 'freelance.apps.FreelanceConfig', 'guardian_download.apps.GuardianDownloadConfig', 'portfolio.apps.PortfolioConfig', 'chatbot_3.apps.Chatbot3Config', 'compressor', 'captcha'] |
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'), ('ckb', 'Central Kurdish (Sorani)'), ('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'), ('ug', 'Uyghur'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'ckb', 'fa', 'ug', '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 | {'disable_existing_loggers': False, 'handlers': {'file': {'class': 'logging.FileHandler', 'filename': 'debug.log', 'level': 'DEBUG'}}, 'loggers': {'django': {'handlers': ['file'], 'level': 'INFO', 'propagate': True}}, 'version': 1} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | 'user_login' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '' |
MEDIA_URL | '/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MESSAGE_TAGS | {40: 'danger'} |
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', 'django.contrib.sites.middleware.CurrentSiteMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'bnb_7_cl.urls' |
SECRET_KEY | '********************' |
SECRET_KEY_FALLBACKS | '********************' |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_CROSS_ORIGIN_OPENER_POLICY | 'same-origin' |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | ('HTTP_X_FORWARDED_PROTO', 'https') |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SENDGRID_API_KEY | '********************' |
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 | 'bnb_7_cl.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 | ['/home/atlass/bb_1/bnb_7_cl/gallery', '/home/atlass/bb_1/bnb_7_cl/store_gallery', '/home/atlass/bb_1/bnb_7_cl/service_gallery'] |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'compressor.finders.CompressorFinder') |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | PosixPath('/home/atlass/bb_1/bnb_7_cl/static') |
STATIC_URL | '/static/' |
STORAGES | {'default': {'BACKEND': 'django.core.files.storage.FileSystemStorage'}, 'staticfiles': {'BACKEND': 'django.contrib.staticfiles.storage.StaticFilesStorage'}} |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['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', 'website.context_processors.current_news', 'ecommerce.context_processors.menu_links', 'ecommerce.context_processors.service_menu_links', 'ecommerce.context_processors.cart_count'], 'libraries': {'staticfiles': 'django.templatetags.static'}}}] |
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_I18N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'bnb_7_cl.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.