string index out of range
Request Method: | GET |
---|---|
Request URL: | https://instrumentsfinder.com/en/applications |
Django Version: | 4.1.6 |
Exception Type: | IndexError |
Exception Value: | string index out of range |
Exception Location: | /var/www/medinstrumentsfinder/frontend/templatetags/templatefunctions.py, line 219, in showLeadFormblock_bottom |
Raised during: | frontend.views.showApplicationListing |
Python Executable: | /var/www/virtualenv/djangoenv/bin/python |
Python Version: | 3.10.12 |
Python Path: | ['/var/www/medinstrumentsfinder', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/var/www/virtualenv/djangoenv/lib/python3.10/site-packages', '/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/odf', '/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/odf', '/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/odf', '/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/odf', '/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/odf', '/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/odf', '/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/odf'] |
Server time: | Tue, 19 Mar 2024 03:10:02 +0000 |
In template /var/www/medinstrumentsfinder/frontend/templates/listing.html
, error at line 126
116 | {%else%} |
---|---|
117 | <a href="{{nextlink}}">next</a> |
118 | {%endif%} |
119 | {%endif%} |
120 | </div> |
121 | </div> |
122 | </div><!--paginator--> |
123 | |
124 | </div><!--emd of col--> |
125 | <div class="col-md-4 col-sm-6"> |
126 | {{leadformdata|showLeadFormblock_bottom:csrf_token|safe}} |
127 | </div> |
128 | |
129 | </div><!--end of row--> |
130 | |
131 | |
132 | |
133 | </div> |
134 | |
135 | |
136 | {%endblock%} |
/var/www/virtualenv/djangoenv/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 | IndexError('string index out of range') |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7fbfe50c2dd0>> |
request | <WSGIRequest: GET '/en/applications'> |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/core/handlers/base.py
, line 197, in _get_response
if response is None:
wrapped_callback = self.make_view_atomic(callback)
# If it is an asynchronous view, run it in a subthread.
if asyncio.iscoroutinefunction(wrapped_callback):
wrapped_callback = async_to_sync(wrapped_callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
# Complain if the view returned None (a common error).
Variable | Value |
---|---|
callback | <function showApplicationListing at 0x7fbfdf9b7c70> |
callback_args | () |
callback_kwargs | {'country': 'en'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>> |
request | <WSGIRequest: GET '/en/applications'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fbfe50c2dd0> |
wrapped_callback | <function showApplicationListing at 0x7fbfdf9b7c70> |
/var/www/medinstrumentsfinder/frontend/views.py
, line 169, in showApplicationListing
nextlink=""
# if(not applications["previous"] is None):
# prevlink="/applications/"+str(applications["previous"])
# if(not applications["next"] is None):
# nextlink="/applications/"+str(applications["next"])
seodata=getSEOData(page="applicationlisting",country=country)
return render(request,"listing.html",{"keys":dict.keys(),"dict":dict,"breadcrumb":"Applications","title":seodata["title"],"metadescription":seodata["metadescription"],"applications":applications,"prevlink":prevlink,"nextlink":nextlink,"country":country})…
def showBrandLanding(request,brandslug,page="1",country=""):
domain=country
date_2year=getTwoYearDateForSchema()
country_data = getCountry(country)
Variable | Value |
---|---|
applications | [{'app_custom_content1': '', 'app_custom_content1_ar': '', 'app_custom_content1_az': '', 'app_custom_content1_es': '', 'app_custom_content1_fr': '', 'app_custom_content1_kz': '', 'app_custom_content1_ru': '', 'app_custom_content2': '', 'app_custom_content2_ar': '', 'app_custom_content2_az': '', 'app_custom_content2_es': '', 'app_custom_content2_fr': '', 'app_custom_content2_kz': '', 'app_custom_content2_ru': '', 'app_custom_content3': '', 'app_custom_content3_ar': '', 'app_custom_content3_az': '', 'app_custom_content3_es': '', 'app_custom_content3_fr': '', 'app_custom_content3_kz': '', 'app_custom_content3_ru': '', 'app_description': '', 'app_description_ar': '', 'app_description_az': '', 'app_description_es': '', 'app_description_fr': '', 'app_description_kz': '', 'app_description_ru': '', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_future_1': '', 'app_future_1_ar': '', 'app_future_1_az': '', 'app_future_1_es': '', 'app_future_1_fr': '', 'app_future_1_kz': '', 'app_future_1_ru': '', 'app_future_2': '', 'app_future_2_ar': '', 'app_future_2_az': '', 'app_future_2_es': '', 'app_future_2_fr': '', 'app_future_2_kz': '', 'app_future_2_ru': '', 'app_id': 12012, 'app_name': 'Asme testing standard', 'app_name_ar': '', 'app_name_az': '', 'app_name_es': '', 'app_name_fr': '', 'app_name_kz': '', 'app_name_ru': '', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_slug_ar': '', 'app_slug_az': '', 'app_slug_es': '', 'app_slug_fr': '', 'app_slug_kz': '', 'app_slug_ru': ''}, {'app_custom_content1': '', 'app_custom_content1_ar': '', 'app_custom_content1_az': '', 'app_custom_content1_es': '', 'app_custom_content1_fr': '', 'app_custom_content1_kz': '', 'app_custom_content1_ru': '', 'app_custom_content2': '', 'app_custom_content2_ar': '', 'app_custom_content2_az': '', 'app_custom_content2_es': '', 'app_custom_content2_fr': '', 'app_custom_content2_kz': '', 'app_custom_content2_ru': '', 'app_custom_content3': '', 'app_custom_content3_ar': '', 'app_custom_content3_az': '', 'app_custom_content3_es': '', 'app_custom_content3_fr': '', 'app_custom_content3_kz': '', 'app_custom_content3_ru': '', 'app_description': '', 'app_description_ar': '', 'app_description_az': '', 'app_description_es': '', 'app_description_fr': '', 'app_description_kz': '', 'app_description_ru': '', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_future_1': '', 'app_future_1_ar': '', 'app_future_1_az': '', 'app_future_1_es': '', 'app_future_1_fr': '', 'app_future_1_kz': '', 'app_future_1_ru': '', 'app_future_2': '', 'app_future_2_ar': '', 'app_future_2_az': '', 'app_future_2_es': '', 'app_future_2_fr': '', 'app_future_2_kz': '', 'app_future_2_ru': '', 'app_id': 12035, 'app_name': 'Aws testing standard', 'app_name_ar': '', 'app_name_az': '', 'app_name_es': '', 'app_name_fr': '', 'app_name_kz': '', 'app_name_ru': '', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_slug_ar': '', 'app_slug_az': '', 'app_slug_es': '', 'app_slug_fr': '', 'app_slug_kz': '', 'app_slug_ru': ''}, {'app_custom_content1': '', 'app_custom_content1_ar': '', 'app_custom_content1_az': '', 'app_custom_content1_es': '', 'app_custom_content1_fr': '', 'app_custom_content1_kz': '', 'app_custom_content1_ru': '', 'app_custom_content2': '', 'app_custom_content2_ar': '', 'app_custom_content2_az': '', 'app_custom_content2_es': '', 'app_custom_content2_fr': '', 'app_custom_content2_kz': '', 'app_custom_content2_ru': '', 'app_custom_content3': '', 'app_custom_content3_ar': '', 'app_custom_content3_az': '', 'app_custom_content3_es': '', 'app_custom_content3_fr': '', 'app_custom_content3_kz': '', 'app_custom_content3_ru': '', 'app_description': '', 'app_description_ar': '', 'app_description_az': '', 'app_description… <trimmed 157810 bytes string> |
country | 'en' |
dict | {'A': [{'app_custom_content1': '', 'app_custom_content1_ar': '', 'app_custom_content1_az': '', 'app_custom_content1_es': '', 'app_custom_content1_fr': '', 'app_custom_content1_kz': '', 'app_custom_content1_ru': '', 'app_custom_content2': '', 'app_custom_content2_ar': '', 'app_custom_content2_az': '', 'app_custom_content2_es': '', 'app_custom_content2_fr': '', 'app_custom_content2_kz': '', 'app_custom_content2_ru': '', 'app_custom_content3': '', 'app_custom_content3_ar': '', 'app_custom_content3_az': '', 'app_custom_content3_es': '', 'app_custom_content3_fr': '', 'app_custom_content3_kz': '', 'app_custom_content3_ru': '', 'app_description': '', 'app_description_ar': '', 'app_description_az': '', 'app_description_es': '', 'app_description_fr': '', 'app_description_kz': '', 'app_description_ru': '', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_future_1': '', 'app_future_1_ar': '', 'app_future_1_az': '', 'app_future_1_es': '', 'app_future_1_fr': '', 'app_future_1_kz': '', 'app_future_1_ru': '', 'app_future_2': '', 'app_future_2_ar': '', 'app_future_2_az': '', 'app_future_2_es': '', 'app_future_2_fr': '', 'app_future_2_kz': '', 'app_future_2_ru': '', 'app_id': 12012, 'app_name': 'Asme testing standard', 'app_name_ar': '', 'app_name_az': '', 'app_name_es': '', 'app_name_fr': '', 'app_name_kz': '', 'app_name_ru': '', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_slug_ar': '', 'app_slug_az': '', 'app_slug_es': '', 'app_slug_fr': '', 'app_slug_kz': '', 'app_slug_ru': ''}, {'app_custom_content1': '', 'app_custom_content1_ar': '', 'app_custom_content1_az': '', 'app_custom_content1_es': '', 'app_custom_content1_fr': '', 'app_custom_content1_kz': '', 'app_custom_content1_ru': '', 'app_custom_content2': '', 'app_custom_content2_ar': '', 'app_custom_content2_az': '', 'app_custom_content2_es': '', 'app_custom_content2_fr': '', 'app_custom_content2_kz': '', 'app_custom_content2_ru': '', 'app_custom_content3': '', 'app_custom_content3_ar': '', 'app_custom_content3_az': '', 'app_custom_content3_es': '', 'app_custom_content3_fr': '', 'app_custom_content3_kz': '', 'app_custom_content3_ru': '', 'app_description': '', 'app_description_ar': '', 'app_description_az': '', 'app_description_es': '', 'app_description_fr': '', 'app_description_kz': '', 'app_description_ru': '', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_future_1': '', 'app_future_1_ar': '', 'app_future_1_az': '', 'app_future_1_es': '', 'app_future_1_fr': '', 'app_future_1_kz': '', 'app_future_1_ru': '', 'app_future_2': '', 'app_future_2_ar': '', 'app_future_2_az': '', 'app_future_2_es': '', 'app_future_2_fr': '', 'app_future_2_kz': '', 'app_future_2_ru': '', 'app_id': 12035, 'app_name': 'Aws testing standard', 'app_name_ar': '', 'app_name_az': '', 'app_name_es': '', 'app_name_fr': '', 'app_name_kz': '', 'app_name_ru': '', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_slug_ar': '', 'app_slug_az': '', 'app_slug_es': '', 'app_slug_fr': '', 'app_slug_kz': '', 'app_slug_ru': ''}, {'app_custom_content1':… <trimmed 192601 bytes string> |
nextlink | '' |
page | 1 |
prevlink | '' |
request | <WSGIRequest: GET '/en/applications'> |
seodata | {'metadescription': 'Shop InstrumentsFinder for the a wide range of ' 'applications in medical, test & measurement instruments ' 'in Dubai, Abu Dhabi, Saudi Arabia, Oman, Qatar, Iraq, ' 'Angola, Nigeria, Congo, Algeria, Egypt,Azerbaijan, ' 'Kazakhstan, Turkmenistan, Russia - Dubai, Abu Dhabi, ' 'Saudi Arabia, Oman, Qatar, Iraq, Africa(Angola, Nigeria, ' 'Congo, Algeria, Egypt), CIS(Azerbaijan, Kazakhstan, ' 'Turkmenistan, Russia)', 'title': 'Shop for a range of Applications | InstrumentsFinder.com | Dubai, ' 'Abu Dhabi, Saudi Arabia, Oman, Qatar, Iraq, Angola, Nigeria, Congo, ' 'Algeria, Egypt,Azerbaijan, Kazakhstan, Turkmenistan, Russia | ' 'Dubai, Abu Dhabi, Saudi Arabia, Oman, Qatar, Iraq, Africa(Angola, ' 'Nigeria, Congo, Algeria, Egypt), CIS(Azerbaijan, Kazakhstan, ' 'Turkmenistan, Russia)'} |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/shortcuts.py
, line 24, in render
def render(
request, template_name, context=None, content_type=None, status=None, using=None
):
"""
Return an HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)…
return HttpResponse(content, content_type, status)
def redirect(to, *args, permanent=False, **kwargs):
"""
Return an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | {'applications': [{'app_custom_content1': '', 'app_custom_content1_ar': '', 'app_custom_content1_az': '', 'app_custom_content1_es': '', 'app_custom_content1_fr': '', 'app_custom_content1_kz': '', 'app_custom_content1_ru': '', 'app_custom_content2': '', 'app_custom_content2_ar': '', 'app_custom_content2_az': '', 'app_custom_content2_es': '', 'app_custom_content2_fr': '', 'app_custom_content2_kz': '', 'app_custom_content2_ru': '', 'app_custom_content3': '', 'app_custom_content3_ar': '', 'app_custom_content3_az': '', 'app_custom_content3_es': '', 'app_custom_content3_fr': '', 'app_custom_content3_kz': '', 'app_custom_content3_ru': '', 'app_description': '', 'app_description_ar': '', 'app_description_az': '', 'app_description_es': '', 'app_description_fr': '', 'app_description_kz': '', 'app_description_ru': '', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_future_1': '', 'app_future_1_ar': '', 'app_future_1_az': '', 'app_future_1_es': '', 'app_future_1_fr': '', 'app_future_1_kz': '', 'app_future_1_ru': '', 'app_future_2': '', 'app_future_2_ar': '', 'app_future_2_az': '', 'app_future_2_es': '', 'app_future_2_fr': '', 'app_future_2_kz': '', 'app_future_2_ru': '', 'app_id': 12012, 'app_name': 'Asme testing standard', 'app_name_ar': '', 'app_name_az': '', 'app_name_es': '', 'app_name_fr': '', 'app_name_kz': '', 'app_name_ru': '', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_slug_ar': '', 'app_slug_az': '', 'app_slug_es': '', 'app_slug_fr': '', 'app_slug_kz': '', 'app_slug_ru': ''}, {'app_custom_content1': '', 'app_custom_content1_ar': '', 'app_custom_content1_az': '', 'app_custom_content1_es': '', 'app_custom_content1_fr': '', 'app_custom_content1_kz': '', 'app_custom_content1_ru': '', 'app_custom_content2': '', 'app_custom_content2_ar': '', 'app_custom_content2_az': '', 'app_custom_content2_es': '', 'app_custom_content2_fr': '', 'app_custom_content2_kz': '', 'app_custom_content2_ru': '', 'app_custom_content3': '', 'app_custom_content3_ar': '', 'app_custom_content3_az': '', 'app_custom_content3_es': '', 'app_custom_content3_fr': '', 'app_custom_content3_kz': '', 'app_custom_content3_ru': '', 'app_description': '', 'app_description_ar': '', 'app_description_az': '', 'app_description_es': '', 'app_description_fr': '', 'app_description_kz': '', 'app_description_ru': '', 'app_external_links1': '', … <trimmed 502294 bytes string> |
request | <WSGIRequest: GET '/en/applications'> |
status | None |
template_name | 'listing.html' |
using | None |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/template/loader.py
, line 62, in render_to_string
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)…
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {'applications': [{'app_custom_content1': '', 'app_custom_content1_ar': '', 'app_custom_content1_az': '', 'app_custom_content1_es': '', 'app_custom_content1_fr': '', 'app_custom_content1_kz': '', 'app_custom_content1_ru': '', 'app_custom_content2': '', 'app_custom_content2_ar': '', 'app_custom_content2_az': '', 'app_custom_content2_es': '', 'app_custom_content2_fr': '', 'app_custom_content2_kz': '', 'app_custom_content2_ru': '', 'app_custom_content3': '', 'app_custom_content3_ar': '', 'app_custom_content3_az': '', 'app_custom_content3_es': '', 'app_custom_content3_fr': '', 'app_custom_content3_kz': '', 'app_custom_content3_ru': '', 'app_description': '', 'app_description_ar': '', 'app_description_az': '', 'app_description_es': '', 'app_description_fr': '', 'app_description_kz': '', 'app_description_ru': '', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_future_1': '', 'app_future_1_ar': '', 'app_future_1_az': '', 'app_future_1_es': '', 'app_future_1_fr': '', 'app_future_1_kz': '', 'app_future_1_ru': '', 'app_future_2': '', 'app_future_2_ar': '', 'app_future_2_az': '', 'app_future_2_es': '', 'app_future_2_fr': '', 'app_future_2_kz': '', 'app_future_2_ru': '', 'app_id': 12012, 'app_name': 'Asme testing standard', 'app_name_ar': '', 'app_name_az': '', 'app_name_es': '', 'app_name_fr': '', 'app_name_kz': '', 'app_name_ru': '', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_slug_ar': '', 'app_slug_az': '', 'app_slug_es': '', 'app_slug_fr': '', 'app_slug_kz': '', 'app_slug_ru': ''}, {'app_custom_content1': '', 'app_custom_content1_ar': '', 'app_custom_content1_az': '', 'app_custom_content1_es': '', 'app_custom_content1_fr': '', 'app_custom_content1_kz': '', 'app_custom_content1_ru': '', 'app_custom_content2': '', 'app_custom_content2_ar': '', 'app_custom_content2_az': '', 'app_custom_content2_es': '', 'app_custom_content2_fr': '', 'app_custom_content2_kz': '', 'app_custom_content2_ru': '', 'app_custom_content3': '', 'app_custom_content3_ar': '', 'app_custom_content3_az': '', 'app_custom_content3_es': '', 'app_custom_content3_fr': '', 'app_custom_content3_kz': '', 'app_custom_content3_ru': '', 'app_description': '', 'app_description_ar': '', 'app_description_az': '', 'app_description_es': '', 'app_description_fr': '', 'app_description_kz': '', 'app_description_ru': '', 'app_external_links1': '', … <trimmed 502294 bytes string> |
request | <WSGIRequest: GET '/en/applications'> |
template | <django.template.backends.django.Template object at 0x7fbfdf340040> |
template_name | 'listing.html' |
using | None |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/template/backends/django.py
, line 62, in render
return self.template.origin
def render(self, context=None, request=None):
context = make_context(
context, request, autoescape=self.backend.engine.autoescape
)
try:
return self.template.render(context)…
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'keys': dict_keys(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W']), 'dict': {'A': [{'app_id': 12012, 'app_name': 'Asme testing standard', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12035, 'app_name': 'Aws testing standard', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12009, 'app_name': 'Aerospace', 'app_segment': 'instrumart', 'app_slug': 'aerospace', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_… <trimmed 293840 bytes string> |
request | <WSGIRequest: GET '/en/applications'> |
self | <django.template.backends.django.Template object at 0x7fbfdf340040> |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/template/base.py
, line 175, in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)…
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'keys': dict_keys(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W']), 'dict': {'A': [{'app_id': 12012, 'app_name': 'Asme testing standard', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12035, 'app_name': 'Aws testing standard', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12009, 'app_name': 'Aerospace', 'app_segment': 'instrumart', 'app_slug': 'aerospace', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_… <trimmed 293840 bytes string> |
self | <Template template_string="{% extends 'base.htm..."> |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/template/base.py
, line 167, in _render
def __repr__(self):
return '<%s template_string="%s...">' % (
self.__class__.__qualname__,
self.source[:20].replace("\n", ""),
)
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'keys': dict_keys(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W']), 'dict': {'A': [{'app_id': 12012, 'app_name': 'Asme testing standard', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12035, 'app_name': 'Aws testing standard', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12009, 'app_name': 'Aerospace', 'app_segment': 'instrumart', 'app_slug': 'aerospace', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_… <trimmed 293840 bytes string> |
self | <Template template_string="{% extends 'base.htm..."> |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/template/base.py
, line 1005, 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}, {}, {}, {'keys': dict_keys(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W']), 'dict': {'A': [{'app_id': 12012, 'app_name': 'Asme testing standard', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12035, 'app_name': 'Aws testing standard', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12009, 'app_name': 'Aerospace', 'app_segment': 'instrumart', 'app_slug': 'aerospace', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_… <trimmed 293840 bytes string> |
self | [<ExtendsNode: extends 'base.html'>] |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/template/base.py
, line 1005, 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 0x7fbfdf340250> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'keys': dict_keys(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W']), 'dict': {'A': [{'app_id': 12012, 'app_name': 'Asme testing standard', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12035, 'app_name': 'Aws testing standard', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12009, 'app_name': 'Aerospace', 'app_segment': 'instrumart', 'app_slug': 'aerospace', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_… <trimmed 293840 bytes string> |
node | <ExtendsNode: extends 'base.html'> |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/template/base.py
, line 966, 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}, {}, {}, {'keys': dict_keys(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W']), 'dict': {'A': [{'app_id': 12012, 'app_name': 'Asme testing standard', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12035, 'app_name': 'Aws testing standard', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12009, 'app_name': 'Aerospace', 'app_segment': 'instrumart', 'app_slug': 'aerospace', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_… <trimmed 293840 bytes string> |
self | <ExtendsNode: extends 'base.html'> |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/template/loader_tags.py
, line 157, 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'>, {'breadcrumb': [<Block Node: breadcrumb. Contents: [<TextNode: ' '>]>, <Block Node: breadcrumb. Contents: [<TextNode: ' \n'>, <IfNode>, <TextNode: '\n\n<li class="breadcrumb-i'>, <Variable Node: breadcrumb>, <TextNode: '</li>\n'>]>], 'content': [<Block Node: content. Contents: [<TextNode: ' '>]>], 'schema': [<Block Node: schema. Contents: [<TextNode: '\n\n '>]>]})> |
blocks | {'breadcrumb': <Block Node: breadcrumb. Contents: [<TextNode: ' '>]>, 'content': <Block Node: content. Contents: [<TextNode: ' '>]>, 'schema': <Block Node: schema. Contents: [<TextNode: '\n\n '>]>} |
compiled_parent | <Template template_string="{%load static%} {%lo..."> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'keys': dict_keys(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W']), 'dict': {'A': [{'app_id': 12012, 'app_name': 'Asme testing standard', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12035, 'app_name': 'Aws testing standard', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12009, 'app_name': 'Aerospace', 'app_segment': 'instrumart', 'app_slug': 'aerospace', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_… <trimmed 293840 bytes string> |
node | <django.template.defaulttags.LoadNode object at 0x7fbfdf2c7fd0> |
self | <ExtendsNode: extends 'base.html'> |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/template/base.py
, line 167, in _render
def __repr__(self):
return '<%s template_string="%s...">' % (
self.__class__.__qualname__,
self.source[:20].replace("\n", ""),
)
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'keys': dict_keys(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W']), 'dict': {'A': [{'app_id': 12012, 'app_name': 'Asme testing standard', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12035, 'app_name': 'Aws testing standard', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12009, 'app_name': 'Aerospace', 'app_segment': 'instrumart', 'app_slug': 'aerospace', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_… <trimmed 293840 bytes string> |
self | <Template template_string="{%load static%} {%lo..."> |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/template/base.py
, line 1005, 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}, {}, {}, {'keys': dict_keys(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W']), 'dict': {'A': [{'app_id': 12012, 'app_name': 'Asme testing standard', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12035, 'app_name': 'Aws testing standard', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12009, 'app_name': 'Aerospace', 'app_segment': 'instrumart', 'app_slug': 'aerospace', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_… <trimmed 293840 bytes string> |
self | [<django.template.defaulttags.LoadNode object at 0x7fbfdf2c7fd0>, <TextNode: ' '>, <django.template.defaulttags.LoadNode object at 0x7fbfdf2d4100>, <TextNode: '\n\n\n\n\n<!DOCTYPE html>\n<htm'>, <Variable Node: request.scheme>, <TextNode: '://'>, <Variable Node: request.get_host>, <TextNode: '/'>, <Variable Node: country_domain>, <TextNode: '. All rights reserved.">\n'>, <Variable Node: request.scheme>, <TextNode: '://'>, <Variable Node: request.get_host>, <TextNode: '/'>, <Variable Node: country_domain>, <TextNode: '. All rights reserved.">\n'>, <Variable Node: request.scheme>, <TextNode: '://'>, <Variable Node: request.get_host>, <TextNode: '/'>, <Variable Node: country_domain>, <TextNode: '">\n <meta name="dc.tit'>, <Variable Node: title>, <TextNode: '">\n <meta name="dc.typ'>, <Variable Node: title>, <TextNode: '</title>\n <link rel="p'>, <IfNode>, <TextNode: '\n\n <link rel="alternat'>, <Variable Node: request.scheme>, <TextNode: '://'>, <Variable Node: request.get_host>, <Variable Node: request.get_full_path>, <TextNode: '" hreflang="x-default">\n\n'>, <ForNode: for country_domain in countrydomains.keys, tail_len: 3>, <TextNode: ' \n\n \n <!-- reCAPTC'>, <Variable Node: metadescription>, <TextNode: '" />\n\n <meta property'>, <django.template.defaulttags.CommentNode object at 0x7fbfdf2d63e0>, <TextNode: '\n <meta property="og:t'>, <Variable Node: title>, <TextNode: '" />\n <meta property="'>, <Variable Node: metadescription>, <TextNode: '" />\n <meta property="'>, StaticNode(varname=None, path=<FilterExpression "'images/logo.png'">), <TextNode: '" />\n <meta property="'>, <Variable Node: request.scheme>, <TextNode: '://'>, <Variable Node: request.get_host>, <Variable Node: request.get_full_path>, <TextNode: '" />\n <meta property="'>, <Variable Node: country>, <TextNode: ' - Medical, Instrumentati'>, <Variable Node: metadescription>, <TextNode: '" />\n <meta name="twit'>, <Variable Node: title>, <TextNode: '" />\n \n '>, <Block Node: schema. Contents: [<TextNode: '\n\n '>]>, <TextNode: '\n\n </head>\n <body>\n '>, <Variable Node: country>, <TextNode: '/"\n ><img\n '>, StaticNode(varname=None, path=<FilterExpression "'images/logo.png'">), <TextNode: '"\n \n '>, <ForNode: for k, v in menuitems.items, tail_len: 3>, <TextNode: '\n\n <li class'>, <ForNode: for k, v in submenuitems.items, tail_len: 3>, <TextNode: '\n \n '>, <django.template.defaulttags.CommentNode object at 0x7fbfdf2e4970>, <TextNode: '\n </div>\n '>, <Block Node: breadcrumb. Contents: [<TextNode: ' '>]>, <TextNode: '\n \n </'>, <Block Node: content. Contents: [<TextNode: ' '>]>, <TextNode: '\n\n <footer class="pa'>, <Variable Node: request.scheme>, <TextNode: '://'>, <Variable Node: request.get_host>, <TextNode: '/'>, <Variable Node: country_domain>, <TextNode: '">Instrumentsfinder.com</'>, <Variable Node: country_data.country>, <TextNode: '– Instrumentation Medical'>, <django.template.defaulttags.NowNode object at 0x7fbfdf2e4fa0>, <TextNode: ' Copyright: <a href="'>, <Variable Node: request.scheme>, <TextNode: '://'>, <Variable Node: request.get_host>, <TextNode: '/'>, <Variable Node: country_domain>, <TextNode: '"> instrumentsfinder.com '>, <Variable Node: country_data.country>, <TextNode: '</a> \n </div>\n '>, <Variable Node: country_data.country>, <TextNode: ' -'>, <Variable Node: country_data.cities>, <TextNode: '",\n "url": "'>, <Variable Node: request.scheme>, <TextNode: '://'>, <Variable Node: request.get_host>, <TextNode: '/'>, <Variable Node: country_domain>, <TextNode: '",\n "contactPoint"'>, <Variable Node: country_data.country>, <TextNode: '",\n "availableLa'>, <Variable Node: request.scheme>, <TextNode: '://'>, <Variable Node: request.get_host>, <TextNode: '/'>, <Variable Node: country_domain>, <TextNode: '/contact"\n }]\n '>, StaticN… <trimmed 4679 bytes string> |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/template/base.py
, line 1005, 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 0x7fbfdf3405b0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'keys': dict_keys(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W']), 'dict': {'A': [{'app_id': 12012, 'app_name': 'Asme testing standard', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12035, 'app_name': 'Aws testing standard', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12009, 'app_name': 'Aerospace', 'app_segment': 'instrumart', 'app_slug': 'aerospace', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_… <trimmed 293840 bytes string> |
node | <Block Node: content. Contents: [<TextNode: ' '>]> |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/template/base.py
, line 966, 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}, {}, {}, {'keys': dict_keys(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W']), 'dict': {'A': [{'app_id': 12012, 'app_name': 'Asme testing standard', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12035, 'app_name': 'Aws testing standard', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12009, 'app_name': 'Aerospace', 'app_segment': 'instrumart', 'app_slug': 'aerospace', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_… <trimmed 293840 bytes string> |
self | <Block Node: content. Contents: [<TextNode: ' '>]> |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/template/loader_tags.py
, line 63, 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: content. Contents: [<TextNode: '\n\n\n<div class="mainconten'>, <Variable Node: breadcrumb>, <TextNode: '</h1>\n\n </div>'>, <ForNode: for k in keys, tail_len: 5>, <TextNode: '\n </div>\n '>, <ForNode: for a, b in dict.items, tail_len: 11>, <TextNode: '\n \n\n'>, <django.template.defaulttags.CommentNode object at 0x7fbfdf343550>, <TextNode: '\n\n <div class='>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '\n </di'>, <Variable Node: leadformdata|showLeadFormblock_bottom:csrf_token|safe>, <TextNode: '\n </div>\n\n </di'>]> |
block_context | <BlockContext: blocks=defaultdict(<class 'list'>, {'breadcrumb': [<Block Node: breadcrumb. Contents: [<TextNode: ' '>]>, <Block Node: breadcrumb. Contents: [<TextNode: ' \n'>, <IfNode>, <TextNode: '\n\n<li class="breadcrumb-i'>, <Variable Node: breadcrumb>, <TextNode: '</li>\n'>]>], 'content': [<Block Node: content. Contents: [<TextNode: ' '>]>], 'schema': [<Block Node: schema. Contents: [<TextNode: '\n\n '>]>]})> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'keys': dict_keys(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W']), 'dict': {'A': [{'app_id': 12012, 'app_name': 'Asme testing standard', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12035, 'app_name': 'Aws testing standard', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12009, 'app_name': 'Aerospace', 'app_segment': 'instrumart', 'app_slug': 'aerospace', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_… <trimmed 293840 bytes string> |
push | <Block Node: content. Contents: [<TextNode: '\n\n\n<div class="mainconten'>, <Variable Node: breadcrumb>, <TextNode: '</h1>\n\n </div>'>, <ForNode: for k in keys, tail_len: 5>, <TextNode: '\n </div>\n '>, <ForNode: for a, b in dict.items, tail_len: 11>, <TextNode: '\n \n\n'>, <django.template.defaulttags.CommentNode object at 0x7fbfdf343550>, <TextNode: '\n\n <div class='>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '\n </di'>, <Variable Node: leadformdata|showLeadFormblock_bottom:csrf_token|safe>, <TextNode: '\n </div>\n\n </di'>]> |
self | <Block Node: content. Contents: [<TextNode: ' '>]> |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/template/base.py
, line 1005, 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}, {}, {}, {'keys': dict_keys(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W']), 'dict': {'A': [{'app_id': 12012, 'app_name': 'Asme testing standard', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12035, 'app_name': 'Aws testing standard', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12009, 'app_name': 'Aerospace', 'app_segment': 'instrumart', 'app_slug': 'aerospace', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_… <trimmed 293840 bytes string> |
self | [<TextNode: '\n\n\n<div class="mainconten'>, <Variable Node: breadcrumb>, <TextNode: '</h1>\n\n </div>'>, <ForNode: for k in keys, tail_len: 5>, <TextNode: '\n </div>\n '>, <ForNode: for a, b in dict.items, tail_len: 11>, <TextNode: '\n \n\n'>, <django.template.defaulttags.CommentNode object at 0x7fbfdf343550>, <TextNode: '\n\n <div class='>, <IfNode>, <TextNode: '\n </di'>, <IfNode>, <TextNode: '\n </di'>, <Variable Node: leadformdata|showLeadFormblock_bottom:csrf_token|safe>, <TextNode: '\n </div>\n\n </di'>] |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/template/base.py
, line 1005, 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 0x7fbfdf340820> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'keys': dict_keys(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W']), 'dict': {'A': [{'app_id': 12012, 'app_name': 'Asme testing standard', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12035, 'app_name': 'Aws testing standard', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12009, 'app_name': 'Aerospace', 'app_segment': 'instrumart', 'app_slug': 'aerospace', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_… <trimmed 293840 bytes string> |
node | <Variable Node: leadformdata|showLeadFormblock_bottom:csrf_token|safe> |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/template/base.py
, line 966, 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}, {}, {}, {'keys': dict_keys(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W']), 'dict': {'A': [{'app_id': 12012, 'app_name': 'Asme testing standard', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12035, 'app_name': 'Aws testing standard', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12009, 'app_name': 'Aerospace', 'app_segment': 'instrumart', 'app_slug': 'aerospace', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_… <trimmed 293840 bytes string> |
self | <Variable Node: leadformdata|showLeadFormblock_bottom:csrf_token|safe> |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/template/base.py
, line 1064, in render
self.filter_expression = filter_expression
def __repr__(self):
return "<Variable Node: %s>" % self.filter_expression
def render(self, context):
try:
output = self.filter_expression.resolve(context)…
except UnicodeDecodeError:
# Unicode conversion can fail sometimes for reasons out of our
# control (e.g. exception rendering). In that case, we fail
# quietly.
return ""
return render_value_in_context(output, context)
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'keys': dict_keys(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W']), 'dict': {'A': [{'app_id': 12012, 'app_name': 'Asme testing standard', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12035, 'app_name': 'Aws testing standard', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12009, 'app_name': 'Aerospace', 'app_segment': 'instrumart', 'app_slug': 'aerospace', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_… <trimmed 293840 bytes string> |
self | <Variable Node: leadformdata|showLeadFormblock_bottom:csrf_token|safe> |
/var/www/virtualenv/djangoenv/lib/python3.10/site-packages/django/template/base.py
, line 742, in resolve
else:
arg_vals.append(arg.resolve(context))
if getattr(func, "expects_localtime", False):
obj = template_localtime(obj, context.use_tz)
if getattr(func, "needs_autoescape", False):
new_obj = func(obj, autoescape=context.autoescape, *arg_vals)
else:
new_obj = func(obj, *arg_vals)…
if getattr(func, "is_safe", False) and isinstance(obj, SafeData):
obj = mark_safe(new_obj)
else:
obj = new_obj
return obj
Variable | Value |
---|---|
arg | <Variable: 'csrf_token'> |
arg_vals | [<SimpleLazyObject: 'bNGhvyuyDaeZOVKaoh7YStvTLPJKJqdu7fYGq5vBHAOIHYMJzasSE3HUToQrKItS'>] |
args | [(True, <Variable: 'csrf_token'>)] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'keys': dict_keys(['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'K', 'L', 'M', 'N', 'O', 'P', 'R', 'S', 'T', 'U', 'V', 'W']), 'dict': {'A': [{'app_id': 12012, 'app_name': 'Asme testing standard', 'app_segment': 'instrumart', 'app_slug': 'asme-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12035, 'app_name': 'Aws testing standard', 'app_segment': 'instrumart', 'app_slug': 'aws-testing-standard', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_az': '', 'app_custom_content2_az': '', 'app_custom_content3_az': '', 'app_future_1_az': '', 'app_future_2_az': '', 'app_name_ar': '', 'app_slug_ar': '', 'app_description_ar': '', 'app_custom_content1_ar': '', 'app_custom_content2_ar': '', 'app_custom_content3_ar': '', 'app_future_1_ar': '', 'app_future_2_ar': '', 'app_name_es': '', 'app_slug_es': '', 'app_description_es': '', 'app_custom_content1_es': '', 'app_custom_content2_es': '', 'app_custom_content3_es': '', 'app_future_1_es': '', 'app_future_2_es': '', 'app_name_fr': '', 'app_slug_fr': '', 'app_description_fr': '', 'app_custom_content1_fr': '', 'app_custom_content2_fr': '', 'app_custom_content3_fr': '', 'app_future_1_fr': '', 'app_future_2_fr': ''}, {'app_id': 12009, 'app_name': 'Aerospace', 'app_segment': 'instrumart', 'app_slug': 'aerospace', 'app_external_links1': '', 'app_external_links2': '', 'app_external_links3': '', 'app_description': '', 'app_custom_content1': '', 'app_custom_content2': '', 'app_custom_content3': '', 'app_future_1': '', 'app_future_2': '', 'app_name_ru': '', 'app_slug_ru': '', 'app_description_ru': '', 'app_custom_content1_ru': '', 'app_custom_content2_ru': '', 'app_custom_content3_ru': '', 'app_future_1_ru': '', 'app_future_2_ru': '', 'app_name_kz': '', 'app_slug_kz': '', 'app_description_kz': '', 'app_custom_content1_kz': '', 'app_custom_content2_kz': '', 'app_custom_content3_kz': '', 'app_future_1_kz': '', 'app_future_2_kz': '', 'app_name_az': '', 'app_slug_az': '', 'app_description_az': '', 'app_custom_content1_… <trimmed 293840 bytes string> |
func | <function showLeadFormblock_bottom at 0x7fbfdf2851b0> |
ignore_failures | False |
lookup | True |
obj | '' |
self | <FilterExpression 'leadformdata|showLeadFormblock_bottom:csrf_token|safe'> |
string_if_invalid | '' |
/var/www/medinstrumentsfinder/frontend/templatetags/templatefunctions.py
, line 219, in showLeadFormblock_bottom
#'recaptcha_site_key' : RECAPTCHA_SITE_KEY,
})
@register.filter()
def showLeadFormblock_bottom(leadformdata,csrf_token):
# data_list = data.split(",")
return render_to_string("subtemplates/leadform.html", {
'country': leadformdata[0],…
'csrf_token':csrf_token,
'path':leadformdata[1],
'bottom':'y'##this vairable to to create different ARIA for SEO score
#'recaptcha_site_key' : GOOGLE_RECAPTCHA_SITE_KEY,
})
Variable | Value |
---|---|
csrf_token | <SimpleLazyObject: 'bNGhvyuyDaeZOVKaoh7YStvTLPJKJqdu7fYGq5vBHAOIHYMJzasSE3HUToQrKItS'> |
leadformdata | '' |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTEXT_DOCUMENT_ROOT | '/var/www/html' |
CONTEXT_PREFIX | '' |
CSRF_COOKIE | '6Csz5HbdeAKT3dcJl3v4WKmbiJhRbsqy' |
CSRF_COOKIE_NEEDS_UPDATE | True |
DOCUMENT_ROOT | '/var/www/html' |
GATEWAY_INTERFACE | 'CGI/1.1' |
H2PUSH | 'off' |
H2_PUSH | 'off' |
H2_PUSHED | '' |
H2_PUSHED_ON | '' |
H2_STREAM_ID | '3' |
H2_STREAM_TAG | '3428486-718-3' |
HTTP2 | 'on' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'instrumentsfinder.com' |
HTTP_REFERER | 'https://med.instrumentsfinder.com/en/applications' |
HTTP_USER_AGENT | 'claudebot' |
PATH_INFO | '/en/applications' |
PATH_TRANSLATED | '/var/www/medinstrumentsfinder/instrumentsfinder/wsgi.py/en/applications' |
QUERY_STRING | '' |
REMOTE_ADDR | '3.230.128.106' |
REMOTE_PORT | '47704' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '//en/applications' |
SCRIPT_FILENAME | '/var/www/medinstrumentsfinder/instrumentsfinder/wsgi.py' |
SCRIPT_NAME | '' |
SCRIPT_URI | 'https://instrumentsfinder.com/en/applications' |
SCRIPT_URL | '/en/applications' |
SERVER_ADDR | '172.31.26.234' |
SERVER_ADMIN | '[no address given]' |
SERVER_NAME | 'instrumentsfinder.com' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/2.0' |
SERVER_SIGNATURE | '********************' |
SERVER_SOFTWARE | 'Apache/2.4.52 (Ubuntu)' |
SSL_TLS_SNI | 'instrumentsfinder.com' |
apache.version | (2, 4, 52) |
mod_wsgi.application_group | '' |
mod_wsgi.callable_object | 'application' |
mod_wsgi.daemon_connects | '1' |
mod_wsgi.daemon_restarts | '0' |
mod_wsgi.daemon_start | '1710817802374607' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
mod_wsgi.ignore_activity | '0' |
mod_wsgi.listener_host | '' |
mod_wsgi.listener_port | '443' |
mod_wsgi.path_info | '/en/applications' |
mod_wsgi.process_group | 'instruhttps' |
mod_wsgi.queue_start | '1710817802374507' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.request_id | 'kMxiz1rFP8o' |
mod_wsgi.request_start | '1710817802374288' |
mod_wsgi.script_name | '' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.script_start | '1710817802374737' |
mod_wsgi.thread_id | 1 |
mod_wsgi.thread_requests | 5 |
mod_wsgi.total_requests | 12 |
mod_wsgi.version | (4, 9, 0) |
wsgi.errors | <_io.TextIOWrapper name='<wsgi.errors>' encoding='utf-8'> |
wsgi.file_wrapper | <class 'mod_wsgi.FileWrapper'> |
wsgi.input | <mod_wsgi.Input object at 0x7fc005d41e60> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
instrumentsfinder.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['127.0.0.1', '0.0.0.0', 'localhost', 'instrumentsfinder.com', '.instrumentsfinder.com', '3.6.248.197'] |
APPEND_SLASH | False |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'core.User' |
BASE_DIR | PosixPath('/var/www/medinstrumentsfinder') |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CKEDITOR_CONFIGS | {'comment': {'extraPlugins': 'codesnippet,widget,dialog', 'toolbar_Full': [['Styles', 'Format', 'Bold', 'Italic', 'Underline', 'Strike', 'SpellChecker', 'Undo', 'Redo'], ['Link', 'Unlink', 'Anchor'], ['Image', 'Flash', 'Table', 'HorizontalRule'], ['TextColor', 'BGColor'], ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'], ['NumberedList', 'BulletedList'], ['Indent', 'Outdent'], ['Maximize'], ['CodeSnippet']]}, 'default': {'allowedContent': True, 'codeSnippet_theme': 'monokai_sublime', 'extraPlugins': 'codesnippet,widget,dialog', 'toolbar': 'full'}} |
CKEDITOR_UPLOAD_PATH | 'media/uploads/' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_MASKED | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': PosixPath('/var/www/medinstrumentsfinder/database/db.sqlite3'), 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 10240 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_AUTO_FIELD | 'django.db.models.BigAutoField' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.gmail.com' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'instrumentsfinder@gmail.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 |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['admin_interface', 'colorfield', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'django.contrib.sitemaps', 'import_export', 'rest_framework', 'taggit', 'ckeditor', 'core', 'blog', 'api', 'frontend', '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'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('ms', 'Malay'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_HTTPONLY | False |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | None |
LANGUAGE_COOKIE_SECURE | False |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/var/www/medinstrumentsfinder/media/' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PREPEND_WWW | False |
RECAPTCHA_SECRET_KEY | '********************' |
RECAPTCHA_SITE_KEY | '********************' |
REST_FRAMEWORK | {'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.PageNumberPagination'} |
ROOT_URLCONF | 'instrumentsfinder.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 | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SAMESITE | 'Lax' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'instrumentsfinder.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | ['captcha.recaptcha_test_key_error'] |
SITE_ID | 2 |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/var/www/medinstrumentsfinder/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'frontend.context_processors.language', 'frontend.context_processors.title', 'frontend.context_processors.categories', 'frontend.context_processors.menuitems', 'frontend.context_processors.selectedcategory', 'frontend.context_processors.getCountry', 'frontend.context_processors.languageoptions', 'frontend.context_processors.getDomainCountry', 'frontend.context_processors.getRandomDataForSchema', 'frontend.context_processors.getAllCountryDomains']}}] |
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' |
TINYMCE_COMPRESSOR | True |
TINYMCE_DEFAULT_CONFIG | {'custom_undo_redo_levels': 10, 'height': '320px', 'language': 'es_ES', 'menubar': 'file edit view insert format tools table help', 'plugins': 'advlist autolink lists link image charmap print preview anchor ' 'searchreplace visualblocks code fullscreen insertdatetime media ' 'table paste code help wordcount spellchecker', 'toolbar': 'undo redo | bold italic underline strikethrough | fontselect ' 'fontsizeselect formatselect | alignleft aligncenter alignright ' 'alignjustify | outdent indent | numlist bullist checklist | ' 'forecolor backcolor casechange permanentpen formatpainter ' 'removeformat | pagebreak | charmap emoticons | fullscreen ' 'preview save print | insertfile image media pageembed template ' 'link anchor codesample | a11ycheck ltr rtl | showcomments ' 'addcomment code', 'width': '960px'} |
TINYMCE_EXTRA_MEDIA | {'css': {'all': [Ellipsis]}, 'js': [Ellipsis]} |
TINYMCE_JS_URL | 'http://debug.example.org/tiny_mce/tiny_mce_src.js' |
TINYMCE_SPELLCHECKER | True |
USE_DEPRECATED_PYTZ | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'instrumentsfinder.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.