Reverse for 'catalog_list' with arguments '()' and keyword arguments '{u'pk': ''}' not found. 2 pattern(s) tried: ['catalog-list/(?P<slug>[-\\w]+)/$', 'catalog-list/(?P<pk>\\d+)/$']
Request Method: | GET |
---|---|
Request URL: | https://salon-radiance.ru/product/lipid-replenishing-nourish-cream/ |
Django Version: | 1.6.2 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'catalog_list' with arguments '()' and keyword arguments '{u'pk': ''}' not found. 2 pattern(s) tried: ['catalog-list/(?P<slug>[-\\w]+)/$', 'catalog-list/(?P<pk>\\d+)/$'] |
Exception Location: | /home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/core/urlresolvers.py in _reverse_with_prefix, line 429 |
Python Executable: | /home/pyster/envs/env_radiance/bin/python2 |
Python Version: | 2.7.17 |
Python Path: | ['/home/pyster/sites/radiance_dev/radiance/salon-radiance.ru', '/home/pyster/envs/env_radiance/bin', '/home/pyster/envs/env_radiance/lib/python2.7', '/home/pyster/envs/env_radiance/lib/python2.7/plat-x86_64-linux-gnu', '/home/pyster/envs/env_radiance/lib/python2.7/lib-tk', '/home/pyster/envs/env_radiance/lib/python2.7/lib-old', '/home/pyster/envs/env_radiance/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages', '/home/pyster/envs/env_radiance/lib/python2.7/site-packages'] |
Server time: | Thu, 28 Mar 2024 18:13:05 +0000 |
In template /home/pyster/sites/radiance_dev/radiance/salon-radiance.ru/templates/radience/product_detail.html
, error at line 10
1 | {% extends 'col-2.html' %} |
---|---|
2 | {% load staticfiles %} |
3 | {% load staticfiles radtags thumbnail %} |
4 | |
5 | |
6 | {% block breadcrumbs %} |
7 | <ul class="breadcrumb"> |
8 | <li><a href="/">Главная</a></li> |
9 | {% with catalog=object.get_catalog %} |
10 | <li><a href="{% if catalog.slug %}{% url 'catalog_list' slug=catalog.slug %}{% else %}{% url 'catalog_list' pk=catalog.pk %}{% endif %}">{{ catalog.name }}</a></li> |
11 | {% endwith %} |
12 | <li><a href="{% if object.subgroup.catalog.slug %}{% url 'product_list' slug=object.subgroup.catalog.slug %}{% else %}{% url 'product_list' pk=object.subgroup.catalog.pk %}{% endif %}">{{ object.subgroup.catalog.name }}</a></li> |
13 | <li>{{ object.name }}</li> |
14 | </ul> |
15 | {% endblock %} |
16 | |
17 | {% block title %}{{ object.meta_title }} - купить косметику на сайте Radiance{% endblock %} |
18 | {% block meta_description %}{% if object.meta_description %}{{ object.meta_description.strip }}{% else %}{{ object.meta_title.strip }}. Большой выбор профессиональной косметики на сайте Radiance.{% endif %}{% endblock %} |
19 | |
20 | {% block selected_section %} |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
raise ValueError("The view %s.%s didn't return an HttpResponse object." % (callback.__module__, view_name))
# If the response supports deferred rendering, apply template
# response middleware and then render the response
if hasattr(response, 'render') and callable(response.render):
for middleware_method in self._template_response_middleware:
response = middleware_method(request, response)
response = response.render()...
except http.Http404 as e:
logger.warning('Not Found: %s', request.path,
extra={
'status_code': 404,
'request': request
Variable | Value |
---|---|
callback_args | () |
resolver_match | ResolverMatch(func=<function Product at 0x7f48558efdd0>, args=(), kwargs={'slug': u'lipid-replenishing-nourish-cream'}, url_name='product', app_name='None', namespace='') |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f48578a0450>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f48585558d0> |
request | "<WSGIRequest\npath:/product/lipid-replenishing-nourish-cream/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs',\n u'CSRF_COOKIE_USED': True,\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'salon-radiance.ru',\n 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '44.223.31.148',\n 'HTTP_X_FORWARDED_PROTO': 'https',\n 'HTTP_X_REAL_IP': '44.223.31.148',\n 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/',\n 'QUERY_STRING': '',\n 'RAW_URI': '/product/lipid-replenishing-nourish-cream/',\n 'REMOTE_ADDR': '44.223.31.148',\n 'REMOTE_PORT': '80',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'salon-radiance.ru',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.0',\n 'SERVER_SOFTWARE': 'gunicorn/18.0',\n 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>,\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>,\n 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>,\n 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
callback | <function Product at 0x7f48558efdd0> |
wrapped_callback | <function Product at 0x7f48558efdd0> |
resolver | <RegexURLResolver 'salon.urls' (None:None) ^/> |
callback_kwargs | {'slug': u'lipid-replenishing-nourish-cream'} |
response | <django.template.response.TemplateResponse object at 0x7f4854a9e750> |
urlconf | 'salon.urls' |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/response.py
in render
If the content has already been rendered, this is a no-op.
Returns 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 |
---|---|
self | <django.template.response.TemplateResponse object at 0x7f4854a9e750> |
retval | <django.template.response.TemplateResponse object at 0x7f4854a9e750> |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/response.py
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)
content = template.render(context)...
return content
def add_post_render_callback(self, callback):
"""Adds a new post-rendering callback.
If the response has already been rendered,
Variable | Value |
---|---|
self | <django.template.response.TemplateResponse object at 0x7f4854a9e750> |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
template | <django.template.base.Template object at 0x7f4854a9e690> |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/base.py
in render
def _render(self, context):
return self.nodelist.render(context)
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)...
finally:
context.render_context.pop()
def compile_string(template_string, origin):
"Compiles template_string into NodeList ready for rendering"
if settings.TEMPLATE_DEBUG:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f4854a9e690> |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f4854a9e690> |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <ExtendsNode: extends 'col-2.html'> |
self | [<ExtendsNode: extends 'col-2.html'>] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <ExtendsNode: extends 'col-2.html'> |
self | [<ExtendsNode: extends 'col-2.html'>] |
e | NoReverseMatch(u"Reverse for 'catalog_list' with arguments '()' and keyword arguments '{u'pk': ''}' not found. 2 pattern(s) tried: ['catalog-list/(?P<slug>[-\\\\w]+)/$', 'catalog-list/(?P<pk>\\\\d+)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
blocks = dict([(n.name, n) for n in
compiled_parent.nodelist.get_nodes_by_type(BlockNode)])
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
return compiled_parent._render(context)...
class BaseIncludeNode(Node):
def __init__(self, *args, **kwargs):
self.extra_context = kwargs.pop('extra_context', {})
self.isolated_context = kwargs.pop('isolated_context', False)
super(BaseIncludeNode, self).__init__(*args, **kwargs)
Variable | Value |
---|---|
node | <ExtendsNode: extends 'base.html'> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f4854a700d0> |
compiled_parent | <django.template.base.Template object at 0x7f4854a701d0> |
self | <ExtendsNode: extends 'col-2.html'> |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f4854a701d0> |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <ExtendsNode: extends 'base.html'> |
self | [<ExtendsNode: extends 'base.html'>] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <ExtendsNode: extends 'base.html'> |
self | [<ExtendsNode: extends 'base.html'>] |
e | NoReverseMatch(u"Reverse for 'catalog_list' with arguments '()' and keyword arguments '{u'pk': ''}' not found. 2 pattern(s) tried: ['catalog-list/(?P<slug>[-\\\\w]+)/$', 'catalog-list/(?P<pk>\\\\d+)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
blocks = dict([(n.name, n) for n in
compiled_parent.nodelist.get_nodes_by_type(BlockNode)])
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
return compiled_parent._render(context)...
class BaseIncludeNode(Node):
def __init__(self, *args, **kwargs):
self.extra_context = kwargs.pop('extra_context', {})
self.isolated_context = kwargs.pop('isolated_context', False)
super(BaseIncludeNode, self).__init__(*args, **kwargs)
Variable | Value |
---|---|
node | <django.template.defaulttags.LoadNode object at 0x7f4854a17210> |
blocks | {u'content': <Block Node: content. Contents: []>, u'extrascripts': <Block Node: extrascripts. Contents: []>, u'extrastyles': <Block Node: extrastyles. Contents: []>, u'meta_description': <Block Node: meta_description. Contents: []>, u'onbodyload': <Block Node: onbodyload. Contents: []>, u'title': <Block Node: title. Contents: [<Variable Node: meta_title>]>} |
block_context | <django.template.loader_tags.BlockContext object at 0x7f4854a700d0> |
n | <Block Node: onbodyload. Contents: []> |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
compiled_parent | <django.template.base.Template object at 0x7f4854aa2710> |
self | <ExtendsNode: extends 'base.html'> |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f4854aa2710> |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <django.template.defaulttags.SpacelessNode object at 0x7f485578e990> |
bit | u'\n\n' |
bits | [u'<!DOCTYPE html>\n', u'', u'\n', u'', u'\n\n'] |
self | [<Text Node: '<!DOCTYPE html> '>, <django.template.defaulttags.LoadNode object at 0x7f4854a17210>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0x7f4854a175d0>, <Text Node: ' '>, <django.template.defaulttags.SpacelessNode object at 0x7f485578e990>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <django.template.defaulttags.SpacelessNode object at 0x7f485578e990> |
self | [<Text Node: '<!DOCTYPE html> '>, <django.template.defaulttags.LoadNode object at 0x7f4854a17210>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0x7f4854a175d0>, <Text Node: ' '>, <django.template.defaulttags.SpacelessNode object at 0x7f485578e990>, <Text Node: ' '>] |
e | NoReverseMatch(u"Reverse for 'catalog_list' with arguments '()' and keyword arguments '{u'pk': ''}' not found. 2 pattern(s) tried: ['catalog-list/(?P<slug>[-\\\\w]+)/$', 'catalog-list/(?P<pk>\\\\d+)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
class SpacelessNode(Node):
def __init__(self, nodelist):
self.nodelist = nodelist
def render(self, context):
from django.utils.html import strip_spaces_between_tags
return strip_spaces_between_tags(self.nodelist.render(context).strip())...
class TemplateTagNode(Node):
mapping = {'openblock': BLOCK_TAG_START,
'closeblock': BLOCK_TAG_END,
'openvariable': VARIABLE_TAG_START,
'closevariable': VARIABLE_TAG_END,
Variable | Value |
---|---|
self | <django.template.defaulttags.SpacelessNode object at 0x7f485578e990> |
strip_spaces_between_tags | <function strip_spaces_between_tags at 0x7f4857c68dd0> |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Block Node: content. Contents: []> |
bit | u'\n\n ' |
bits | [u'\n<html>\n <head>\n ', u'\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">\n <meta name="viewport" content="width=device-width, initial-scale=1">\n <meta name="yandex-verification" content="a46606647c9379e9" />\n ', u'\n <meta name="description" content="\u041a\u0440\u0435\u043c \u043f\u0438\u0442\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e\u0449\u0438\u0439 \u043b\u0438\u043f\u0438\u0434\u043d\u044b\u0439 \u0441\u043b\u043e\u0439 Resultime. \u0411\u043e\u043b\u044c\u0448\u043e\u0439 \u0432\u044b\u0431\u043e\u0440 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u043e\u0441\u043c\u0435\u0442\u0438\u043a\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 Radiance." />\n <title>\u041a\u0440\u0435\u043c \u043f\u0438\u0442\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0432\u043e\u0441\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e\u0449\u0438\u0439 \u043b\u0438\u043f\u0438\u0434\u043d\u044b\u0439 \u0441\u043b\u043e\u0439 Resultime - \u043a\u0443\u043f\u0438\u0442\u044c \u043a\u043e\u0441\u043c\u0435\u0442\u0438\u043a\u0443 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 Radiance</title>\n ', u'\n\n <link rel="icon" href="', u'/static/img/favicon.ico', u'" type="image/x-icon" />\n', u'\n <link href=\'https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700&subset=latin,cyrillic-ext\' rel=\'stylesheet\' type=\'text/css\'>\n <link href="', u'/static/css/bootstrap.min.css', u'" rel="stylesheet">\n\n <link href="', u'/static/css/radience.css', u'" rel="stylesheet">\n <!--[if IE]><link rel="stylesheet" type="text/css" href="/static/css/radience-ie8.css" /><![endif]-->\n', u'\n', u'\n', u'\n', u'\n <link href="/static/css/my_css.css" type="text/css" rel="stylesheet">\n', u'\n <link href="/static/css/ryzkot.css?1" type="text/css" rel="stylesheet">\n\t <link href="/static/css/new3.css" type="text/css" rel="stylesheet">\n\t <link href="/static/font/css/all.css" type="text/css" rel="stylesheet">\n\t <link href="/static/css/latest.css" type="text/css" rel="stylesheet">\n\n ', u'', u'\n <script type="text/javascript">window.jQuery || document.write(\'<script src="', u'/static/js/jquery-1.11.0.min.js', u'"><\\/script>\')</script>\n \n \n \n\n<style>\n/*\n\t#header .header-side .contacts .phones a.phones-link {background:#dfb962; color:#fff; position:relative; padding:0 .5em; border-radius:5px; margin:8px 0; overflow:hidden; text-decoration:none!important}\n\t#header .header-side .contacts .phones a.phones-link:hover {color:#fff}\n\t#header .header-side .contacts .phones a.phones-link.shown:hover {background:#000}\n\n\t#header .header-side .contacts .phones a.phones-link:after {content:\'\'; position:absolute; left:0!important; top:0; right:0!important; bottom:0; color:#fff!important; }\n\t#header .header-side .contacts .phones a.phones-link:after{\nbackground: -moz-linear-gradient(left, rgba(223,185,98,0) 0%, rgba(223,185,98,1) 30%, rgba(223,185,98,1) 100%);\nbackground: -webkit-linear-gradient(left, rgba(223,185,98,0) 0%,rgba(223,185,98,1) 30%,rgba(223,185,98,1) 100%);\nbackground: linear-gradient(to right, rgba(223,185,98,0) 0%,rgba(223,185,98,1) 30%,rgba(223,185,98,1) 100%);\n\t}\n\n\t#header .header-side .contacts .phones a.phones-link .show {position:absolute; left:0!important; right:0!important; top:50%; margin-top:-.5em; line-height:1; font-size:12px; z-index:2; padding:0 1em; color:#fff}\n\t#header .header-side .contacts .phones a.phones-link .show:hover {text-decoration:none}\n\n\t#header .header-side .contacts .phones a.phones-link {cursor:pointer}\n\t#header .header-side .contacts .phones a.phones-link.shown {cursor:default}\n\t#header .header-side .contacts .phones a.phones-link.shown:after {display:none!important}\n\t#header .header-side .contacts .phones a.phones-link.shown .show {display:none!important}\n \n .scroll-nav {background:#000!important}\n .scroll-nav .phone_alloka {position:relative}\n .scroll-nav .phone_alloka:after {content:\'\'; position:absolute; left:0; top:0; right:0; bottom:0; color:#fff!important; background: -moz-linear-gradient(left, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,1) 100%);\n background: -webkit-linear-gradient(left, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 30%,rgba(0,0,0,1) 100%);\n background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,1) 30%,rgba(0,0,0,1) 100%);\n }\n \n .scroll-nav .phone_alloka .show {position:absolute; left:0!important; right:0!important; top:50%; margin-top:-.5em; line-height:1; font-size:12px; z-index:2; padding:0 1em; color:#fff}\n\t.scroll-nav .phone_alloka .show:hover {text-decoration:none}\n\n\t.scroll-nav .phone_alloka {cursor:pointer}\n\t.scroll-nav .phone_alloka.shown {cursor:default}\n\t.scroll-nav .phone_alloka.shown:after {display:none!important}\n\t.scroll-nav .phone_alloka.shown .show {display:none!important}\n \n \n .footer-item span.phone {text-align:center}\n .footer-item span.phone_alloka {position:relative; display:inline-block}\n .footer-item .phone_alloka:after {content:\'\'; position:absolute; left:0; top:0; right:0; bottom:0; color:#fff!important; background: -moz-linear-gradient(left, rgba(223,182,98,0) 0%, rgba(223,182,98,1) 30%, rgba(223,182,98,1) 100%);\n background: -webkit-linear-gradient(left, rgba(223,182,98,0) 0%,rgba(223,182,98,1) 30%,rgba(223,182,98,1) 100%);\n background: linear-gradient(to right, rgba(223,182,98,0) 0%,rgba(223,182,98,1) 30%,rgba(223,182,98,1) 100%);\n }\n \n .footer-item .phone_alloka .show {position:absolute; left:0!important; right:0!important; top:50%; margin-top:-.5em; line-height:1; font-size:12px; z-index:2; padding:0 1em; color:#fff; text-align:right}\n\t.footer-item .phone_alloka .show:hover {text-decoration:none}\n\n\t.footer-item .phone_alloka {cursor:pointer}\n\t.footer-item .phone_alloka.shown {cursor:default}\n\t.footer-item .phone_alloka.shown:after {display:none!important}\n\t.footer-item .phone_alloka.shown .show {display:none!important}\n*/\n .boundedTextBlock {}\n .boundedTextBlock .blockWrapper {max-height:5em; overflow:hidden}\n .boundedTextBlock-full .blockWrapper {max-height:none}\n .boundedTextBlock .textBlock {margin:0}\n .boundedTextBlock .textBlock>:first-child {margin-top:0}\n .boundedTextBlock .textBlock>:last-child {margin-bottom:0}\n .boundedTextBlock .switcher {color:#917400; text-decoration:none; font-size:0; line-height:1.4}\n .boundedTextBlock .switcher:before {font-size:14px; content:\'\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435\'; display:inline-block;}\n .boundedTextBlock-overflown .switcher {display:inline-block}\n .boundedTextBlock-full .switcher:before {content:\'\u0421\u0432\u0435\u0440\u043d\u0443\u0442\u044c\'}\n</style>\n\n\n<!-- Facebook Pixel Code -->\n<script>\n !function(f,b,e,v,n,t,s)\n {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version=\'2.0\';\n n.queue=[];t=b.createElement(e);t.async=!0;\n t.src=v;s=b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t,s)}(window, document,\'script\',\n \'https://connect.facebook.net/en_US/fbevents.js\');\n fbq(\'init\', \'1567271720070510\');\n fbq(\'track\', \'PageView\');\n</script>\n<noscript><img height="1" width="1" style="display:none"\n src="https://www.facebook.com/tr?id=1567271720070510&ev=PageView&noscript=1"\n/></noscript>\n<!-- End Facebook Pixel Code -->\n </head>\n\n<body>\n\n ', u'\n\n\n\n<div class="ya-site-form_inited_no" style="display: none"\n onclick="return {\'action\':\'http://salon-radiance.ru/search/\',\'arrow\':false,\'bg\':\'transparent\',\'fontsize\':12,\'fg\':\'#222222\',\'language\':\'ru\',\'logo\':\'rb\',\'publicname\':\'salon-radiance.ru\',\'suggest\':true,\n \'target\':\'_self\',\'tld\':\'ru\',\'type\':3,\'usebigdictionary\':true,\'searchid\':2153512,\'webopt\':true,\'websearch\':false,\'input_fg\':\'#222222\',\'input_bg\':\'#ffffff\',\'input_fontStyle\':\'normal\',\'input_fontWeight\':\'normal\',\n \'input_placeholder\':\'\u0427\u0442\u043e \u0438\u0449\u0435\u043c?\',\'input_placeholderColor\':\'#000000\',\'input_borderColor\':\'#CCCCCC\'}">\n <form id="yandex-search-form" action="http://yandex.ru/sitesearch" method="get" target="_self">\n <input type="hidden" name="searchid" value="2153512"/>\n <input type="hidden" name="l10n" value="ru"/>\n <input type="hidden" name="reqenc" value=""/>\n <input id="TEST_ID" type="text" name="text" value="\u0412\u043e\u043b\u043e\u0441\u044b"/>\n <input id="submit-input" type="submit" value="\u041d\u0430\u0439\u0442\u0438"/>\n </form>\n</div>\n <script type="text/javascript">\n $(function() {\n $( "#menu-searchform" ).submit(function( event ) {\n var text = $(\'#menu-searchform\').find(\'input[name="text"]\').val();\n $(\'#TEST_ID\').val(text);\n (function(w,d,c){var s=d.createElement(\'script\'),h=d.getElementsByTagName(\'script\')[0],e=d.documentElement;if((\' \'+e.className+\' \').indexOf(\' ya-page_js_yes \')===-1){e.className+=\' ya-page_js_yes\';}s.type=\'text/javascript\';s.async=true;s.charset=\'utf-8\';s.src=(d.location.protocol===\'https:\'?\'https:\':\'http:\')+\'//site.yandex.net/v2.0/js/all.js\';h.parentNode.insertBefore(s,h);(w[c]||(w[c]=[])).push(function(){Ya.Site.Form.init()})})(window,document,\'yandex_site_callbacks\');\n\n setTimeout(function() { $(\'.ya-site-form__submit_type_image\').click() }, 500);\n event.preventDefault();\n\n });\n\n $( "#nav-searchform" ).submit(function( event ) {\n var text = $(\'#nav-searchform\').find(\'input[name="text"]\').val();\n $(\'#TEST_ID\').val(text);\n (function(w,d,c){var s=d.createElement(\'script\'),h=d.getElementsByTagName(\'script\')[0],e=d.documentElement;if((\' \'+e.className+\' \').indexOf(\' ya-page_js_yes \')===-1){e.className+=\' ya-page_js_yes\';}s.type=\'text/javascript\';s.async=true;s.charset=\'utf-8\';s.src=(d.location.protocol===\'https:\'?\'https:\':\'http:\')+\'//site.yandex.net/v2.0/js/all.js\';h.parentNode.insertBefore(s,h);(w[c]||(w[c]=[])).push(function(){Ya.Site.Form.init()})})(window,document,\'yandex_site_callbacks\');\n\n setTimeout(function() { $(\'.ya-site-form__submit_type_image\').click() }, 500);\n event.preventDefault();\n\n });\n });\n </script>\n', u'\n ', u'\n\n<div class="b-ny">\r\n <!--<div class="b-ny__poem">\r\n <div class="b-ny__title">\u0414\u043e\u0440\u043e\u0433\u0438\u0435 \u043c\u0443\u0436\u0447\u0438\u043d\u044b, <br>\u043f\u043e\u0437\u0434\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u0430\u0441 <br>\u0441 \u0414\u043d\u0435\u043c \u0437\u0430\u0449\u0438\u0442\u043d\u0438\u043a\u0430 \u043e\u0442\u0435\u0447\u0435\u0441\u0442\u0432\u0430!</div>\r\n \u0421\u0438\u043b\u044b, \u043c\u0443\u0436\u0435\u0441\u0442\u0432\u0430, \u043e\u0442\u0432\u0430\u0433\u0438!<br>\r\n \u042f\u0440\u043a\u0438\u0445, \u0434\u043e\u0431\u043b\u0435\u0441\u0442\u043d\u044b\u0445 \u0440\u0435\u0447\u0435\u0439!<br>\r\n \u041e\u0431\u043d\u0430\u0436\u0430\u0442\u044c \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0448\u043f\u0430\u0433\u0438,<br>\r\n \u0421 \u043c\u0438\u0440\u043e\u043c \u0432 \u0441\u0435\u0440\u0434\u0446\u0435 \u0432\u0435\u0441\u0435\u043b\u0435\u0439!\r\n <div class="b-ny__type">\u0430\u0432\u0442\u043e\u0440: \u041c\u0438\u0445\u043e\u0432\u0438\u0447 \u0410\u043b\u0435\u043d\u0430</div>\r\n </div>-->\r\n \r\n</div>\r\n\n\n<div id="header">\n\n \n<div class="scroll-nav">\n <div class="container">\n <div class="search">\n\n\n <form id="nav-searchform">\n <input name="text" value="" placeholder="\u0427\u0442\u043e \u0438\u0449\u0435\u043c?" type="text" style="border:2px solid orange;border-radius: 5px;">\n </form>\n </div>\n\n <a class="logo hidden-m" href="#">\n <img src="/static/images/logo-small.png" alt="">\n </a>\n\n <div class="navbar-mobile">\n <a class="btn btn_brown" data-toggle="collapse" data-target="#navbar-collapse">\n <span class="icon icon_nav"></span>\n \u041c\u0435\u043d\u044e\n </a>\n </div>\n\n <div class="scroll-nav-right">\n <a class="phones-link" id="phones-link-first" href="tel:+79233544878" style="padding-top: 0;"><span class="phone_alloka callibri_phone3">+7(923) 354-48-78</span></a>\n </div>\n\n <a class="btn btn_brown" id="menu_button">\n <span class="icon icon_nav"></span>\n \u041c\u0435\u043d\u044e\n </a>\n <div class="icon_search white" title="\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043f\u043e\u0438\u0441\u043a"></div>\n <div id="header_menu_close_search" class="search_close_button sb_header_menu" title="\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u043f\u043e\u0438\u0441\u043a" >X</div>\n\n <div class="container">\n <div class="collapse navbar-collapse" id="navbar-collapse" style="margin-left: 0px">\n <ul class="nav navbar-nav">\n <li class="dropdown">\n <a href="#" class="dropdown-toggle" data-toggle="dropdown">\u0423\u0421\u041b\u0423\u0413\u0418 <span class="icon icon_down"></span></a>\n <ul class="dropdown-menu items-4">\n \n <li>\n <a href="/service-list/jesteticheskaja-kosmetologija-dlja-lica/">\n \n <span>\u042d\u0441\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043a\u043e\u0441\u043c\u0435\u0442\u043e\u043b\u043e\u0433\u0438\u044f \u043b\u0438\u0446\u0430</span>\n </a>\n </li>\n \n <li>\n <a href="/service-list/inekcionnaya-kosmetologiya/">\n \n <span>\u0418\u043d\u044a\u0435\u043a\u0446\u0438\u043e\u043d\u043d\u0430\u044f \u043a\u043e\u0441\u043c\u0435\u0442\u043e\u043b\u043e\u0433\u0438\u044f</span>\n </a>\n </li>\n \n <li>\n <a href="/service-list/uslugi-kosmetologa-stilista/">\n \n <span>\u0423\u0441\u043b\u0443\u0433\u0438 \u043a\u043e\u0441\u043c\u0435\u0442\u043e\u043b\u043e\u0433\u0430-\u0441\u0442\u0438\u043b\u0438\u0441\u0442\u0430</span>\n </a>\n </li>\n \n <li>\n <a href="/service-list/jesteticheskaja-kosmetologija-dlja-tela/">\n \n <span>\u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u0434\u043b\u044f \u0442\u0435\u043b\u0430</span>\n </a>\n </li>\n \n <li>\n <a href="/service-list/manikur/">\n \n <span>\u041f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u043c\u0430\u043d\u0438\u043a\u044e\u0440 \u0438 \u043f\u0435\u0434\u0438\u043a\u044e\u0440</span>\n </a>\n </li>\n \n <li>\n <a href="/service-list/spa_area/">\n \n <span>\u041c\u0438\u0440 \u0430\u044e\u0440\u0432\u0435\u0434\u044b \u0438 \u0431\u0430\u043d\u043d\u044b\u0445 \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u0439 Radiance</span>\n </a>\n </li>\n \n </ul>\n </li>\n <li><a href="/catalog-list/prodaja_kosmetiki/">\u041a\u041e\u0421\u041c\u0415\u0422\u0418\u041a\u0410</a></li>\n <li class="dropdown">\n <a href="#" class="dropdown-toggle" data-toggle="dropdown">\u0426\u0415\u041d\u042b <span class="icon icon_down"></span></a>\n <ul class="dropdown-menu items-4">\n \n <li>\n <a href="/ceny-ehsteticheskaya-kosmetologiya-lica/">\n <span>\u042d\u0441\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043a\u043e\u0441\u043c\u0435\u0442\u043e\u043b\u043e\u0433\u0438\u044f \u0434\u043b\u044f \u043b\u0438\u0446\u0430</span>\n </a>\n </li>\n \n <li>\n <a href="/ceny-inekcionnaya-kosmetologiya/">\n <span>\u0418\u043d\u044a\u0435\u043a\u0446\u0438\u043e\u043d\u043d\u0430\u044f \u043a\u043e\u0441\u043c\u0435\u0442\u043e\u043b\u043e\u0433\u0438\u044f</span>\n </a>\n </li>\n \n <li>\n <a href="/ceny-vosstanovitelnaya-kosmetologiya-lica/">\n <span>\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043a\u043e\u0441\u043c\u0435\u0442\u043e\u043b\u043e\u0433\u0438\u044f \u043b\u0438\u0446\u0430</span>\n </a>\n </li>\n \n <li>\n <a href="/ceny-uslugi-kosmetologa-stilista/">\n <span>\u0423\u0441\u043b\u0443\u0433\u0438 \u043a\u043e\u0441\u043c\u0435\u0442\u043e\u043b\u043e\u0433\u0430-\u0441\u0442\u0438\u043b\u0438\u0441\u0442\u0430</span>\n </a>\n </li>\n \n <li>\n <a href="/ceny-ehsteticheskaya-kosmetologiya-tela/">\n <span>\u042d\u0441\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043a\u043e\u0441\u043c\u0435\u0442\u043e\u043b\u043e\u0433\u0438\u044f \u0434\u043b\u044f \u0442\u0435\u043b\u0430</span>\n </a>\n </li>\n \n <li>\n <a href="/ceny-uhod-za-rukami/">\n <span>\u0423\u0445\u043e\u0434 \u0437\u0430 \u0440\u0443\u043a\u0430\u043c\u0438</span>\n </a>\n </li>\n \n <li>\n <a href="/ceny-uhod-za-nogami/">\n <span>\u0423\u0445\u043e\u0434 \u0437\u0430 \u043d\u043e\u0433\u0430\u043c\u0438</span>\n </a>\n </li>\n \n <li>\n <a href="/ceny-spa-v-radiance/">\n <span>\u0422\u0435\u0440\u0440\u0438\u0442\u043e\u0440\u0438\u044f SPA</span>\n </a>\n </li>\n \n </ul>\n </li>\n <li><a href="/stock/">\u0410\u041a\u0426\u0418\u0418</a></li>\n <li><a href="/feedbacks/">\u041e\u0422\u0417\u042b\u0412\u042b</a></li>\n\n <li class = "dropdown">\n <a href="#" class="dropdown-toggle" data-toggle="dropdown">\u041e \u0421\u0422\u0423\u0414\u0418\u0418 <span class="icon icon_down"></span></a>\n <ul class="dropdown-menu items-4">\n <li><a href="/employees/"><span>\u041d\u0430\u0448 \u043a\u043e\u043b\u043b\u0435\u043a\u0442\u0438\u0432</span></a></li>\n <li><a href="/news/"><span>\u0411\u043b\u043e\u0433</span></a></li>\n <li><a href="/gallery/"><span>\u0424\u043e\u0442\u043e\u0433\u0430\u043b\u0435\u0440\u0435\u044f</span></a></li>\n <li><a href="/videos/"><span>\u0412\u0438\u0434\u0435\u043e\u0433\u0430\u043b\u0435\u0440\u0435\u044f</span></a></li>\n <li><a href="/articles/"><span>\u0421\u043e\u0432\u0435\u0442\u044b</span></a></li>\n \n <li><a href="/service-list/statii/"><span>\u0421\u0442\u0430\u0442\u044c\u0438</span></a></li>\n <li><a href="/page/licensii/"><span>\u041b\u0438\u0446\u0435\u043d\u0437\u0438\u0438</span></a></li>\n\n \n </ul>\n </li>\n <li><a href="/learning-list/">\u041e\u0411\u0423\u0427\u0415\u041d\u0418\u0415</a></li>\n <li><a href="/page/contacts/">\u041a\u041e\u041d\u0422\u0410\u041a\u0422\u042b</a></li>\n </ul>\n </div>\n <!-- /.navbar-collapse -->\n </div>\n </div>\n</div>\n<script>\n $(window).scroll(function() {\n var wnd = $(window).scrollTop();\n if(wnd > $("#header").height()) {\n $(".scroll-nav").addClass("active");\n } else {\n $(".scroll-nav").removeClass("active");\n }\n });\n\n $("#menu_button").click(function() {\n $("body").animate({"scrollTop":0},"slow");\n });\n</script>\n\n\n <div class="background-only-ipad">\n <div class="container header-side">\n <div class="row">\n <div class="col-md-6">\n\t\t\t\t\t<div class="logo">\n\t\t\t\t\t\t<a href="/"><img class="rad" src="/static/img/logo.png"></a>\n\t\t\t\t\t</div>\n </div> \n <div class="col-md-3 clearfix hidden-m">\n <div class="contacts">\n \n <div class="phones">\n <div class="visible-sm"></div><a style="font-size:24px;cursor:pointer" class="phones-link phone_alloka callibri_phone1" id="phones-link-first" href="tel:+79233544878">+7(923) 354-48-78</a>\n </div>\n<!--\t\t\t\t\t\t\t<div class="call-me">\n <div class="icon icon_time"></div><span>\u0415\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u043e \u0441 9:00 - 21:00</span></div>-->\n </div>\n\t\t </div>\n <div class="col-md-3 clearfix hidden-m">\n <div class="contacts">\n <div class="call-me">\n <a id="order-call" data-toggle="modal" data-target="#call-me-form" href="http://salon-radiance.ru/#"><span class="icon icon_call"></span> \u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u0437\u0432\u043e\u043d\u043e\u043a</a>\n </div>\n\n </div>\n </div>\n </div> \n </div>\n </div>\n</div>\n\n\n\n<div id="call-me-form" class="modal fade" tabindex="-1" role="dialog"\n aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-sm" style="width: 600px; margin: 0 auto; padding: 20px">\n <div class="modal-content shadow bg-biege">\n <div class="modal-header">\n <button class="close" aria-hidden="true"\n data-dismiss="modal" type="button">\xd7</button>\n <div class = "content-title">\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u0437\u0432\u043e\u043d\u043e\u043a</div>\n </div>\n <div class="modal-body">\n <div class="alert alert-danger" style="display:none">\u0417\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043f\u043e\u043b\u044f, \u043f\u043e\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0435 *</div>\n <form action="" method="post" class="from-horizontal">\n <input type="hidden" name="url" value="http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/" />\n <input type=\'hidden\' name=\'csrfmiddlewaretoken\' value=\'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs\' />\n <div class="form-group"> <input class="form-control" id="id_name" maxlength="30" name="name" placeholder="\u041a\u0430\u043a \u0432\u0430\u0441 \u0437\u043e\u0432\u0443\u0442*" type="text" /> </div>\n <div class="form-group"> <input class="form-control" id="id_phone" maxlength="50" name="phone" placeholder="\u0412\u0430\u0448 \u0442\u0435\u043b\u0435\u0444\u043e\u043d*" type="text" /> </div>\n <div class="form-group">\n <p>\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044f \u044d\u0442\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435, \u0432\u044b \u0441\u043e\u0433\u043b\u0430\u0448\u0430\u0435\u0442\u0435\u0441\u044c \u0441 <a href="/page/politika_konfidencialnosti/">\u043f\u043e\u043b\u0438\u0442\u0438\u043a\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438</a></p>\n </div>\n\n\n\n\n\n\n\n <div style="text-align: center">\n <div style="display: inline-block">\n <a id="call-me-btn" class="btn" href="#z" style="margin-bottom: 20px;border-style:none;">\n <span>\u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c \u0437\u0432\u043e\u043d\u043e\u043a</span>\n </a>\n </div>\n </div>\n\n </form>\n </div>\n </div>\n </div>\n</div>\n\n<div id="modal-alert" class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog"\n aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-sm">\n <div class="modal-content bg-biege">\n <div class="modal-header">\n <button class="close" aria-hidden="true"\n data-dismiss="modal" type="button">\xd7</button>\n </div>\n <div class="modal-body">\n \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u0430\u0448\u0443 \u0437\u0430\u044f\u0432\u043a\u0443. \u041c\u044b \u0441\u0432\u044f\u0436\u0435\u043c\u0441\u044f \u0441 \u0432\u0430\u043c\u0438 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u0434\u043d\u044f\n </div>\n </div>\n </div>\n</div>\n\n\n\n', u'\n\n ', u'\n\n\n\n<div id="new-menu-main" class="hidden-m">\n <nav class="navbar navbar-default container" role="navigation">\n <div class="navbar-mobile">\n <a class="btn btn_brown" data-toggle="collapse" data-target="#navbar-collapse">\n <span class="icon icon_nav"></span>\n \u041c\u0435\u043d\u044e\n </a>\n </div>\n <div class="container">\n <div class="collapse navbar-collapse" id="navbar-collapse" style="margin-left: 0px">\n <div class="search">\n <form id="menu-searchform">\n <input name="text" value="" placeholder="\u0427\u0442\u043e \u0438\u0449\u0435\u043c?" type="text" style="border:2px solid orange;border-radius: 5px;">\n </form>\n </div>\n <ul class="nav navbar-nav">\n <li class="dropdown">\n <a href="#" class="dropdown-toggle" data-toggle="dropdown">\u0423\u0421\u041b\u0423\u0413\u0418 <span class="icon icon_down"></span></a>\n <ul class="dropdown-menu items-4">\n \n <li>\n <a href="/service-list/jesteticheskaja-kosmetologija-dlja-lica/">\n\n <span>\u042d\u0441\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043a\u043e\u0441\u043c\u0435\u0442\u043e\u043b\u043e\u0433\u0438\u044f \u043b\u0438\u0446\u0430</span>\n </a>\n </li>\n \n <li>\n <a href="/service-list/inekcionnaya-kosmetologiya/">\n\n <span>\u0418\u043d\u044a\u0435\u043a\u0446\u0438\u043e\u043d\u043d\u0430\u044f \u043a\u043e\u0441\u043c\u0435\u0442\u043e\u043b\u043e\u0433\u0438\u044f</span>\n </a>\n </li>\n \n <li>\n <a href="/service-list/uslugi-kosmetologa-stilista/">\n\n <span>\u0423\u0441\u043b\u0443\u0433\u0438 \u043a\u043e\u0441\u043c\u0435\u0442\u043e\u043b\u043e\u0433\u0430-\u0441\u0442\u0438\u043b\u0438\u0441\u0442\u0430</span>\n </a>\n </li>\n \n <li>\n <a href="/service-list/jesteticheskaja-kosmetologija-dlja-tela/">\n\n <span>\u041f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b \u0434\u043b\u044f \u0442\u0435\u043b\u0430</span>\n </a>\n </li>\n \n <li>\n <a href="/service-list/manikur/">\n\n <span>\u041f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u043c\u0430\u043d\u0438\u043a\u044e\u0440 \u0438 \u043f\u0435\u0434\u0438\u043a\u044e\u0440</span>\n </a>\n </li>\n \n <li>\n <a href="/service-list/spa_area/">\n\n <span>\u041c\u0438\u0440 \u0430\u044e\u0440\u0432\u0435\u0434\u044b \u0438 \u0431\u0430\u043d\u043d\u044b\u0445 \u0442\u0440\u0430\u0434\u0438\u0446\u0438\u0439 Radiance</span>\n </a>\n </li>\n \n </ul>\n </li>\n <li class="dropdown">\n <a href="/ceny-ehsteticheskaya-kosmetologiya-lica/" class="dropdown-toggle" data-toggle="dropdown">\u0426\u0415\u041d\u042b <span class="icon icon_down"></span></a>\n <ul class="dropdown-menu items-4">\n \n <li>\n <a href="/ceny-ehsteticheskaya-kosmetologiya-lica/">\n\n <span>\u042d\u0441\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043a\u043e\u0441\u043c\u0435\u0442\u043e\u043b\u043e\u0433\u0438\u044f \u0434\u043b\u044f \u043b\u0438\u0446\u0430</span>\n </a>\n </li>\n \n <li>\n <a href="/ceny-inekcionnaya-kosmetologiya/">\n\n <span>\u0418\u043d\u044a\u0435\u043a\u0446\u0438\u043e\u043d\u043d\u0430\u044f \u043a\u043e\u0441\u043c\u0435\u0442\u043e\u043b\u043e\u0433\u0438\u044f</span>\n </a>\n </li>\n \n <li>\n <a href="/ceny-vosstanovitelnaya-kosmetologiya-lica/">\n\n <span>\u0412\u043e\u0441\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043a\u043e\u0441\u043c\u0435\u0442\u043e\u043b\u043e\u0433\u0438\u044f \u043b\u0438\u0446\u0430</span>\n </a>\n </li>\n \n <li>\n <a href="/ceny-uslugi-kosmetologa-stilista/">\n\n <span>\u0423\u0441\u043b\u0443\u0433\u0438 \u043a\u043e\u0441\u043c\u0435\u0442\u043e\u043b\u043e\u0433\u0430-\u0441\u0442\u0438\u043b\u0438\u0441\u0442\u0430</span>\n </a>\n </li>\n \n <li>\n <a href="/ceny-ehsteticheskaya-kosmetologiya-tela/">\n\n <span>\u042d\u0441\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043a\u043e\u0441\u043c\u0435\u0442\u043e\u043b\u043e\u0433\u0438\u044f \u0434\u043b\u044f \u0442\u0435\u043b\u0430</span>\n </a>\n </li>\n \n <li>\n <a href="/ceny-uhod-za-rukami/">\n\n <span>\u0423\u0445\u043e\u0434 \u0437\u0430 \u0440\u0443\u043a\u0430\u043c\u0438</span>\n </a>\n </li>\n \n <li>\n <a href="/ceny-uhod-za-nogami/">\n\n <span>\u0423\u0445\u043e\u0434 \u0437\u0430 \u043d\u043e\u0433\u0430\u043c\u0438</span>\n </a>\n </li>\n \n <li>\n <a href="/ceny-spa-v-radiance/">\n\n <span>\u0422\u0435\u0440\u0440\u0438\u0442\u043e\u0440\u0438\u044f SPA</span>\n </a>\n </li>\n \n </ul>\n </li>\n \n <li><a href="/catalog-list/prodaja_kosmetiki/">\u041a\u041e\u0421\u041c\u0415\u0422\u0418\u041a\u0410</a></li>\n <li><a href="/feedbacks/">\u041e\u0422\u0417\u042b\u0412\u042b</a></li>\n <li><a href="/learning-list/">\u041e\u0411\u0423\u0427\u0415\u041d\u0418\u0415</a></li>\n\n <li class = "dropdown">\n <a href="#" class="dropdown-toggle" data-toggle="dropdown">\u041e \u041a\u041e\u0421\u041c\u0415\u0422\u041e\u041b\u041e\u0413\u0418\u0418 <span class="icon icon_down"></span></a>\n <ul class="dropdown-menu items-4">\n <li><a href="/employees/"><span>\u041d\u0430\u0448 \u043a\u043e\u043b\u043b\u0435\u043a\u0442\u0438\u0432</span></a></li>\n <li><a href="/page/licensii/"><span>\u041b\u0438\u0446\u0435\u043d\u0437\u0438\u0438</span></a></li>\n <li><a href="/news/"><span>\u0411\u043b\u043e\u0433</span></a></li>\n\n \n </ul>\n </li>\n <li><a href="/page/contacts/">\u041a\u041e\u041d\u0422\u0410\u041a\u0422\u042b</a></li>\n </ul>\n <div id="main_menu_close_search" class="search_close_button sb_main_menu" title="\u0417\u0430\u043a\u0440\u044b\u0442\u044c \u043f\u043e\u0438\u0441\u043a" >X</div>\n <div class="icon_search black" title="\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043f\u043e\u0438\u0441\u043a" ></div>\n </div><!-- /.navbar-collapse -->\n </div>\n</nav>\n</div>\n', u'\n ', u'\n\n<div id="make-apointment-m-form" class="modal fade" tabindex="-1" role="dialog"\n aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-sm" style="width: 630px; margin: 0 auto; padding: 20px">\n\n <div class="modal-content shadow bg-biege">\n <div class="modal-header">\n <button class="close" aria-hidden="true"\n data-dismiss="modal" type="button">\xd7</button>\n <div class = "content-title">\u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u043a\u043e\u043d\u0441\u0443\u043b\u044c\u0442\u0430\u0446\u0438\u044e</div>\n </div>\n <div class="modal-body">\n <div class="alert alert-danger" style="display:none">\u0417\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u0435 \u043f\u043e\u043b\u044f, \u043f\u043e\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0435 *</div>\n <form action="" method="post" class="from-horizontal">\n <input type="hidden" name="url" value="http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/" /> \n <input type=\'hidden\' name=\'csrfmiddlewaretoken\' value=\'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs\' />\n <div class="form-group inline">\n <input class="form-control pull-left" id="id_name" maxlength="30" name="name" placeholder="\u041a\u0430\u043a \u0432\u0430\u0441 \u0437\u043e\u0432\u0443\u0442*" type="text" />\n <input class="form-control pull-right" id="id_phone" maxlength="50" name="phone" placeholder="\u0412\u0430\u0448 \u0442\u0435\u043b\u0435\u0444\u043e\u043d*" type="text" />\n <div class="clearfix"></div>\n </div>\n\n <div class="form-group">\n <p>\u041e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u044f \u044d\u0442\u043e \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435, \u0432\u044b \u0441\u043e\u0433\u043b\u0430\u0448\u0430\u0435\u0442\u0435\u0441\u044c \u0441 <a href="/page/politika_konfidencialnosti/">\u043f\u043e\u043b\u0438\u0442\u0438\u043a\u043e\u0439 \u043a\u043e\u043d\u0444\u0438\u0434\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438</a></p>\n </div>\n\n\n\n\n\n\n\n <div style="text-align: center">\n <div style="display: inline-block">\n <a id="make-modal-btn" class="btn" href="#z" style="margin-bottom: 20px;border-style:none;">\n <span>\u0417\u0430\u043f\u0438\u0441\u0430\u0442\u044c\u0441\u044f</span>\n </a>\n </div>\n </div>\n\n <script language="JavaScript">\n\n </script>\n\n </form>\n </div>\n </div>\n </div>\n</div>\n\n\n<div id="modal-alert6" class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog"\n aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-sm">\n <div class="modal-content bg-biege">\n <div class="modal-header">\n <button class="close" aria-hidden="true"\n data-dismiss="modal" type="button">\xd7</button>\n </div>\n <div class="modal-body">\n \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u0430\u0448\u0443 \u0437\u0430\u044f\u0432\u043a\u0443. \u041c\u044b \u0441\u0432\u044f\u0436\u0435\u043c\u0441\u044f \u0441 \u0432\u0430\u043c\u0438 \u0432 \u0442\u0435\u0447\u0435\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u0433\u043e \u0434\u043d\u044f \n </div>\n </div>\n </div>\n</div>\n\n', u'\n\n '] |
self | [<Text Node: ' <html> <head> '>, <Text Node: ' <meta http-equiv'>, <IfNode>, <Text Node: ' <link rel="icon'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4854a4cb90>, <Text Node: '" type="image/x-icon" /> '>, <Text Node: ' <link href='http'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4854a4c810>, <Text Node: '" rel="stylesheet"> '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4854a4c2d0>, <Text Node: '" rel="stylesheet"> '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' <link href="/sta'>, <Text Node: ' <link href="/sta'>, <Block Node: extrastyles. Contents: []>, <Text Node: ' <script type="te'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4854a4c8d0>, <Text Node: '"><\/script>')</script> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f485585dd50>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f485585d990>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f485585de50>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4854a4cfd0>, <Text Node: ' '>, <Block Node: content. Contents: []>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f485585db50>, <Text Node: ' <div class="modal '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f485585d690>, <Text Node: '"></script> <script t'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4854a6c550>, <Text Node: '"></script> <script t'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4854a292d0>, <Text Node: '"></script> <script s'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4854a29ad0>, <Text Node: '"></script> <script s'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4854a29c10>, <Text Node: '"></script> '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Block Node: extrascripts. Contents: []>, <Text Node: ' <script type="text/j'>, <Block Node: onbodyload. Contents: []>, <Text Node: ' }); $('.bs-moda'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f485578e1d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f485578e110>, <Text Node: ' '>, <django.template.defaulttags.CommentNode object at 0x7f485578e6d0>, <Text Node: ' <script type="text/java'>] |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <Block Node: content. Contents: []> |
self | [<Text Node: ' <html> <head> '>, <Text Node: ' <meta http-equiv'>, <IfNode>, <Text Node: ' <link rel="icon'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4854a4cb90>, <Text Node: '" type="image/x-icon" /> '>, <Text Node: ' <link href='http'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4854a4c810>, <Text Node: '" rel="stylesheet"> '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4854a4c2d0>, <Text Node: '" rel="stylesheet"> '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' <link href="/sta'>, <Text Node: ' <link href="/sta'>, <Block Node: extrastyles. Contents: []>, <Text Node: ' <script type="te'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4854a4c8d0>, <Text Node: '"><\/script>')</script> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f485585dd50>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f485585d990>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f485585de50>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f4854a4cfd0>, <Text Node: ' '>, <Block Node: content. Contents: []>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f485585db50>, <Text Node: ' <div class="modal '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f485585d690>, <Text Node: '"></script> <script t'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4854a6c550>, <Text Node: '"></script> <script t'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4854a292d0>, <Text Node: '"></script> <script s'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4854a29ad0>, <Text Node: '"></script> <script s'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4854a29c10>, <Text Node: '"></script> '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Block Node: extrascripts. Contents: []>, <Text Node: ' <script type="text/j'>, <Block Node: onbodyload. Contents: []>, <Text Node: ' }); $('.bs-moda'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f485578e1d0>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f485578e110>, <Text Node: ' '>, <django.template.defaulttags.CommentNode object at 0x7f485578e6d0>, <Text Node: ' <script type="text/java'>] |
e | NoReverseMatch(u"Reverse for 'catalog_list' with arguments '()' and keyword arguments '{u'pk': ''}' not found. 2 pattern(s) tried: ['catalog-list/(?P<slug>[-\\\\w]+)/$', 'catalog-list/(?P<pk>\\\\d+)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/loader_tags.py
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 = BlockNode(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)
context.pop()
return result
def super(self):
Variable | Value |
---|---|
push | <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f4854a700d0> |
block | <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]> |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
self | <Block Node: content. Contents: []> |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Block Node: breadcrumbs. Contents: []> |
bit | u'\n\n<div class="container main-content" style="padding-bottom: 30px">\n\n <ul class="breadcrumb">\n ' |
bits | [u'\n\n<div class="container main-content" style="padding-bottom: 30px">\n\n <ul class="breadcrumb">\n '] |
self | [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>] |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <Block Node: breadcrumbs. Contents: []> |
self | [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>] |
e | NoReverseMatch(u"Reverse for 'catalog_list' with arguments '()' and keyword arguments '{u'pk': ''}' not found. 2 pattern(s) tried: ['catalog-list/(?P<slug>[-\\\\w]+)/$', 'catalog-list/(?P<pk>\\\\d+)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/loader_tags.py
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 = BlockNode(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)
context.pop()
return result
def super(self):
Variable | Value |
---|---|
push | <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f4854a700d0> |
block | <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]> |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
self | <Block Node: breadcrumbs. Contents: []> |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <WithNode> |
bit | u'\n<ul class="breadcrumb">\n <li><a href="/">\u0413\u043b\u0430\u0432\u043d\u0430\u044f</a></li>\n ' |
bits | [u'\n<ul class="breadcrumb">\n <li><a href="/">\u0413\u043b\u0430\u0432\u043d\u0430\u044f</a></li>\n '] |
self | [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>] |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <WithNode> |
self | [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>] |
e | NoReverseMatch(u"Reverse for 'catalog_list' with arguments '()' and keyword arguments '{u'pk': ''}' not found. 2 pattern(s) tried: ['catalog-list/(?P<slug>[-\\\\w]+)/$', 'catalog-list/(?P<pk>\\\\d+)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
def __repr__(self):
return "<WithNode>"
def render(self, context):
values = dict([(key, val.resolve(context)) for key, val in
six.iteritems(self.extra_context)])
context.update(values)
output = self.nodelist.render(context)...
context.pop()
return output
@register.tag
def autoescape(parser, token):
"""
Variable | Value |
---|---|
self | <WithNode> |
val | <django.template.base.FilterExpression object at 0x7f4857d05190> |
values | {u'catalog': None} |
key | u'catalog' |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <IfNode> |
bit | u'\n <li><a href="' |
bits | [u'\n <li><a href="'] |
self | [<Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: catalog.name>, <Text Node: '</a></li> '>] |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <IfNode> |
self | [<Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: catalog.name>, <Text Node: '</a></li> '>] |
e | NoReverseMatch(u"Reverse for 'catalog_list' with arguments '()' and keyword arguments '{u'pk': ''}' not found. 2 pattern(s) tried: ['catalog-list/(?P<slug>[-\\\\w]+)/$', 'catalog-list/(?P<pk>\\\\d+)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class RegroupNode(Node):
def __init__(self, target, expression, var_name):
self.target, self.expression = target, expression
Variable | Value |
---|---|
self | <IfNode> |
match | True |
nodelist | [<django.template.defaulttags.URLNode object at 0x7f4854af97d0>] |
condition | None |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <django.template.defaulttags.URLNode object at 0x7f4854af97d0> |
self | [<django.template.defaulttags.URLNode object at 0x7f4854af97d0>] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <django.template.defaulttags.URLNode object at 0x7f4854af97d0> |
self | [<django.template.defaulttags.URLNode object at 0x7f4854af97d0>] |
e | NoReverseMatch(u"Reverse for 'catalog_list' with arguments '()' and keyword arguments '{u'pk': ''}' not found. 2 pattern(s) tried: ['catalog-list/(?P<slug>[-\\\\w]+)/$', 'catalog-list/(?P<pk>\\\\d+)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
args=args, kwargs=kwargs,
current_app=context.current_app)
except NoReverseMatch:
if self.asvar is None:
# Re-raise the original exception, not the one with
# the path relative to the project. This makes a
# better error message.
six.reraise(*exc_info)...
else:
if self.asvar is None:
raise
if self.asvar:
context[self.asvar] = url
Variable | Value |
---|---|
project_name | u'salon' |
reverse | <function reverse at 0x7f4857d59ed0> |
url | u'' |
k | u'pk' |
args | [] |
v | <django.template.base.FilterExpression object at 0x7f4854af9b90> |
view_name | u'catalog_list' |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
kwargs | {u'pk': ''} |
exc_info | (<class 'django.core.urlresolvers.NoReverseMatch'>, NoReverseMatch(u"Reverse for 'catalog_list' with arguments '()' and keyword arguments '{u'pk': ''}' not found. 2 pattern(s) tried: ['catalog-list/(?P<slug>[-\\\\w]+)/$', 'catalog-list/(?P<pk>\\\\d+)/$']",), <traceback object at 0x7f48549de550>) |
NoReverseMatch | <class 'django.core.urlresolvers.NoReverseMatch'> |
self | <django.template.defaulttags.URLNode object at 0x7f4854af97d0> |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
# Try to look up the URL twice: once given the view name, and again
# relative to what we guess is the "main" app. If they both fail,
# re-raise the NoReverseMatch unless we're using the
# {% url ... as var %} construct in which case return nothing.
url = ''
try:
url = reverse(view_name, args=args, kwargs=kwargs, current_app=context.current_app)...
except NoReverseMatch:
exc_info = sys.exc_info()
if settings.SETTINGS_MODULE:
project_name = settings.SETTINGS_MODULE.split('.')[0]
try:
url = reverse(project_name + '.' + view_name,
Variable | Value |
---|---|
project_name | u'salon' |
reverse | <function reverse at 0x7f4857d59ed0> |
url | u'' |
k | u'pk' |
args | [] |
v | <django.template.base.FilterExpression object at 0x7f4854af9b90> |
view_name | u'catalog_list' |
context | [{'False': False, 'None': None, 'True': True}, {'related_products': [], 'product': <Product: Крем питательный восстанавливающий липидный слой>, u'object': <Product: Крем питательный восстанавливающий липидный слой>, u'view': <radience.views.Product object at 0x7f4854a9ed10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x7f4854a349d0>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f4854af9e90>, 'user': <SimpleLazyObject: <function <lambda> at 0x7f4854aa5cd0>>}, {}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {u'TIME_ZONE': 'UTC'}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f4854a9e550>}, {u'request': <WSGIRequest path:/product/lipid-replenishing-nourish-cream/, GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{u'CSRF_COOKIE': u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs', u'CSRF_COOKIE_USED': True, 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'salon-radiance.ru', 'HTTP_REFERER': 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'HTTP_USER_AGENT': 'claudebot', 'HTTP_X_FORWARDED_FOR': '44.223.31.148', 'HTTP_X_FORWARDED_PROTO': 'https', 'HTTP_X_REAL_IP': '44.223.31.148', 'PATH_INFO': u'/product/lipid-replenishing-nourish-cream/', 'QUERY_STRING': '', 'RAW_URI': '/product/lipid-replenishing-nourish-cream/', 'REMOTE_ADDR': '44.223.31.148', 'REMOTE_PORT': '80', 'REQUEST_METHOD': 'GET', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'salon-radiance.ru', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SOFTWARE': 'gunicorn/18.0', 'gunicorn.socket': <socket._socketobject object at 0x7f48580bcbb0>, 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7f485ba7c270>, 'wsgi.file_wrapper': <class gunicorn.http.wsgi.FileWrapper at 0x7f4858528fa0>, 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4854a9e4d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'en-us'}, {'main_specialist': <Employee: Елена Соловиченко>, 'service_list': [<ServiceGroup: Эстетическая косметология лица>, <ServiceGroup: Инъекционная косметология>, <ServiceGroup: Услуги косметолога-стилиста>, <ServiceGroup: Процедуры для тела>, <ServiceGroup: Профессиональный маникюр и педикюр>, <ServiceGroup: Мир аюрведы и банных традиций Radiance>], 'url_name': 'product', 'catalog_list': [<CatalogGroup: Продажа профессиональной косметики>], 'iters': [1, 2, 3, 4, 5, 6], 'price_list': [<PriceGroup: Эстетическая косметология для лица>, <PriceGroup: Инъекционная косметология>, <PriceGroup: Восстановительная косметология лица>, <PriceGroup: Услуги косметолога-стилиста>, <PriceGroup: Эстетическая косметология для тела>, <PriceGroup: Уход за руками>, <PriceGroup: Уход за ногами>, <PriceGroup: Территория SPA>], 'is_safari_browser': False, 'question_form': <radience.forms.QuestionForm object at 0x7f4854aaf510>, 'request_product_form': <radience.forms.RequestProductForm object at 0x7f4854a923d0>, 'make_apointment_form': <radience.forms.MakeAnApiontmentForm object at 0x7f4854aafdd0>, 'include_header': 'head.html', 'current_url': u'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/', 'make_apointment_pop_form': <radience.forms.MakeAnApiontmentPopForm object at 0x7f4854aafed0>, 'feedback_form': <radience.forms.FeedbackForm object at 0x7f4854aafe10>, 'DEBUG': True, 'article': <ServiceGroup: Статьи>, 'banners': [<Banner: banners/viber_2020-06-15_17-56-46.jpg>], 'call_me_form': <radience.forms.CallMeForm object at 0x7f4854a34a50>, 'include_menu_main': 'menu_main2.html'}, {'seo_dict': None}, {'col2_empl': {'main_empl': <Employee: Елена Соловиченко>, 'second_empl': <Employee: Ольга Кулёва>}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="container m'>, <Block Node: breadcrumbs. Contents: []>, <Text Node: ' </ul> '>, <Block Node: selected_section. Contents: []>, <Text Node: ' <div class='row '>, <IfNode>, <Text Node: ''> <div class="co'>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' <div class='>, <For Node: for item in banners, tail_len: 7>, <Text Node: ' </div> '>, <Block Node: subcontent. Contents: []>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: breadcrumbs. Contents: [<Text Node: ' <ul class="breadcrumb"> '>, <WithNode>, <Text Node: ' <li><a href="'>, <IfNode>, <Text Node: '">'>, <Variable Node: object.subgroup.catalog.name>, <Text Node: '</a></li> <li>'>, <Variable Node: object.name>, <Text Node: '</li> </ul> '>]>}, {u'catalog': None}] |
kwargs | {u'pk': ''} |
exc_info | (<class 'django.core.urlresolvers.NoReverseMatch'>, NoReverseMatch(u"Reverse for 'catalog_list' with arguments '()' and keyword arguments '{u'pk': ''}' not found. 2 pattern(s) tried: ['catalog-list/(?P<slug>[-\\\\w]+)/$', 'catalog-list/(?P<pk>\\\\d+)/$']",), <traceback object at 0x7f48549de550>) |
NoReverseMatch | <class 'django.core.urlresolvers.NoReverseMatch'> |
self | <django.template.defaulttags.URLNode object at 0x7f4854af97d0> |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/core/urlresolvers.py
in reverse
(key, ':'.join(resolved_path)))
else:
raise NoReverseMatch("%s is not a registered namespace" %
key)
if ns_pattern:
resolver = get_ns_resolver(ns_pattern, resolver)
return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))...
reverse_lazy = lazy(reverse, str)
def clear_url_caches():
global _resolver_cache
global _ns_resolver_cache
Variable | Value |
---|---|
ns_pattern | u'' |
viewname | u'catalog_list' |
args | [] |
current_app | None |
prefix | u'/' |
parts | [u'catalog_list'] |
resolver | <RegexURLResolver 'salon.urls' (None:None) ^/> |
kwargs | {u'pk': ''} |
path | [] |
view | u'catalog_list' |
urlconf | 'salon.urls' |
resolved_path | [] |
/home/pyster/envs/env_radiance/local/lib/python2.7/site-packages/django/core/urlresolvers.py
in _reverse_with_prefix
lookup_view_s = "%s.%s" % (m, n)
else:
lookup_view_s = lookup_view
patterns = [pattern for (possibility, pattern, defaults) in possibilities]
raise NoReverseMatch("Reverse for '%s' with arguments '%s' and keyword "
"arguments '%s' not found. %d pattern(s) tried: %s" %
(lookup_view_s, args, kwargs, len(patterns), patterns))...
class LocaleRegexURLResolver(RegexURLResolver):
"""
A URL resolver that always matches the active language code as URL prefix.
Rather than taking a regex argument, we just override the ``regex``
Variable | Value |
---|---|
result | u'catalog-list/%(pk)s/' |
candidate_pat | u'/catalog-list/%(pk)s/' |
pattern | 'catalog-list/(?P<pk>\\d+)/$' |
self | <RegexURLResolver 'salon.urls' (None:None) ^/> |
_prefix | u'/' |
text_args | [] |
lookup_view | u'catalog_list' |
prefix_args | [] |
params | [u'pk'] |
kwargs | {u'pk': ''} |
matches | True |
args | () |
possibility | [(u'catalog-list/%(pk)s/', [u'pk'])] |
text_kwargs | {u'pk': u''} |
candidate_subs | {u'pk': u''} |
m | None |
lookup_view_s | u'catalog_list' |
n | None |
possibilities | [([(u'catalog-list/%(slug)s/', [u'slug'])], 'catalog-list/(?P<slug>[-\\w]+)/$', {}), ([(u'catalog-list/%(pk)s/', [u'pk'])], 'catalog-list/(?P<pk>\\d+)/$', {})] |
patterns | ['catalog-list/(?P<slug>[-\\w]+)/$', 'catalog-list/(?P<pk>\\d+)/$'] |
prefix_norm | u'/' |
defaults | {} |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_REFERER | 'http://salon-radiance.ru/product/lipid-replenishing-nourish-cream/' |
HTTP_X_FORWARDED_PROTO | 'https' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/18.0' |
SCRIPT_NAME | u'' |
wsgi.input | <gunicorn.http.body.Body object at 0x7f4854a9e4d0> |
REQUEST_METHOD | 'GET' |
HTTP_HOST | 'salon-radiance.ru' |
PATH_INFO | u'/product/lipid-replenishing-nourish-cream/' |
wsgi.multithread | False |
QUERY_STRING | '' |
HTTP_CONNECTION | 'close' |
HTTP_X_REAL_IP | '44.223.31.148' |
HTTP_ACCEPT | '*/*' |
HTTP_USER_AGENT | 'claudebot' |
wsgi.version | (1, 0) |
REMOTE_PORT | '80' |
RAW_URI | '/product/lipid-replenishing-nourish-cream/' |
REMOTE_ADDR | '44.223.31.148' |
wsgi.run_once | False |
wsgi.errors | <open file '<stderr>', mode 'w' at 0x7f485ba7c270> |
wsgi.multiprocess | True |
wsgi.url_scheme | 'https' |
gunicorn.socket | <socket._socketobject object at 0x7f48580bcbb0> |
SERVER_NAME | 'salon-radiance.ru' |
SERVER_PORT | '443' |
HTTP_X_FORWARDED_FOR | '44.223.31.148' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'sdrYBdK9BdTPfy0Ji05anv7eRRrZYsJs' |
CSRF_COOKIE_USED | True |
salon.settings
Setting | Value |
---|---|
COMPRESS_URL | '/static/' |
COMPRESS_OUTPUT_DIR | u'CACHE' |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {u'STATIC_URL': '/static/'} |
USE_L10N | True |
THUMBNAIL_PROCESSORS | ('image_cropping.thumbnail_processors.crop_corners', 'easy_thumbnails.processors.colorspace', 'easy_thumbnails.processors.autocrop', 'easy_thumbnails.processors.scale_and_crop', 'easy_thumbnails.processors.filters', 'easy_thumbnails.processors.background') |
COMPRESS_DATA_URI_MAX_SIZE | 1024 |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'salon.urls' |
MANAGERS | () |
COMPRESS_CSS_HASHING_METHOD | u'mtime' |
BASE_DIR | '/home/pyster/sites/radiance_dev/radiance/salon-radiance.ru' |
DEFAULT_CHARSET | 'utf-8' |
IGNORABLE_404_URLS | () |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/home/pyster/sites/radiance_dev/radiance/salon-radiance.ru/static' |
COMPRESS_CLOSURE_COMPILER_ARGUMENTS | u'' |
USE_THOUSAND_SEPARATOR | False |
COMPRESS_OFFLINE_MANIFEST | u'manifest.json' |
EXTENSIONS | {'Audio': ['.mp3', '.mp4', '.wav', '.aiff', '.midi', '.m4p'], 'Document': ['.pdf', '.doc', '.rtf', '.txt', '.xls', '.csv'], 'Folder': [''], 'Image': ['.jpg', '.jpeg', '.gif', '.png', '.tif', '.tiff'], 'Video': ['.mov', '.wmv', '.mpeg', '.mpg', '.avi', '.rm']} |
ALLOWED_HOSTS | ['salon-radiance.ru:8888', 'salon-radiance.ru', 'www.salon-radiance.ru', 'localhost', 'localhost:8888'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'django.contrib.staticfiles.finders.DefaultStorageFinder', 'compressor.finders.CompressorFinder') |
SESSION_CACHE_ALIAS | 'default' |
COMPRESS_CSSTIDY_ARGUMENTS | u'--template=highest' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
COMPRESS_YUGLIFY_JS_ARGUMENTS | u'--terminal' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': '/home/pyster/sites/radiance_dev/radiance/salon-radiance.ru/db.sqlite3', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'UTC', 'USER': ''}} |
COMPRESS_YUI_BINARY | u'java -jar yuicompressor.jar' |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
COMPRESS_CSS_COMPRESSOR | u'compressor.css.CssCompressor' |
MIDDLEWARE_CLASSES_APPEND | () |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
MEDIA_ROOT | '/home/pyster/sites/radiance_dev/radiance/salon-radiance.ru/media' |
YEAR_MONTH_FORMAT | 'F Y' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
COMPRESS_CLEAN_CSS_ARGUMENTS | u'' |
TEMPLATE_DIRS | ('/home/pyster/sites/radiance_dev/radiance/salon-radiance.ru/templates',) |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
COMPRESS_PARSER | u'compressor.parser.AutoSelectParser' |
COMPRESS_CACHE_BACKEND | u'default' |
IMAGE_CROPPING_JQUERY_URL | 'https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js' |
MIDDLEWARE_CLASSES | ('django.contrib.sessions.middleware.SessionMiddleware', 'raven.contrib.django.raven_compat.middleware.SentryResponseErrorIdMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
WSGI_APPLICATION | 'salon.wsgi.application' |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
COMPRESS_CLEAN_CSS_BINARY | u'cleancss' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
COMPRESS_CSSTIDY_BINARY | u'csstidy' |
SESSION_COOKIE_SECURE | False |
COMPRESS_DEBUG_TOGGLE | None |
COMPRESS_VERBOSE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
SESSION_FILE_PATH | None |
COMPRESS_JS_FILTERS | [u'compressor.filters.jsmin.JSMinFilter'] |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('grappelli', 'filebrowser', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.webdesign', 'django.contrib.sitemaps', 'tinymce', 'tastypie', 'south', 'sorl.thumbnail', 'easy_thumbnails', 'image_cropping', 'compressor', 'radience', 'raven.contrib.django.raven_compat') |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
COMMENTS_ALLOW_PROFANITIES | False |
COMPRESS_YUI_CSS_ARGUMENTS | u'' |
STATICFILES_DIRS | ('static_components',) |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
RAVEN_CONFIG | {'dsn': 'http://none.ru'} |
TIME_FORMAT | 'P' |
COMPRESS_STORAGE | u'compressor.storage.CompressorFileStorage' |
AUTH_USER_MODEL | 'auth.User' |
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') |
COMPRESS_CSS_FILTERS | ['compressor.filters.css_default.CssAbsoluteFilter', 'compressor.filters.cssmin.CSSMinFilter'] |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
EMAIL_HOST_PASSWORD | u'********************' |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
COMPRESS_YUGLIFY_BINARY | u'yuglify' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
COMPRESS_CACHE_KEY_FUNCTION | u'********************' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
MIDDLEWARE_CLASSES_PREPEND | () |
DECIMAL_SEPARATOR | '.' |
COMPRESS_PRECOMPILERS | () |
COMPRESS_MTIME_DELAY | 10 |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
DIRECTORY | 'uploads/' |
INSTALLED_APPS_PREPEND | () |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
INSTALLED_APPS_APPEND | () |
SELECT_FORMATS | {'document': ['Document'], 'file': ['Folder', 'Image', 'Document', 'Video', 'Audio'], 'image': ['Image'], 'media': ['Video', 'Audio']} |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
COMPRESS_ROOT | '/home/pyster/sites/radiance_dev/radiance/salon-radiance.ru/static' |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
COMPRESS_YUI_JS_ARGUMENTS | u'' |
COMPRESS_JS_COMPRESSOR | u'compressor.js.JsCompressor' |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
COMPRESS_MINT_DELAY | 30 |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
COMPRESS_ENABLED | True |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
COMPRESS_OFFLINE | False |
TIME_ZONE | 'UTC' |
IMAGE_CROPPING_THUMB_SIZE | (300, 300) |
SOUTH_MIGRATION_MODULES | {'easy_thumbnails': 'easy_thumbnails.south_migrations'} |
COMPRESS_OFFLINE_CONTEXT | {u'STATIC_URL': '/static/'} |
COMPRESS_YUGLIFY_CSS_ARGUMENTS | u'--terminal' |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
COMPRESS_JINJA2_GET_ENVIRONMENT | None |
DEFAULT_TABLESPACE | '' |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.static', 'django.core.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'django.core.context_processors.request', 'django.core.context_processors.i18n', 'salon.context_processor.helper', 'salon.context_processor.seo', 'salon.context_processor.col2_empl') |
THUMBNAIL_DEBUG | True |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'salon.settings' |
USE_ETAGS | False |
LANGUAGES | (('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('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'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) |
COMPRESS_CLOSURE_COMPILER_BINARY | u'java -jar compiler.jar' |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | () |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
TINYMCE_DEFAULT_CONFIG | {'height': 500, 'theme': 'advanced', 'valid_elements': '*[*]', 'width': 900} |
ABSOLUTE_URL_OVERRIDES | {} |
CACHE_MIDDLEWARE_SECONDS | 600 |
CSRF_COOKIE_HTTPONLY | False |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y') |
IMAGE_CROPPING_SIZE_WARNING | True |
EMAIL_HOST_USER | '' |
PROFANITIES_LIST | u'********************' |
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 500 page.