'None'
Request Method: | GET |
---|---|
Request URL: | http://dj1.svr/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/ua566030/ |
Django Version: | 4.1.5 |
Exception Type: | KeyError |
Exception Value: | 'None' |
Exception Location: | /home/python1/business/ads_params.py, line 222, in <lambda> |
Raised during: | business.views.AdsView |
Python Executable: | /home/python1/venv/bin/python |
Python Version: | 3.10.12 |
Python Path: | ['/home/python1', '/usr/lib/python310.zip', '/usr/lib/python3.10', '/usr/lib/python3.10/lib-dynload', '/home/python1/venv/lib/python3.10/site-packages'] |
Server time: | Thu, 28 Mar 2024 19:41:34 +0300 |
In template /home/python1/business/templates/business/view/ad.html
, error at line 88
78 | </div> |
---|---|
79 | |
80 | <a href="{{ js_app_data.menu.0.href }}" class="object-see-other">Смотреть другие предложения</a> |
81 | |
82 | <div class="object-main-info"> |
83 | <div class="object-main-info__head"> |
84 | <h2>{{ group.label }}</h2> |
85 | {% include "business/view/includes/main-info.html" %} |
86 | </div> |
87 | {% with 'number last_change' as cols_exclude %} |
88 | {% get_dict_cols dict=group.get_childs keys_exclude=cols_exclude.split as cols %} |
89 | <div class="object-main-info__cols"> |
90 | <div class="object-main-info__col"> |
91 | {% for k, param in cols.1.items %} |
92 | {% main_info_item param=param %} |
93 | {% endfor %} |
94 | </div> |
95 | <div class="object-main-info__col"> |
96 | {% for k, param in cols.2.items %} |
97 | {% main_info_item param=param %} |
98 | {% endfor %} |
/home/python1/venv/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 | KeyError('None') |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f7d5804d360>> |
request | <WSGIRequest: GET '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/ua566030/'> |
/home/python1/venv/lib/python3.10/site-packages/django/core/handlers/base.py
, line 220, in _get_response
self.check_response(
response,
middleware_method,
name="%s.process_template_response"
% (middleware_method.__self__.__class__.__name__,),
)
try:
response = response.render()…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
return response
Variable | Value |
---|---|
callback | <function View.as_view.<locals>.view at 0x7f7d535e2b00> |
callback_args | () |
callback_kwargs | {'geo_0': 'ua', 'geo_1': 'xarkovskaya-oblast', 'geo_2': 'kharkiv', 'slug': 'ua566030'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <CsrfViewMiddleware get_response=convert_exception_to_response.<locals>.inner>> |
request | <WSGIRequest: GET '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/ua566030/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f7d5804d360> |
wrapped_callback | <function View.as_view.<locals>.view at 0x7f7d535e2b00> |
/home/python1/venv/lib/python3.10/site-packages/django/template/response.py
, line 114, in render
If the content has already been rendered, this is a no-op.
Return the baked response instance.
"""
retval = self
if not self._is_rendered:
self.content = self.rendered_content…
for post_callback in self._post_render_callbacks:
newretval = post_callback(retval)
if newretval is not None:
retval = newretval
return retval
Variable | Value |
---|---|
retval | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
/home/python1/venv/lib/python3.10/site-packages/django/template/response.py
, line 92, in rendered_content
This *does not* set the final content of the response. To set the
response content, you must either call render(), or set the
content explicitly using the value of this property.
"""
template = self.resolve_template(self.template_name)
context = self.resolve_context(self.context_data)
return template.render(context, self._request)…
def add_post_render_callback(self, callback):
"""Add a new post-rendering callback.
If the response has already been rendered,
invoke the callback immediately.
Variable | Value |
---|---|
context | {'ab_test_key': 'b_11', 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'crumbs_cat': [<business.models.CrumbsService.get.<locals>.Filter object at 0x7f7d52e9bbb0>, <Category: Торговля>, <Category: Транспорт>, <Category: Шины и диски>], 'crumbs_geo': [<Geography: Украина>, <Geography: Харьковская область>, <Geography: Харьков>], 'currency': 980, 'currency_code': 'UAH', 'host': 'business-asset.com', 'images': <QuerySet []>, 'js_app_data': {'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'contacts': {'phone': 'Телефон'}, 'counters': {'sale_objects': '82', 'visitors': '587'}, 'currency_title': '₴ (UAH)', 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'google_metrica_key': 'G-0GJ0PENDR9', 'help_edit_btns': [{'class': 'btn-footer-help', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'title': 'Помощь'}, {'class': 'btn-footer-warn', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'title': 'Пожаловаться'}], 'id': 8140, 'is_user_login': 0, 'main_buttons': [{'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/', 'title': 'Войти', 'title_short': 'Вход'}, {'descr': 'Быстрая продажа без комиссии', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'title': 'Разместить предложение', 'title_short': 'Подать предложение'}], 'map_params': {'color': 'ffff00', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'radius': 6814.4025, 'type': 'city', 'zoom': 11}, 'menu': [{'current': True, 'href': '/ua/prodazha-biznesa/', 'title': 'Действующие бизнесы'}, {'href': 'https://business-asset.com/rus/franchising/', 'title': 'Франшизы'}, {'href': 'https://business-asset.com/ua/prodazha-oborudovania/', 'title': 'Оборудование'}, {'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/', 'title': 'Коммерческая недвижимость'}, {'href': 'https://business-asset.com/ua/gotovaya-firma/', 'title': 'Готовые фирмы'}], 'paid': None, 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', … <trimmed 16287 bytes string> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | <django.template.backends.django.Template object at 0x7f7d525333d0> |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
request | <WSGIRequest: GET '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/ua566030/'> |
self | <django.template.backends.django.Template object at 0x7f7d525333d0> |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | <Template template_string="{% extends "business..."> |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | <Template template_string="{% extends "business..."> |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | [<ExtendsNode: extends "business/experiments/b_6/list/base.html">] |
/home/python1/venv/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 0x7f7d52532530> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
node | <ExtendsNode: extends "business/experiments/b_6/list/base.html"> |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | <ExtendsNode: extends "business/experiments/b_6/list/base.html"> |
/home/python1/venv/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'>, {'meta': [<Block Node: meta. Contents: []>, <Block Node: meta. Contents: [<TextNode: '\n <title>'>, <Variable Node: title>, <TextNode: '</title> \n '>, StaticNode(varname=None, path=<FilterExpression "'business/images/favicon.ico'">), <TextNode: '" type="image/x-icon" />\n'>]>], 'content': [<Block Node: content. Contents: []>], 'reactapp': [<Block Node: reactapp. Contents: []>, <Block Node: reactapp. Contents: [<TextNode: '\n <script type="module'>, StaticNode(varname=None, path=<FilterExpression "'business/experiments/b_6/react/app.js'">), <TextNode: '"></script>\n'>]>, <Block Node: reactapp. Contents: [<TextNode: '\n <script type="module'>, StaticNode(varname=None, path=<FilterExpression "'business/experiments/b_6/react/appView.js'">), <TextNode: '"></script>\n'>]>], 'popup_containers': [<Block Node: popup_containers. Contents: []>, <Block Node: popup_containers. Contents: [<TextNode: '\n <div class="mobile-m'>]>], 'css': [<Block Node: css. Contents: []>, <Block Node: css. Contents: [<TextNode: '\n <link href="'>, StaticNode(varname=None, path=<FilterExpression "'business/experiments/b_6/css/styles-v3.css'">), <TextNode: '" rel="stylesheet" />\n'>]>], 'reactscripts': [<Block Node: reactscripts. Contents: []>, <Block Node: reactscripts. Contents: [<TextNode: '\n '>, <IfNode>, <TextNode: '\n'>]>]})> |
compiled_parent | <Template template_string="{% extends "business..."> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
node | <ExtendsNode: extends "business/layout.html"> |
self | <ExtendsNode: extends "business/experiments/b_6/list/base.html"> |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | <Template template_string="{% extends "business..."> |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | [<ExtendsNode: extends "business/layout.html">] |
/home/python1/venv/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 0x7f7d52531d50> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
node | <ExtendsNode: extends "business/layout.html"> |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | <ExtendsNode: extends "business/layout.html"> |
/home/python1/venv/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'>, {'meta': [<Block Node: meta. Contents: []>, <Block Node: meta. Contents: [<TextNode: '\n <title>'>, <Variable Node: title>, <TextNode: '</title> \n '>, StaticNode(varname=None, path=<FilterExpression "'business/images/favicon.ico'">), <TextNode: '" type="image/x-icon" />\n'>]>], 'content': [<Block Node: content. Contents: []>], 'reactapp': [<Block Node: reactapp. Contents: []>, <Block Node: reactapp. Contents: [<TextNode: '\n <script type="module'>, StaticNode(varname=None, path=<FilterExpression "'business/experiments/b_6/react/app.js'">), <TextNode: '"></script>\n'>]>, <Block Node: reactapp. Contents: [<TextNode: '\n <script type="module'>, StaticNode(varname=None, path=<FilterExpression "'business/experiments/b_6/react/appView.js'">), <TextNode: '"></script>\n'>]>], 'popup_containers': [<Block Node: popup_containers. Contents: []>, <Block Node: popup_containers. Contents: [<TextNode: '\n <div class="mobile-m'>]>], 'css': [<Block Node: css. Contents: []>, <Block Node: css. Contents: [<TextNode: '\n <link href="'>, StaticNode(varname=None, path=<FilterExpression "'business/experiments/b_6/css/styles-v3.css'">), <TextNode: '" rel="stylesheet" />\n'>]>], 'reactscripts': [<Block Node: reactscripts. Contents: []>, <Block Node: reactscripts. Contents: [<TextNode: '\n '>, <IfNode>, <TextNode: '\n'>]>]})> |
blocks | {'content': <Block Node: content. Contents: []>, 'css': <Block Node: css. Contents: []>, 'meta': <Block Node: meta. Contents: []>, 'popup_containers': <Block Node: popup_containers. Contents: []>, 'reactapp': <Block Node: reactapp. Contents: []>, 'reactscripts': <Block Node: reactscripts. Contents: []>} |
compiled_parent | <Template template_string="{% load static %}<!..."> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
node | <django.template.defaulttags.LoadNode object at 0x7f7d52e83af0> |
self | <ExtendsNode: extends "business/layout.html"> |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | <Template template_string="{% load static %}<!..."> |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | [<django.template.defaulttags.LoadNode object at 0x7f7d52e83af0>, <TextNode: '\n<!DOCTYPE html>\n<html la'>, <Block Node: meta. Contents: []>, <TextNode: '\n '>, <Block Node: css. Contents: []>, <TextNode: '\n</head>\n<body>\n<div clas'>, <IfNode>, <TextNode: '\n \n <div class='>, <Variable Node: js_app_data.menu.0.href>, <TextNode: '">Business Asset</a>\n '>, <Variable Node: js_app_data.menu.0.href>, <TextNode: '">Business Asset</a>\n '>, <Block Node: content. Contents: []>, <TextNode: '\n\n \n\n <footer class'>, StaticNode(varname=None, path=<FilterExpression "'business/images/footer-visual-1a.jpg'">), <TextNode: '" alt="">\n '>, <Variable Node: site_host>, <TextNode: '/rus/high-quality-ads/">\n'>, <Variable Node: js_app_data.ad_add_link>, <TextNode: '" class="footer-visual__t'>, StaticNode(varname=None, path=<FilterExpression "'business/images/footer-visual-2a.jpg'">), <TextNode: '" alt="">\n '>, <Variable Node: site_host>, <TextNode: '/rus/fast-business-sale/"'>, <Variable Node: site_host>, <Variable Node: js_app_data.root_slug>, <TextNode: 'index.php?page=addRequest'>, StaticNode(varname=None, path=<FilterExpression "'business/images/footer-visual-3a.jpg'">), <TextNode: '" alt="">\n '>, <Variable Node: site_host>, <TextNode: '/rus/how-to-choose-expert'>, <ForNode: for popular_citiy in popular_cities, tail_len: 5>, <TextNode: '\n </ul>\n '>, <ForNode: for popular_citiy in popular_categories, tail_len: 5>, <TextNode: '\n </ul>\n '>, <Variable Node: site_host>, <TextNode: '/rus/site-map-all-countri'>, <Variable Node: js_app_data.menu.0.href>, <TextNode: '">Business Asset</a>\n '>, <Variable Node: js_app_data.ad_add_link>, <TextNode: '">Подать предложение</spa'>, <Variable Node: site_host>, <TextNode: '/rus/pricelist/">Тарифы и'>, <Variable Node: site_host>, <Variable Node: js_app_data.root_slug>, <TextNode: 'specialists/">Каталог спе'>, <Variable Node: js_app_data.menu.0.href>, <TextNode: '">Смотреть предложения</s'>, <Variable Node: site_host>, <TextNode: '/rus/wiki-blog/">Блоги</s'>, <Variable Node: site_host>, <Variable Node: js_app_data.root_slug>, <TextNode: 'index.php?page=addBroker"'>, <Variable Node: site_host>, <TextNode: '/rus/benefits-cooperation'>, <Variable Node: site_host>, <Variable Node: js_app_data.root_slug>, <TextNode: 'requests/">Поиск специали'>, <Variable Node: site_host>, <TextNode: '/rus/about/">О компании</'>, <Variable Node: site_host>, <Variable Node: js_app_data.root_slug>, <TextNode: 'site-map/">Карта сайта</a'>, <Variable Node: site_host>, <TextNode: '/rus/contacts/">Контакты<'>, <Variable Node: site_host>, <Variable Node: js_app_data.root_slug>, <TextNode: 'prodazha-nedvizimosti/" c'>, <Variable Node: site_host>, <Variable Node: js_app_data.root_slug>, <TextNode: 'gotovaya-firma/" class="f'>, <Variable Node: site_host>, <Variable Node: js_app_data.root_slug>, <TextNode: 'prodazha-oborudovania/" c'>, <ForNode: for btn in js_app_data.help_edit_btns, tail_len: 7>, <TextNode: '\n </div>\n '>, <django.template.defaulttags.NowNode object at 0x7f7d52e99f90>, <TextNode: ' Bce пpaвa зaщищeны Busin'>, <Variable Node: site_host>, <TextNode: '/rus/terms-conditions/">У'>, <Variable Node: site_host>, <TextNode: '/rus/privacy-policy/">Пoл'>, <Block Node: reactscripts. Contents: []>, <TextNode: '\n'>, <Variable Node: js_app_data|json_script:"app-data">, <TextNode: '\n'>, <Block Node: reactapp. Contents: []>, <TextNode: '\n\n'>, <IncludeNode: template=<FilterExpression '"business/includes/metriks.html"'>>, <TextNode: '\n\n'>, <Block Node: popup_containers. Contents: []>, <TextNode: '\n\n</body>\n</html>'>] |
/home/python1/venv/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 0x7f7d525321a0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
node | <Block Node: content. Contents: []> |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | <Block Node: content. Contents: []> |
/home/python1/venv/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 '>, <WithNode>, <TextNode: ' \n'>]> |
block_context | <BlockContext: blocks=defaultdict(<class 'list'>, {'meta': [<Block Node: meta. Contents: []>, <Block Node: meta. Contents: [<TextNode: '\n <title>'>, <Variable Node: title>, <TextNode: '</title> \n '>, StaticNode(varname=None, path=<FilterExpression "'business/images/favicon.ico'">), <TextNode: '" type="image/x-icon" />\n'>]>], 'content': [<Block Node: content. Contents: []>], 'reactapp': [<Block Node: reactapp. Contents: []>, <Block Node: reactapp. Contents: [<TextNode: '\n <script type="module'>, StaticNode(varname=None, path=<FilterExpression "'business/experiments/b_6/react/app.js'">), <TextNode: '"></script>\n'>]>, <Block Node: reactapp. Contents: [<TextNode: '\n <script type="module'>, StaticNode(varname=None, path=<FilterExpression "'business/experiments/b_6/react/appView.js'">), <TextNode: '"></script>\n'>]>], 'popup_containers': [<Block Node: popup_containers. Contents: []>, <Block Node: popup_containers. Contents: [<TextNode: '\n <div class="mobile-m'>]>], 'css': [<Block Node: css. Contents: []>, <Block Node: css. Contents: [<TextNode: '\n <link href="'>, StaticNode(varname=None, path=<FilterExpression "'business/experiments/b_6/css/styles-v3.css'">), <TextNode: '" rel="stylesheet" />\n'>]>], 'reactscripts': [<Block Node: reactscripts. Contents: []>, <Block Node: reactscripts. Contents: [<TextNode: '\n '>, <IfNode>, <TextNode: '\n'>]>]})> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
push | <Block Node: content. Contents: [<TextNode: ' \n '>, <WithNode>, <TextNode: ' \n'>]> |
self | <Block Node: content. Contents: []> |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | [<TextNode: ' \n '>, <WithNode>, <TextNode: ' \n'>] |
/home/python1/venv/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 0x7f7d525317e0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
node | <WithNode> |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | <WithNode> |
/home/python1/venv/lib/python3.10/site-packages/django/template/defaulttags.py
, line 542, in render
def __repr__(self):
return "<%s>" % self.__class__.__name__
def render(self, context):
values = {key: val.resolve(context) for key, val in self.extra_context.items()}
with context.push(**values):
return self.nodelist.render(context)…
@register.tag
def autoescape(parser, token):
"""
Force autoescape behavior for this block.
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | <WithNode> |
values | {'view_includes_folder': 'business/view/includes/'} |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | [<TextNode: ' \n <main>\n <'>, <IfNode>, <TextNode: ' '>, <IncludeNode: template=<FilterExpression '"business/view/includes/breadcrumbs.html"'>>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n '>, <Variable Node: ad>, <TextNode: '</h1>\n '>, <IfNode>, <TextNode: ' \n '>, <IncludeNode: template=<FilterExpression '"business/view/includes/metabar.html"'>>, <TextNode: ' '>, <WithNode>, <TextNode: '\n\n '>, <WithNode>, <TextNode: '\n\n '>, <WithNode>, <TextNode: ' \n '>, <WithNode>, <TextNode: '\n '>, <WithNode>, <TextNode: '\n '>, <WithNode>, <TextNode: '\n '>, <WithNode>, <TextNode: ' \n '>, <WithNode>, <TextNode: '\n '>, <WithNode>, <TextNode: ' \n '>, <WithNode>, <TextNode: '\n '>, <WithNode>, <TextNode: '\n '>, <WithNode>, <TextNode: '\n '>, <WithNode>, <TextNode: '\n '>, <WithNode>, <TextNode: '\n '>, <WithNode>, <TextNode: ' \n '>, <WithNode>, <TextNode: '\n '>, <WithNode>, <TextNode: '\n '>, <WithNode>, <TextNode: ' '>, <django.template.defaulttags.CommentNode object at 0x7f7d52e80100>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n </div>\n '>] |
/home/python1/venv/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 0x7f7d52532980> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
node | <WithNode> |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | <WithNode> |
/home/python1/venv/lib/python3.10/site-packages/django/template/defaulttags.py
, line 542, in render
def __repr__(self):
return "<%s>" % self.__class__.__name__
def render(self, context):
values = {key: val.resolve(context) for key, val in self.extra_context.items()}
with context.push(**values):
return self.nodelist.render(context)…
@register.tag
def autoescape(parser, token):
"""
Force autoescape behavior for this block.
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | <WithNode> |
values | {'group': <business.ads_params.Param object at 0x7f7d525306d0>} |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | [<TextNode: '\n '>, <IfNode>, <TextNode: '\n '>] |
/home/python1/venv/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 0x7f7d525313c0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
node | <IfNode> |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | <IfNode> |
/home/python1/venv/lib/python3.10/site-packages/django/template/defaulttags.py
, line 322, in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)…
return ""
class LoremNode(Node):
def __init__(self, count, method, common):
Variable | Value |
---|---|
condition | (literal <FilterExpression 'group'>) |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
match | <business.ads_params.Param object at 0x7f7d525306d0> |
nodelist | [<TextNode: ' \n '>, <ForNode: for image in images, tail_len: 3>, <TextNode: '\n '>, <ForNode: for image in images, tail_len: 3>, <TextNode: '\n '>, <django.template.defaulttags.CommentNode object at 0x7f7d52e36800>, <TextNode: '\n '>, <Variable Node: ad>, <TextNode: '</h1>\n '>, <IncludeNode: template=<FilterExpression '"business/view/includes/metabar.html"'>>, <TextNode: '\n '>, <IncludeNode: template=<FilterExpression '"business/view/includes/main-info.html"'>>, <TextNode: '\n '>, <Variable Node: js_app_data.menu.0.href>, <TextNode: '" class="object-see-other'>, <Variable Node: group.label>, <TextNode: '</h2>\n '>, <IncludeNode: template=<FilterExpression '"business/view/includes/main-info.html"'>>, <TextNode: '\n '>, <WithNode>, <TextNode: '\n '>] |
self | <IfNode> |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | [<TextNode: ' \n '>, <ForNode: for image in images, tail_len: 3>, <TextNode: '\n '>, <ForNode: for image in images, tail_len: 3>, <TextNode: '\n '>, <django.template.defaulttags.CommentNode object at 0x7f7d52e36800>, <TextNode: '\n '>, <Variable Node: ad>, <TextNode: '</h1>\n '>, <IncludeNode: template=<FilterExpression '"business/view/includes/metabar.html"'>>, <TextNode: '\n '>, <IncludeNode: template=<FilterExpression '"business/view/includes/main-info.html"'>>, <TextNode: '\n '>, <Variable Node: js_app_data.menu.0.href>, <TextNode: '" class="object-see-other'>, <Variable Node: group.label>, <TextNode: '</h2>\n '>, <IncludeNode: template=<FilterExpression '"business/view/includes/main-info.html"'>>, <TextNode: '\n '>, <WithNode>, <TextNode: '\n '>] |
/home/python1/venv/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 0x7f7d52533670> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
node | <WithNode> |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | <WithNode> |
/home/python1/venv/lib/python3.10/site-packages/django/template/defaulttags.py
, line 542, in render
def __repr__(self):
return "<%s>" % self.__class__.__name__
def render(self, context):
values = {key: val.resolve(context) for key, val in self.extra_context.items()}
with context.push(**values):
return self.nodelist.render(context)…
@register.tag
def autoescape(parser, token):
"""
Force autoescape behavior for this block.
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | <WithNode> |
values | {'cols_exclude': 'number last_change'} |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | [<TextNode: '\n '>, <django.template.library.SimpleNode object at 0x7f7d52e36e30>, <TextNode: '\n '>, <ForNode: for k, param in cols.1.items, tail_len: 3>, <TextNode: ' \n '>, <ForNode: for k, param in cols.2.items, tail_len: 3>, <TextNode: ' \n '>] |
/home/python1/venv/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 0x7f7d52532260> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
node | <django.template.library.SimpleNode object at 0x7f7d52e36e30> |
/home/python1/venv/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}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
self | <django.template.library.SimpleNode object at 0x7f7d52e36e30> |
/home/python1/venv/lib/python3.10/site-packages/django/template/library.py
, line 237, in render
def __init__(self, func, takes_context, args, kwargs, target_var):
super().__init__(func, takes_context, args, kwargs)
self.target_var = target_var
def render(self, context):
resolved_args, resolved_kwargs = self.get_resolved_arguments(context)
output = self.func(*resolved_args, **resolved_kwargs)…
if self.target_var is not None:
context[self.target_var] = output
return ""
if context.autoescape:
output = conditional_escape(output)
return output
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'object': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'ad': <Ad: Интернет - магазин шин, дисков и аккумуляторов>, 'view': <business.views.AdsView object at 0x7f7d525c4640>, 'currency': 980, 'js_app_data': {'currency_title': '₴ (UAH)', 'root_slug': '/ua/', 'menu': [{'title': 'Действующие бизнесы', 'href': '/ua/prodazha-biznesa/', 'current': True}, {'title': 'Франшизы', 'href': 'https://business-asset.com/rus/franchising/'}, {'title': 'Оборудование', 'href': 'https://business-asset.com/ua/prodazha-oborudovania/'}, {'title': 'Коммерческая недвижимость', 'href': 'https://business-asset.com/ua/prodazha-nedvizimosti/'}, {'title': 'Готовые фирмы', 'href': 'https://business-asset.com/ua/gotovaya-firma/'}], 'is_user_login': 0, 'counters': {'visitors': '587', 'sale_objects': '82'}, 'main_buttons': [{'title': 'Войти', 'title_short': 'Вход', 'href': '/ua/enter/?redirectAfterEnter=/ua/prodazha-biznesa/'}, {'title': 'Разместить предложение', 'title_short': 'Подать предложение', 'href': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'descr': 'Быстрая продажа без комиссии'}], 'help_edit_btns': [{'title': 'Помощь', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=faq', 'class': 'btn-footer-help'}, {'title': 'Пожаловаться', 'href': 'https://business-asset.com/rus/contacts/?clicktoid=recommendations', 'class': 'btn-footer-warn'}], 'ad_add_link': 'https://business-asset.com/ua/index.php?page=salebiz&newAdButtonPush=1&saleType=sale', 'yandex_metrica_key': 23607178, 'google_metrica_key': 'G-0GJ0PENDR9', 'phone_codes': ['+1', '+7', '+47', '+57', '+55', '+84', '+91', '+66', '+54', '+41', '+43', '+62', '+36', '+44', '+52', '+45', '+81', '+92', '+21', '+93', '+82', '+58', '+53', '+40', '+95', '+98', '+90', '+86', '+64', '+30', '+51', '+20', '+48', '+27', '+32', '+65', '+31', '+94', '+63', '+39', '+56', '+33', '+60', '+34', '+61', '+46', '+49', '+595', '+681', '+673', '+852', '+291', '+971', '+598', '+676', '+423', '+599', '+269', '+243', '+352', '+376', '+241', '+850', '+683', '+353', '+380', '+252', '+240', '+229', '+502', '+248', '+965', '+257', '+244', '+973', '+357', '+685', '+421', '+242', '+594', '+996', '+674', '+593', '+211', '+222', '+255', '+966', '+374', '+592', '+355', '+597', '+236', '+212', '+260', '+264', '+235', '+262', '+249', '+998', '+373', '+372', '+688', '+228', '+995', '+670', '+420', '+251', '+591', '+972', '+994', '+506', '+963', '+975', '+258', '+501', '+263', '+268', '+223', '+238', '+237', '+671', '+508', '+968', '+680', '+855', '+509', '+689', '+678', '+256', '+226', '+682', '+253', '+691', '+880', '+354', '+675', '+677', '+266', '+359', '+382', '+960', '+350', '+967', '+298', '+245', '+227', '+299', '+672', '+389', '+690', '+230', '+962', '+261', '+234', '+687', '+596', '+507', '+500', '+974', '+377', '+371', '+993', '+686', '+992', '+386', '+267', '+387', '+224', '+232', '+254', '+886', '+375', '+504', '+856', '+239', '+964', '+692', '+381', '+231', '+356', '+358', '+220', '+961', '+250', '+679', '+976', '+265', '+385', '+503', '+221', '+225', '+590', '+297', '+370', '+684', '+505', '+233', '+351', '+977', '+853', '+1-787', '+1-345', '+1-307', '+1-284', '+1-441', '+1-473', '+1-246', '+1-758', '+1-784', '+1-767', '+1-721', '+1-869', '+1-876', '+1-340', '+1-809', '+1-664', '+1-868', '+1-649', '+1-264', '+1-242', '+1-268', '+358-18'], 'stat_id': False, 'contacts': {'phone': 'Телефон'}, 'id': 8140, 'paid': None, 'google_map_key': 'AIzaSyCLqCgG_UyapjAaFbLkcGhpNOyMIbzbT4s', 'map_params': {'type': 'city', 'latitude': '49.97705', 'longitude': '36.29747700000007', 'zoom': 11, 'radius': 6814.4025, 'color': 'ffff00'}}, 'site_host': 'https://business-asset.com', 'popular_cities': [{'title': 'Киев', 'link': '/ua/kiev/kiev/prodazha-biznesa/'}, {'title': 'Харьков', 'link': '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/'}, {'title': 'Днепропетровск', 'link': '/ua/dnepropetrovskaya-oblast/dnipropetrovsk/prodazha-biznesa/'}, {'title': 'Одесса', 'link': '/ua/odesskaya-oblast/odessa/prodazha-biznesa/'}, {'title': 'Льв… <trimmed 6634 bytes string> |
resolved_args | [] |
resolved_kwargs | {'dict': {'activity': <business.ads_params.Dict object at 0x7f7d525335b0>, 'age': <business.ads_params.Param object at 0x7f7d52532da0>, 'cash_flow': <business.ads_params.Param object at 0x7f7d525312a0>, 'last_change': <business.ads_params.Param object at 0x7f7d52531de0>, 'number': <business.ads_params.Param object at 0x7f7d52532f20>, 'payback': <business.ads_params.Param object at 0x7f7d52530f40>, 'realestate_spaces_area': <business.ads_params.Param object at 0x7f7d52531960>, 'revenue': <business.ads_params.Param object at 0x7f7d525320e0>, 'staff_count': <business.ads_params.Param object at 0x7f7d52530d60>, 'transaction_commission': <business.ads_params.Param object at 0x7f7d52531390>, 'type': <business.ads_params.Dict object at 0x7f7d525311b0>, 'user_role': <business.ads_params.Dict object at 0x7f7d525315a0>}, 'keys_exclude': ['number', 'last_change']} |
self | <django.template.library.SimpleNode object at 0x7f7d52e36e30> |
/home/python1/business/templatetags/view_params_tags.py
, line 74, in get_dict_cols
keys = dict.keys()
cols = {}
for col in range(1, cols_cnt + 1):
cols[str(col)] = {}
index = 1
for v in keys:
if (keys_exclude and v in keys_exclude) or not dict[v]:…
continue
if index > cols_cnt:
index = 1
cols[str(index)][v] = dict[v]
index += 1
Variable | Value |
---|---|
col | 2 |
cols | {'1': {'age': <business.ads_params.Param object at 0x7f7d52532da0>, 'type': <business.ads_params.Dict object at 0x7f7d525311b0>}, '2': {'activity': <business.ads_params.Dict object at 0x7f7d525335b0>, 'user_role': <business.ads_params.Dict object at 0x7f7d525315a0>}} |
cols_cnt | 2 |
dict | {'activity': <business.ads_params.Dict object at 0x7f7d525335b0>, 'age': <business.ads_params.Param object at 0x7f7d52532da0>, 'cash_flow': <business.ads_params.Param object at 0x7f7d525312a0>, 'last_change': <business.ads_params.Param object at 0x7f7d52531de0>, 'number': <business.ads_params.Param object at 0x7f7d52532f20>, 'payback': <business.ads_params.Param object at 0x7f7d52530f40>, 'realestate_spaces_area': <business.ads_params.Param object at 0x7f7d52531960>, 'revenue': <business.ads_params.Param object at 0x7f7d525320e0>, 'staff_count': <business.ads_params.Param object at 0x7f7d52530d60>, 'transaction_commission': <business.ads_params.Param object at 0x7f7d52531390>, 'type': <business.ads_params.Dict object at 0x7f7d525311b0>, 'user_role': <business.ads_params.Dict object at 0x7f7d525315a0>} |
index | 3 |
keys | dict_keys(['number', 'last_change', 'type', 'activity', 'revenue', 'cash_flow', 'payback', 'realestate_spaces_area', 'age', 'staff_count', 'user_role', 'transaction_commission']) |
keys_exclude | ['number', 'last_change'] |
v | 'transaction_commission' |
/home/python1/business/ads_params.py
, line 44, in __bool__
if len(self.__subparams):
result = False
for subparam in self.__subparams:
if self.__subparams[subparam]:
result = True
break
return result
return bool(self.get_value())…
def add(self, param):
self.__subparams[param.name] = param
return self
def get_value(self):
Variable | Value |
---|---|
self | <business.ads_params.Param object at 0x7f7d52531390> |
/home/python1/business/ads_params.py
, line 73, in get_value
self._value = False if self._hide_hidden else self._hidden_text
if self._value and self._value != self._hidden_text:
if self._is_money:
self._value = format_fin_par(self._value, __class__._model.currency, self.__currency.id,
getattr(__class__._model, self._name + '_span', False)
or getattr(__class__._model.details, self._name + '_span', False))
if self._output_filter:
self._value = self._output_filter(self._value)…
return self._value
def set_value(self):
return self._value
def get_childs(self):
Variable | Value |
---|---|
__class__ | <class 'business.ads_params.Param'> |
range | False |
self | <business.ads_params.Param object at 0x7f7d52531390> |
/home/python1/business/ads_params.py
, line 222, in <lambda>
city = geo_ancestors.get(type=2)
sublocality = geo_ancestors.filter(type=3)
transaction_dates = { '1': 'Cрочно', '2': 'Сделка возможна с', '3': 'Сделка возможна до' }
transaction_commission = Param('transaction_commission', label='Размер комиссии',\
output_filter=lambda v: str(v) + '% '\
+ transaction_commission_kinds[str(self.__model.details.transaction_commission_kind)])…
corporate_matters = {
'1': 'Раздел имущества (развод супругов, разногласия среди учредителей)',
'2': 'Продажа непрофильных активов (реорганизация)',
'3': 'Продажа залогового имущества',
'4': 'Здоровье (старость, усталость, болезнь, выход на пенсию)',
Variable | Value |
---|---|
self | <business.ads_params.ParamsStructure object at 0x7f7d5811b1f0> |
transaction_commission_kinds | {'1': 'c продавца', '2': 'c покупателя'} |
v | 5 |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTEXT_DOCUMENT_ROOT | '/var/www/html' |
CONTEXT_PREFIX | '' |
DOCUMENT_ROOT | '/var/www/html' |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'dj1.svr' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '34.228.168.200' |
HTTP_X_FORWARDED_HOST | 'business-asset.com' |
HTTP_X_FORWARDED_SERVER | 'business-asset.com' |
PATH_INFO | '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/ua566030/' |
PATH_TRANSLATED | '/home/python1/equip/wsgi.py/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/ua566030/' |
QS_AllConn | '54' |
QS_ConnectionId | '1711644094083541422525436' |
QS_SrvConn | '54' |
QUERY_STRING | '' |
REMOTE_ADDR | '127.0.0.1' |
REMOTE_PORT | '50798' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'http' |
REQUEST_URI | '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/ua566030/' |
SCRIPT_FILENAME | '/home/python1/equip/wsgi.py' |
SCRIPT_NAME | '' |
SERVER_ADDR | '127.0.0.1' |
SERVER_ADMIN | '[no address given]' |
SERVER_NAME | 'dj1.svr' |
SERVER_PORT | '80' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SIGNATURE | '********************' |
SERVER_SOFTWARE | 'Apache/2.4.52 (Ubuntu)' |
apache.version | (2, 4, 52) |
mod_wsgi.application_group | 'dj1.svr|' |
mod_wsgi.callable_object | 'application' |
mod_wsgi.daemon_connects | '1' |
mod_wsgi.daemon_restarts | '0' |
mod_wsgi.daemon_start | '1711644094083672' |
mod_wsgi.enable_sendfile | '0' |
mod_wsgi.handler_script | '' |
mod_wsgi.ignore_activity | '0' |
mod_wsgi.listener_host | '' |
mod_wsgi.listener_port | '80' |
mod_wsgi.path_info | '/ua/xarkovskaya-oblast/kharkiv/prodazha-biznesa/ua566030/' |
mod_wsgi.process_group | 'dj1.svr' |
mod_wsgi.queue_start | '1711644094083635' |
mod_wsgi.request_handler | 'wsgi-script' |
mod_wsgi.request_id | '1bE1MuOsnUU' |
mod_wsgi.request_start | '1711644094083541' |
mod_wsgi.script_name | '' |
mod_wsgi.script_reloading | '1' |
mod_wsgi.script_start | '1711644094083764' |
mod_wsgi.thread_id | 1 |
mod_wsgi.thread_requests | 246 |
mod_wsgi.total_requests | 633 |
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 0x7f7d5212f750> |
wsgi.input_terminated | True |
wsgi.multiprocess | False |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
equip.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['dj.svr', 'dj1.svr', 'dj2.svr', 'dj3.svr', 'dj4.svr', 'dj5.svr', '5.9.79.28', 'dj-dev.svr', 'business-asset.com'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | PosixPath('/home/python1') |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CONFIG | {'DB': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql', 'HOST': 'localhost', 'NAME': 'equip', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'usr'}, 'EQUIP_GENERAL': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '136.243.22.87', 'NAME': 'equip', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '64918', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'equip'}, 'EXPERIMENT': {'ADS_LIST_TEMPLATE': 'business/list/ads_list.html', 'ADS_TEMPLATE': 'business/ads.html', 'key': '********************'}, 'GMAPKEY': '********************', 'METRICS': {'google_key': '********************', 'yandex_key': '********************'}, 'MYSQL': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '5.9.79.28', 'NAME': 'public', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'root'}} |
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 | {'EQUIP_GENERAL': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '136.243.22.87', 'NAME': 'equip', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '64918', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'equip'}, 'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql', 'HOST': 'localhost', 'NAME': 'equip', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'usr'}, 'mysql': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_HEALTH_CHECKS': False, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '5.9.79.28', 'NAME': 'public', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'root'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_AUTO_FIELD | 'django.db.models.BigAutoField' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'localhost' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | '' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'mptt', 'equip', 'django_mptt_admin', 'lists', 'lists_and_models', 'catsimp', 'business', 'jquery', 'sorl.thumbnail', 'rest_framework', 'django.contrib.postgres'] |
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 | 'ru-ru' |
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/public/upload/salebiz/' |
MEDIA_URL | '/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'equip.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 | 'equip.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/home/python1/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'Europe/Moscow' |
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 | 'equip.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.