[Errno 2] No such file or directory: u'/home/www/public_html/media/products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg'
Request Method: | GET |
---|---|
Request URL: | http://jupiterspb.ru/brand/jupiter-lighting/?page=14 |
Django Version: | 1.6.1 |
Exception Type: | IOError |
Exception Value: | [Errno 2] No such file or directory: u'/home/www/public_html/media/products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg' |
Exception Location: | /usr/local/lib/python2.7/dist-packages/django/core/files/storage.py in _open, line 160 |
Python Executable: | /usr/bin/uwsgi-core |
Python Version: | 2.7.3 |
Python Path: | ['/home/www/jupiter/', '.', '', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/pymodules/python2.7'] |
Server time: | Чтв, 28 Мар 2024 17:35:57 +0300 |
In template /home/www/jupiter/upiter/templates/catalog/product_list_include.html
, error at line 14
4 | |
---|---|
5 | {% if product_list %} |
6 | |
7 | <div class="items-page__items container"> |
8 | <div class="items-page__wrap items"> |
9 | {% for product in product_list %} |
10 | <div class="items__item-wrap"> |
11 | <div class="items__item item"> |
12 | <a href="{{ product.get_absolute_url }}" class="item__img-wrap"> |
13 | {% if product.image %} |
14 | <img src="{{ product.thumbnail.url }}" alt="{{product.brand}} {{ product.name|truncatechars:40 }}" class="item__img"> |
15 | {% else %} |
16 | <img src="{{ STATIC_URL }}img/no_photo.jpg"> |
17 | {% endif %} |
18 | |
19 | </a> |
20 | <div class="item__about"> |
21 | <a href="{{ product.get_absolute_url }}" class="item__title">{{product.brand}} {{ product.name|truncatechars:40 }}</a> |
22 | |
23 | <p class="item__price"> |
24 | {{ product|get_price:request|intcomma }} р |
/usr/local/lib/python2.7/dist-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 BrandDetailView at 0x249b9b0>, args=(), kwargs={'slug': u'jupiter-lighting'}, url_name='brand', app_name='None', namespace='catalog') |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x280cdd0>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f51e594ee10> |
request | "<WSGIRequest\npath:/brand/jupiter-lighting/,\nGET:<QueryDict: {u'page': [u'14']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ',\n u'CSRF_COOKIE_USED': True,\n 'DOCUMENT_ROOT': '/home/www',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'jupiterspb.ru',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/brand/jupiter-lighting/',\n 'QUERY_STRING': 'page=14',\n 'REMOTE_ADDR': '34.204.52.16',\n 'REMOTE_PORT': '45680',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/brand/jupiter-lighting/?page=14',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'jupiterspb.ru',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.core': 0,\n 'uwsgi.node': 'debian',\n 'uwsgi.version': '1.2.3-debian',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function BrandDetailView at 0x249b9b0> |
wrapped_callback | <function BrandDetailView at 0x249b9b0> |
resolver | <RegexURLResolver 'upiter.urls' (None:None) ^/> |
callback_kwargs | {'slug': u'jupiter-lighting'} |
response | <django.template.response.TemplateResponse object at 0x3f420d0> |
urlconf | 'upiter.urls' |
/usr/local/lib/python2.7/dist-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 0x3f420d0> |
retval | <django.template.response.TemplateResponse object at 0x3f420d0> |
/usr/local/lib/python2.7/dist-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 0x3f420d0> |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
template | <django.template.base.Template object at 0x3f42710> |
/usr/local/lib/python2.7/dist-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 0x3f42710> |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-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 0x3f42710> |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-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 "main.html"> |
self | [<ExtendsNode: extends "main.html">] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-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 "main.html"> |
self | [<ExtendsNode: extends "main.html">] |
e | IOError(2, 'No such file or directory') |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-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 0x412b890> |
blocks | {u'content': <Block Node: content. Contents: [<Text Node: ' '>]>, u'message_box': <Block Node: message_box. Contents: [<Text Node: ' <div class="cont'>, <IfNode>, <Text Node: ' </div> '>]>, u'meta': <Block Node: meta. Contents: [<Text Node: ' <title>'>, <Block Node: title. Contents: [<Text Node: '?????? ??????????? ? ????'>]>, <Text Node: '</title> <meta na'>, <Block Node: meta_decription. Contents: [<Text Node: '???????? ??????? ????????'>]>, <Text Node: '"> <meta name="ke'>, <Block Node: meta_keywords. Contents: [<Text Node: '???????? ??????? ????????'>]>, <Text Node: '"> '>]>, u'meta_decription': <Block Node: meta_decription. Contents: [<Text Node: '???????? ??????? ????????'>]>, u'meta_keywords': <Block Node: meta_keywords. Contents: [<Text Node: '???????? ??????? ????????'>]>, u'popular': <Block Node: popular. Contents: [<Text Node: ' '>]>, u'title': <Block Node: title. Contents: [<Text Node: '?????? ??????????? ? ????'>]>} |
block_context | <django.template.loader_tags.BlockContext object at 0x7f51d82c2f90> |
n | <Block Node: content. Contents: [<Text Node: ' '>]> |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
compiled_parent | <django.template.base.Template object at 0x7f51d887b950> |
self | <ExtendsNode: extends "main.html"> |
/usr/local/lib/python2.7/dist-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 0x7f51d887b950> |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-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: [<Text Node: ' '>]> |
bit | u'\n\n ' |
bits | [u'', u'\n', u'', u'\n<!DOCTYPE html>\n<html lang="ru">\n<head>\n <meta charset="UTF-8">\n\n <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">\n ', u'\n <title>\n JUPITER LIGHTNING - \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u043c\u0430\u0433\u0430\u0437\u0438\u043d \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f\n</title>\n <meta name="description" content="\n JUPITER LIGHTNING - \u043d\u0430\u0448 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0431\u0440\u0435\u043d\u0434. \u041d\u0430 \u044d\u0442\u043e\u043c \u0441\u0430\u0439\u0442\u0435 \u043c\u044b \u0433\u043e\u0442\u043e\u0432\u044b \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u0442\u044c \u0432\u0430\u043c \u043d\u0430\u0448\u0438 \u0442\u043e\u0432\u0430\u0440\u044b \u043f\u043e \u0441\u0430\u043c\u044b\u043c \u043d\u0438\u0437\u043a\u0438\u043c \u0446\u0435\u043d\u0430\u043c - \u0447\u0442\u043e \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e \u043e\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f.\n">\n <meta name="keywords" content="\n JUPITER LIGHTNING, \u043b\u044e\u0441\u0442\u0440\u044b, \u0441\u0432\u0435\u0442\u0438\u043b\u044c\u043d\u0438\u043a\u0438, \u0431\u0440\u0430\n">\n ', u'\n <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">\n <link rel="icon" href="', u'/static/', u'/favicon.ico" type="image/x-icon">\n <link rel="apple-touch-icon" sizes="57x57" href="', u'/static/', u'img/favicon/apple-icon-57x57.png">\n <link rel="apple-touch-icon" sizes="60x60" href="', u'/static/', u'img/favicon/apple-icon-60x60.png">\n <link rel="apple-touch-icon" sizes="72x72" href="', u'/static/', u'img/favicon/apple-icon-72x72.png">\n <link rel="apple-touch-icon" sizes="76x76" href="', u'/static/', u'img/favicon/apple-icon-76x76.png">\n <link rel="apple-touch-icon" sizes="114x114" href="', u'/static/', u'img/favicon/apple-icon-114x114.png">\n <link rel="apple-touch-icon" sizes="120x120" href="', u'/static/', u'img/favicon/apple-icon-120x120.png">\n <link rel="apple-touch-icon" sizes="144x144" href="', u'/static/', u'img/favicon/apple-icon-144x144.png">\n <link rel="apple-touch-icon" sizes="152x152" href="', u'/static/', u'img/favicon/apple-icon-152x152.png">\n <link rel="apple-touch-icon" sizes="180x180" href="', u'/static/', u'img/favicon/apple-icon-180x180.png">\n <link rel="icon" type="image/png" sizes="192x192" href="', u'/static/', u'img/favicon/android-icon-192x192.png">\n <link rel="icon" type="image/png" sizes="32x32" href="', u'/static/', u'img/favicon/favicon-32x32.png">\n <link rel="icon" type="image/png" sizes="96x96" href="', u'/static/', u'img/favicon/favicon-96x96.png">\n <link rel="icon" type="image/png" sizes="16x16" href="', u'/static/', u'img/favicon/favicon-16x16.png">\n <link rel="manifest" href="', u'/static/', u'img/favicon/manifest.json">\n <meta name="msapplication-TileColor" content="#ffffff">\n <meta name="msapplication-TileImage" content="', u'/static/', u'img/favicon/ms-icon-144x144.png">\n <meta name="theme-color" content="#ffffff">\n <meta name="google-site-verification" content="Tav7zAY1QoQ84pObkUpnhsG4P-T42aXQAROfhkHLI6M" />\n <link href="', u'/static/', u'css/styles.min.css?s=6" type="text/css" rel="stylesheet">\n <script src="', u'/static/', u'js/scripts.min.js"></script>\n <script src="', u'/static/', u'js/base.js"></script>\n <script src="', u'/static/', u'js/main.js"></script>\n <script src="', u'/static/', u'js/jquery.progressTimer.min.js"></script>\n ', u'', u'\n\n ', u'', u'\n\n</head>\n<body>\n <script>\n (function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){\n (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n })(window,document,\'script\',\'//www.google-analytics.com/analytics.js\',\'ga\');\n\n ga(\'create\', \'UA-65207628-1\', \'auto\');\n ga(\'send\', \'pageview\');\n\n </script>\n <!-- Yandex.Metrika counter -->\n <script type="text/javascript">\n (function (d, w, c) {\n (w[c] = w[c] || []).push(function() {\n try {\n w.yaCounter31452343 = new Ya.Metrika({\n id:31452343,\n clickmap:true,\n trackLinks:true,\n accurateTrackBounce:true\n });\n } catch(e) { }\n });\n\n var n = d.getElementsByTagName("script")[0],\n s = d.createElement("script"),\n f = function () { n.parentNode.insertBefore(s, n); };\n s.type = "text/javascript";\n s.async = true;\n s.src = "https://mc.yandex.ru/metrika/watch.js";\n\n if (w.opera == "[object Opera]") {\n d.addEventListener("DOMContentLoaded", f, false);\n } else { f(); }\n })(document, window, "yandex_metrika_callbacks");\n </script>\n <noscript><div><img src="https://mc.yandex.ru/watch/31452343" style="position:absolute; left:-9999px;" alt="" /></div></noscript>\n <!-- /Yandex.Metrika counter -->\n\n ', u'\n\n<header class="header">\n <div class="header__top">\n <div class="header__container container">\n <div class="header__top-wrap">\n\n \n <div class="header__login header-login">\n <div class="header-login__login-wrap">\n <form action="/accounts/login/" class="header-login__form" method="post">\n <input type=\'hidden\' name=\'csrfmiddlewaretoken\' value=\'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ\' />\n <input type="text" name="username" class="header-login__input" placeholder="\u041b\u043e\u0433\u0438\u043d">\n <input type="password" name="password" class="header-login__input" placeholder="\u041f\u0430\u0440\u043e\u043b\u044c">\n <button type="submit" class="header-login__submit btn">\u0412\u043e\u0439\u0442\u0438</button>\n </form>\n </div>\n <div class="header-login__links">\n <a href="/accounts/register/" class="header-login__link">\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f</a>\n <a href="/accounts/reset/" class="header-login__link">\u0417\u0430\u0431\u044b\u043b\u0438 \u043f\u0430\u0440\u043e\u043b\u044c</a>\n </div>\n </div>\n \n </div>\n </div>\n </div>\n <div class="header__bottom">\n <div class="header__container container">\n <div class="header__bottom-wrap">\n <a href="/" class="header__logo-link">\n <img src="/static/img/main-logo.png" alt="\u041a\u0443\u043f\u0438\u0442\u044c \u0441\u0432\u0435\u0442\u0438\u043b\u044c\u043d\u0438\u043a\u0438 \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442-\u043c\u0430\u0433\u0430\u0437\u0438\u043d\u0435 \u043f\u043e \u043d\u0438\u0437\u043a\u0438\u043c \u0446\u0435\u043d\u0430\u043c \u0432 \u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433\u0435" width="218" height="97">\n </a>\n <div class="header__info">\n <nav class="header__nav">\n <button type="button" class="header__nav-btn"><span>\u041c\u0435\u043d\u044e</span></button>\n <ul class="header__menu">\n <li class="header__menu-item">\n <a href="/contacts/" class="header__menu-link">\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u044b</a>\n </li>\n <li class="header__menu-item">\n <a href="/pages/payment/" class="header__menu-link">\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u0438 \u043e\u043f\u043b\u0430\u0442\u0430</a>\n </li>\n <li class="header__menu-item">\n <a href="/pages/guarantee/" class="header__menu-link">\u0413\u0430\u0440\u0430\u043d\u0442\u0438\u044f \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0442</a>\n </li>\n <li class="header__menu-item">\n <a href="/pages/partners/" class="header__menu-link">\u0421\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u0447\u0435\u0441\u0442\u0432\u043e</a>\n </li>\n </ul>\n <div class="header__phones">\n <div class="header__phones-item header__phones-item--active">\n <a href="tel:+78124123251" class="header__phones-link">+7 812 412 32 51</a>\n </div>\n <div class="header__phones-item">\n <a href="tel:+78003500124" class="header__phones-link">+7 800 350 01 24</a>\n </div>\n <div class="header__phones-item">\n <a href="tel:+73653500114" class="header__phones-link">+7 365 350 01 14</a>\n </div>\n </div>\n </nav>\n <div class="header__info-bottom">\n <div class="header__search">\n <form method="GET" action="/product/" class="header__search-form search-form">\n <input type="search"\n name="q"\n value=""\n id="site-search"\n class="search-form__input"\n placeholder="\u041f\u043e\u0438\u0441\u043a \u043f\u043e \u0430\u0440\u0442\u0438\u043a\u0443\u043b\u0443"\n >\n <button type="submit" class="search-form__btn">\u041f\u043e\u0438\u0441\u043a</button>\n </form>\n </div>\n <div class="header__user-info user-info">\n <a class="user-info__fav" onclick="addfav()"></a>\n <a href="/cart/" class="user-info__add"><span class="user-info__num cart_count">0</span></a>\n\n <p class="user-info__cart-info"><b>\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0435</b> <span class="user-info__info-text">\u043f\u0443\u0441\u0442\u043e</span></p>\n\n\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </header>', u'\n ', u'<div id="delivery-info" class="white-popup-block mfp-hide modal">\n<div class="modal__wrap">\n <p class="modal__title">\u041e\u043f\u043b\u0430\u0442\u0430</p>\n <div class="modal__text">\n <p>\u041e\u043f\u043b\u0430\u0442\u0443 \u043c\u043e\u0436\u043d\u043e \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u044c:</p>\n <ol>\n <li>\u043f\u043e \u0431\u0435\u0437\u043d\u0430\u043b\u0438\u0447\u043d\u043e\u043c\u0443 \u0440\u0430\u0441\u0447\u0435\u0442\u0443 (\u0434\u043b\u044f \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043b\u0438\u0446)</li>\n <li>\u043d\u0430\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u043a\u0443\u0440\u044c\u0435\u0440\u0443</li>\n <li>\u043d\u0430\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0443 \u043d\u0430\u0441 \u0432 \u043e\u0444\u0438\u0441\u0435</li>\n <li>\u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u043c\u0438 \u0434\u0435\u043d\u044c\u0433\u0430\u043c\u0438 \u0438 \u0431\u0430\u043d\u043a\u043e\u0432\u0441\u043a\u043e\u0439 \u043a\u0430\u0440\u0442\u043e\u0439</li>\n </ol>\n </div>\n <p class="modal__title">\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430</p>\n <div class="modal__text">\n <p>\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u0442\u043e\u0432\u0430\u0440\u043e\u0432 \u043f\u043e \u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433\u0443 \u0438 \u0440\u0435\u0433\u0438\u043e\u043d\u0430\u043c \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430\u0448\u0438\u043c \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u043e\u043c - \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 Ddelivery, \u0440\u0430\u0441\u0447\u0435\u0442 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0440\u0438 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0437\u0430\u043a\u0430\u0437\u0430. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u043e \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0443 +7 812 412 32 51 \u0432 \u0431\u0443\u0434\u043d\u0438\u0435 \u0434\u043d\u0438 \u0441 9.30 \u0434\u043e 18.00</p>\n </div>\n</div>\n</div>\n\n <div id="return-info" class="white-popup-block mfp-hide modal">\n <div class="modal__wrap">\n <p class="modal__title">\u0412\u043e\u0437\u0440\u0430\u0442 \u0438 \u043e\u0431\u043c\u0435\u043d</p>\n <div class="modal__text">\n <p>\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u0442\u043e\u0432\u0430\u0440\u043e\u0432 \u043f\u043e \u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433\u0443 \u0438 \u0440\u0435\u0433\u0438\u043e\u043d\u0430\u043c \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430\u0448\u0438\u043c \u043f\u0430\u0440\u0442\u043d\u0435\u0440\u043e\u043c - \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 Ddelivery, \u0440\u0430\u0441\u0447\u0435\u0442 \u0441\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u0438 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u0440\u0438 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0437\u0430\u043a\u0430\u0437\u0430. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043f\u043e \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0443 +7 812 412 32 51 \u0432 \u0431\u0443\u0434\u043d\u0438\u0435 \u0434\u043d\u0438 \u0441 9.30 \u0434\u043e 18.00</p>\n </div>\n </div>\n </div>\n\n<a href="#service-info" class="service-info" style="display: none">\u0412\u044b\u0437\u0432\u0430\u0442\u044c \u043e\u043a\u043d\u043e</a>\n<div id="service-info" class="white-popup-block mfp-hide modal">\n <div class="modal__wrap">\n <p class="modal__title">\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f</p>\n <div class="modal__text"></div>\n </div>\n </div>', u'\n <main class="page-wrapper">\n\n ', u'\n', u'\n\n ', u'\n <div class="container message" id="message">\n \n </div>\n ', u'\n\n '] |
self | [<django.template.defaulttags.LoadNode object at 0x412b890>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0x7f51d82afe10>, <Text Node: ' <!DOCTYPE html> <html la'>, <Block Node: meta. Contents: [<Text Node: ' <title>'>, <Block Node: title. Contents: [<Text Node: '?????? ??????????? ? ????'>]>, <Text Node: '</title> <meta na'>, <Block Node: meta_decription. Contents: [<Text Node: '???????? ??????? ????????'>]>, <Text Node: '"> <meta name="ke'>, <Block Node: meta_keywords. Contents: [<Text Node: '???????? ??????? ????????'>]>, <Text Node: '"> '>]>, <Text Node: ' <link rel="shortcut '>, <Variable Node: STATIC_URL>, <Text Node: '/favicon.ico" type="image'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/apple-icon-57'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/apple-icon-60'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/apple-icon-72'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/apple-icon-76'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/apple-icon-11'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/apple-icon-12'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/apple-icon-14'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/apple-icon-15'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/apple-icon-18'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/android-icon-'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/favicon-32x32'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/favicon-96x96'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/favicon-16x16'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/manifest.json'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/ms-icon-144x1'>, <Variable Node: STATIC_URL>, <Text Node: 'css/styles.min.css?s=6" t'>, <Variable Node: STATIC_URL>, <Text Node: 'js/scripts.min.js"></scri'>, <Variable Node: STATIC_URL>, <Text Node: 'js/base.js"></script> '>, <Variable Node: STATIC_URL>, <Text Node: 'js/main.js"></script> '>, <Variable Node: STATIC_URL>, <Text Node: 'js/jquery.progressTimer.m'>, <Tag: addtoblock>, <Text Node: ' '>, <Tag: addtoblock>, <Text Node: ' </head> <body> <scr'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f51d83f2f90>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x412b350>, <Text Node: ' <main class="page-wr'>, <Block Node: popular. Contents: [<Text Node: ' '>]>, <Text Node: ' '>, <Block Node: message_box. Contents: [<Text Node: ' <div class="cont'>, <IfNode>, <Text Node: ' </div> '>]>, <Text Node: ' '>, <Block Node: content. Contents: [<Text Node: ' '>]>, <Text Node: ' </main> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x412bd90>, <Text Node: ' <script> function'>] |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-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: [<Text Node: ' '>]> |
self | [<django.template.defaulttags.LoadNode object at 0x412b890>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0x7f51d82afe10>, <Text Node: ' <!DOCTYPE html> <html la'>, <Block Node: meta. Contents: [<Text Node: ' <title>'>, <Block Node: title. Contents: [<Text Node: '?????? ??????????? ? ????'>]>, <Text Node: '</title> <meta na'>, <Block Node: meta_decription. Contents: [<Text Node: '???????? ??????? ????????'>]>, <Text Node: '"> <meta name="ke'>, <Block Node: meta_keywords. Contents: [<Text Node: '???????? ??????? ????????'>]>, <Text Node: '"> '>]>, <Text Node: ' <link rel="shortcut '>, <Variable Node: STATIC_URL>, <Text Node: '/favicon.ico" type="image'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/apple-icon-57'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/apple-icon-60'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/apple-icon-72'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/apple-icon-76'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/apple-icon-11'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/apple-icon-12'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/apple-icon-14'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/apple-icon-15'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/apple-icon-18'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/android-icon-'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/favicon-32x32'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/favicon-96x96'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/favicon-16x16'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/manifest.json'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon/ms-icon-144x1'>, <Variable Node: STATIC_URL>, <Text Node: 'css/styles.min.css?s=6" t'>, <Variable Node: STATIC_URL>, <Text Node: 'js/scripts.min.js"></scri'>, <Variable Node: STATIC_URL>, <Text Node: 'js/base.js"></script> '>, <Variable Node: STATIC_URL>, <Text Node: 'js/main.js"></script> '>, <Variable Node: STATIC_URL>, <Text Node: 'js/jquery.progressTimer.m'>, <Tag: addtoblock>, <Text Node: ' '>, <Tag: addtoblock>, <Text Node: ' </head> <body> <scr'>, <django.template.loader_tags.ConstantIncludeNode object at 0x7f51d83f2f90>, <Text Node: ' '>, <django.template.loader_tags.ConstantIncludeNode object at 0x412b350>, <Text Node: ' <main class="page-wr'>, <Block Node: popular. Contents: [<Text Node: ' '>]>, <Text Node: ' '>, <Block Node: message_box. Contents: [<Text Node: ' <div class="cont'>, <IfNode>, <Text Node: ' </div> '>]>, <Text Node: ' '>, <Block Node: content. Contents: [<Text Node: ' '>]>, <Text Node: ' </main> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x412bd90>, <Text Node: ' <script> function'>] |
e | IOError(2, 'No such file or directory') |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-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="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f51d82c2f90> |
block | <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]> |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
self | <Block Node: content. Contents: [<Text Node: ' '>]> |
/usr/local/lib/python2.7/dist-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.loader_tags.ConstantIncludeNode object at 0x3bfc650> |
bit | u'</li>\n </ul>\n ' |
bits | [u'\n <div class="container">\n <ul class="breadcrumbs">\n <li class="breadcrumbs__item">\n <a href="/" class="breadcrumbs__link">\u0413\u043b\u0430\u0432\u043d\u0430\u044f</a>\n </li>\n <li class="breadcrumbs__item">', u'JUPITER LIGHTING', u'</li>\n </ul>\n '] |
self | [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>] |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-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.loader_tags.ConstantIncludeNode object at 0x3bfc650> |
self | [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>] |
e | IOError(2, 'No such file or directory') |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py
in render
if settings.TEMPLATE_DEBUG:
raise
self.template = None
def render(self, context):
if not self.template:
return ''
return self.render_template(self.template, context)...
class IncludeNode(BaseIncludeNode):
def __init__(self, template_name, *args, **kwargs):
super(IncludeNode, self).__init__(*args, **kwargs)
self.template_name = template_name
Variable | Value |
---|---|
self | <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650> |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py
in render_template
def render_template(self, template, context):
values = dict([(name, var.resolve(context)) for name, var
in six.iteritems(self.extra_context)])
if self.isolated_context:
return template.render(context.new(values))
context.update(values)
output = template.render(context)...
context.pop()
return output
class ConstantIncludeNode(BaseIncludeNode):
def __init__(self, template_path, *args, **kwargs):
super(ConstantIncludeNode, self).__init__(*args, **kwargs)
Variable | Value |
---|---|
name | u'mode' |
self | <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650> |
values | {u'mode': ''} |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
var | <django.template.base.FilterExpression object at 0x3c0d1d0> |
template | <django.template.base.Template object at 0x7f51d83ad790> |
/usr/local/lib/python2.7/dist-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 0x7f51d83ad790> |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-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 0x7f51d83ad790> |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-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\n' |
bits | [u'', u'\n\n', u"<input type='hidden' name='csrfmiddlewaretoken' value='JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ' />", u'\n\n'] |
self | [<django.template.defaulttags.LoadNode object at 0x7f51d83ff7d0>, <Text Node: ' '>, <django.template.defaulttags.CsrfTokenNode object at 0x3bee650>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-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 | [<django.template.defaulttags.LoadNode object at 0x7f51d83ff7d0>, <Text Node: ' '>, <django.template.defaulttags.CsrfTokenNode object at 0x3bee650>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>, <Text Node: ' '>] |
e | IOError(2, 'No such file or directory') |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-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 | [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>] |
nodelist | [<Text Node: ' <div class="items-p'>, <For Node: for product in product_list, tail_len: 25>, <Text Node: ' </div> </'>, <django.template.loader_tags.ConstantIncludeNode object at 0x3f59910>, <Text Node: ' '>] |
condition | (literal <django.template.base.FilterExpression object at 0x7f51d83ff150>) |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-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 | <For Node: for product in product_list, tail_len: 25> |
bit | u'\n\n <div class="items-page__items container">\n <div class="items-page__wrap items">\n ' |
bits | [u'\n\n <div class="items-page__items container">\n <div class="items-page__wrap items">\n '] |
self | [<Text Node: ' <div class="items-p'>, <For Node: for product in product_list, tail_len: 25>, <Text Node: ' </div> </'>, <django.template.loader_tags.ConstantIncludeNode object at 0x3f59910>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-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 | <For Node: for product in product_list, tail_len: 25> |
self | [<Text Node: ' <div class="items-p'>, <For Node: for product in product_list, tail_len: 25>, <Text Node: ' </div> </'>, <django.template.loader_tags.ConstantIncludeNode object at 0x3f59910>, <Text Node: ' '>] |
e | IOError(2, 'No such file or directory') |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py
in render
else:
context[self.loopvars[0]] = item
# In TEMPLATE_DEBUG mode provide source of the node which
# actually raised the exception
if settings.TEMPLATE_DEBUG:
for node in self.nodelist_loop:
try:
nodelist.append(node.render(context))...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
else:
for node in self.nodelist_loop:
Variable | Value |
---|---|
node | <IfNode> |
len_values | 20 |
pop_context | False |
e | IOError(2, 'No such file or directory') |
item | <Product: Патрон керамический-60W> |
loop_dict | {u'counter': 16, u'counter0': 15, u'first': False, u'last': False, u'parentloop': {}, u'revcounter': 5, u'revcounter0': 4} |
self | <For Node: for product in product_list, tail_len: 25> |
parentloop | {} |
i | 15 |
values | [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>] |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
nodelist | [u'\n <div class="items__item-wrap">\n <div class="items__item item">\n <a href="', u'/product/lyustra-xi-32066-chernyij-zolotojhrom3000k-54w6000k-54w4000k-108w-740-740-160/', u'" class="item__img-wrap">\n ', u'\n <img src="/media/CACHE/images/products/lyustryi/5e3d646a-f4e4-4eec-8911-c6db41a2765a/7c9e85775c312ca6ac6aaa40e652a40a.jpg" alt="JUPITER LIGHTING \u041b\u044e\u0441\u0442\u0440\u0430 XI-3231/6 BK FGD,3000K-49,5W,6..." class="item__img">\n ', u'\n\n </a>\n <div class="item__about">\n <a href="', u'/product/lyustra-xi-32066-chernyij-zolotojhrom3000k-54w6000k-54w4000k-108w-740-740-160/', u'" class="item__title">', u'JUPITER LIGHTING', u' ', u'\u041b\u044e\u0441\u0442\u0440\u0430 XI-3231/6 BK FGD,3000K-49,5W,6...', u'</a>\n\n <p class="item__price">\n ', u'6,495', u' \u0440\n ', u'\n \n\n \n ', u'\n </p>\n ', u'\n <span class="item__price-sale">\u041d\u043e\u0432\u0438\u043d\u043a\u0430</span>\n ', u'\n\n\n </div>\n <button type="button" class="item__btn to_cart', u'2822', u'">\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443</button>\n <script>\n $(document).ready(function () {\n $(\'.to_cart', u'2822', u'\').click(function(){\n $.ajax({\n type: "POST",\n url: "', '/cart/item/', u'",\n data: {\n add_item_id: ', u'2822', u",\n csrfmiddlewaretoken: $('input[name=csrfmiddlewaretoken]').val()\n },\n success: function() {\n count = parseInt($('span.cart_count').html());\n $('span.cart_count').html(count+1);\n $('p.user-info__cart-info').hide();\n AddBacket('\u0422\u043e\u0432\u0430\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443!');\n },\n error: function() {\n //Warning('\u0422\u043e\u0432\u0430\u0440 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043b-\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 0!');\n },\n });\n return false;\n });\n });\n </script>\n </div>\n </div>\n ", u'\n <div class="items__item-wrap">\n <div class="items__item item">\n <a href="', u'/product/lyustra-xi-32375-belyij-derevo3000k-45w6000k-45w4000k-90w-580-580-160/', u'" class="item__img-wrap">\n ', u'\n <img src="/media/CACHE/images/products/lyustryi/98dd7f1d-3f0c-41b2-bb1c-8786978fc49c/d72bcec45a6993b32cc082559e1ac4bd.jpg" alt="JUPITER LIGHTING \u041b\u044e\u0441\u0442\u0440\u0430 XI-3237/5 BK WOOD,3000K-45W,60..." class="item__img">\n ', u'\n\n </a>\n <div class="item__about">\n <a href="', u'/product/lyustra-xi-32375-belyij-derevo3000k-45w6000k-45w4000k-90w-580-580-160/', u'" class="item__title">', u'JUPITER LIGHTING', u' ', u'\u041b\u044e\u0441\u0442\u0440\u0430 XI-3237/5 BK WOOD,3000K-45W,60...', u'</a>\n\n <p class="item__price">\n ', u'4,774', u' \u0440\n ', u'\n \n\n \n ', u'\n </p>\n ', u'\n <span class="item__price-sale">\u041d\u043e\u0432\u0438\u043d\u043a\u0430</span>\n ', u'\n\n\n </div>\n <button type="button" class="item__btn to_cart', u'2820', u'">\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443</button>\n <script>\n $(document).ready(function () {\n $(\'.to_cart', u'2820', u'\').click(function(){\n $.ajax({\n type: "POST",\n url: "', '/cart/item/', u'",\n data: {\n add_item_id: ', u'2820', u",\n csrfmiddlewaretoken: $('input[name=csrfmiddlewaretoken]').val()\n },\n success: function() {\n count = parseInt($('span.cart_count').html());\n $('span.cart_count').html(count+1);\n $('p.user-info__cart-info').hide();\n AddBacket('\u0422\u043e\u0432\u0430\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443!');\n },\n error: function() {\n //Warning('\u0422\u043e\u0432\u0430\u0440 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043b-\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 0!');\n },\n });\n return false;\n });\n });\n </script>\n </div>\n </div>\n ", u'\n <div class="items__item-wrap">\n <div class="items__item item">\n <a href="', u'/product/lyustra-xi-32375-chernyij-derevo3000k-45w6000k-45w4000k-90w-580-580-160/', u'" class="item__img-wrap">\n ', u'\n <img src="/media/CACHE/images/products/lyustryi/e06c27cd-5406-46d2-be82-afd77fd86176/df6a1db3d18366593b754e01a59203f7.jpg" alt="JUPITER LIGHTING \u041b\u044e\u0441\u0442\u0440\u0430 XI-3237/5 Grey WOOD,3000K-45W..." class="item__img">\n ', u'\n\n </a>\n <div class="item__about">\n <a href="', u'/product/lyustra-xi-32375-chernyij-derevo3000k-45w6000k-45w4000k-90w-580-580-160/', u'" class="item__title">', u'JUPITER LIGHTING', u' ', u'\u041b\u044e\u0441\u0442\u0440\u0430 XI-3237/5 Grey WOOD,3000K-45W...', u'</a>\n\n <p class="item__price">\n ', u'4,988', u' \u0440\n ', u'\n \n\n \n ', u'\n </p>\n ', u'\n <span class="item__price-sale">\u041d\u043e\u0432\u0438\u043d\u043a\u0430</span>\n ', u'\n\n\n </div>\n <button type="button" class="item__btn to_cart', u'2821', u'">\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443</button>\n <script>\n $(document).ready(function () {\n $(\'.to_cart', u'2821', u'\').click(function(){\n $.ajax({\n type: "POST",\n url: "', '/cart/item/', u'",\n data: {\n add_item_id: ', u'2821', u",\n csrfmiddlewaretoken: $('input[name=csrfmiddlewaretoken]').val()\n },\n success: function() {\n count = parseInt($('span.cart_count').html());\n $('span.cart_count').html(count+1);\n $('p.user-info__cart-info').hide();\n AddBacket('\u0422\u043e\u0432\u0430\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443!');\n },\n error: function() {\n //Warning('\u0422\u043e\u0432\u0430\u0440 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043b-\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 0!');\n },\n });\n return false;\n });\n });\n </script>\n </div>\n </div>\n ", u'\n <div class="items__item-wrap">\n <div class="items__item item">\n <a href="', u'/product/lyustra-xi-32216-belyij-derevo3000k-45w6000k-45w4000k-90w-805-805-170-1/', u'" class="item__img-wrap">\n ', u'\n <img src="/media/CACHE/images/products/lyustryi/0e556b62-7292-4b8c-b8e6-f3889ec56eda/2d4eb9c47d9b09ac6a21d4496cf6f4c5.jpg" alt="JUPITER LIGHTING \u041b\u044e\u0441\u0442\u0440\u0430 XI-3237/5 WH WOOD,3000K-45W,6..." class="item__img">\n ', u'\n\n </a>\n <div class="item__about">\n <a href="', u'/product/lyustra-xi-32216-belyij-derevo3000k-45w6000k-45w4000k-90w-805-805-170-1/', u'" class="item__title">', u'JUPITER LIGHTING', u' ', u'\u041b\u044e\u0441\u0442\u0440\u0430 XI-3237/5 WH WOOD,3000K-45W,6...', u'</a>\n\n <p class="item__price">\n ', u'4,382', u' \u0440\n ', u'\n \n\n \n ', u'\n </p>\n ', u'\n <span class="item__price-sale">\u041d\u043e\u0432\u0438\u043d\u043a\u0430</span>\n ', u'\n\n\n </div>\n <button type="button" class="item__btn to_cart', u'2819', u'">\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443</button>\n <script>\n $(document).ready(function () {\n $(\'.to_cart', u'2819', u'\').click(function(){\n $.ajax({\n type: "POST",\n url: "', '/cart/item/', u'",\n data: {\n add_item_id: ', u'2819', u",\n csrfmiddlewaretoken: $('input[name=csrfmiddlewaretoken]').val()\n },\n success: function() {\n count = parseInt($('span.cart_count').html());\n $('span.cart_count').html(count+1);\n $('p.user-info__cart-info').hide();\n AddBacket('\u0422\u043e\u0432\u0430\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443!');\n },\n error: function() {\n //Warning('\u0422\u043e\u0432\u0430\u0440 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043b-\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 0!');\n },\n });\n return false;\n });\n });\n </script>\n </div>\n </div>\n ", u'\n <div class="items__item-wrap">\n <div class="items__item item">\n <a href="', u'/product/lyustra-y-00586-led-hrom-660w-e14-230v-50-50/', u'" class="item__img-wrap">\n ', u'\n <img src="/media/CACHE/images/products/lyustryi/507aee37-1a2b-4245-8bd6-592e88b91df3/68095137761203d990d41ac413632b60.jpg" alt="JUPITER LIGHTING \u041b\u044e\u0441\u0442\u0440\u0430 Y 0058/6 LED \u0445\u0440\u043e\u043c-6*60W E14 23..." class="item__img">\n ', u'\n\n </a>\n <div class="item__about">\n <a href="', u'/product/lyustra-y-00586-led-hrom-660w-e14-230v-50-50/', u'" class="item__title">', u'JUPITER LIGHTING', u' ', u'\u041b\u044e\u0441\u0442\u0440\u0430 Y 0058/6 LED \u0445\u0440\u043e\u043c-6*60W E14 23...', u'</a>\n\n <p class="item__price">\n ', u'4,226', u' \u0440\n ', u'\n \n\n \n ', u'\n </p>\n ', u'\n \n <span class="item__price-sale">-55%</span>\n \n <div class="item__price-old">9,280 \u0420</div>\n ', u'\n\n\n </div>\n <button type="button" class="item__btn to_cart', u'573', u'">\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443</button>\n <script>\n $(document).ready(function () {\n $(\'.to_cart', u'573', u'\').click(function(){\n $.ajax({\n type: "POST",\n url: "', '/cart/item/', u'",\n data: {\n add_item_id: ', u'573', u",\n csrfmiddlewaretoken: $('input[name=csrfmiddlewaretoken]').val()\n },\n success: function() {\n count = parseInt($('span.cart_count').html());\n $('span.cart_count').html(count+1);\n $('p.user-info__cart-info').hide();\n AddBacket('\u0422\u043e\u0432\u0430\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443!');\n },\n error: function() {\n //Warning('\u0422\u043e\u0432\u0430\u0440 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043b-\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 0!');\n },\n });\n return false;\n });\n });\n </script>\n </div>\n </div>\n ", u'\n <div class="items__item-wrap">\n <div class="items__item item">\n <a href="', u'/product/lyustra-y00-6334-led-hrom-460w-e14-230v23-40-40/', u'" class="item__img-wrap">\n ', u'\n <img src="/media/CACHE/images/products/lyustryi/62089bc2-97aa-4415-ba6c-fe03e0050039/abe5abf7ae402f4a7e031ae1a611b65a.jpg" alt="JUPITER LIGHTING \u041b\u044e\u0441\u0442\u0440\u0430 Y00-633/4 LED \u0445\u0440\u043e\u043c-4*60W E14 2..." class="item__img">\n ', u'\n\n </a>\n <div class="item__about">\n <a href="', u'/product/lyustra-y00-6334-led-hrom-460w-e14-230v23-40-40/', u'" class="item__title">', u'JUPITER LIGHTING', u' ', u'\u041b\u044e\u0441\u0442\u0440\u0430 Y00-633/4 LED \u0445\u0440\u043e\u043c-4*60W E14 2...', u'</a>\n\n <p class="item__price">\n ', u'3,668', u' \u0440\n ', u'\n \n\n \n ', u'\n </p>\n ', u'\n \n <span class="item__price-sale">-42%</span>\n \n <div class="item__price-old">6,274 \u0420</div>\n ', u'\n\n\n </div>\n <button type="button" class="item__btn to_cart', u'574', u'">\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443</button>\n <script>\n $(document).ready(function () {\n $(\'.to_cart', u'574', u'\').click(function(){\n $.ajax({\n type: "POST",\n url: "', '/cart/item/', u'",\n data: {\n add_item_id: ', u'574', u",\n csrfmiddlewaretoken: $('input[name=csrfmiddlewaretoken]').val()\n },\n success: function() {\n count = parseInt($('span.cart_count').html());\n $('span.cart_count').html(count+1);\n $('p.user-info__cart-info').hide();\n AddBacket('\u0422\u043e\u0432\u0430\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443!');\n },\n error: function() {\n //Warning('\u0422\u043e\u0432\u0430\u0440 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043b-\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 0!');\n },\n });\n return false;\n });\n });\n </script>\n </div>\n </div>\n ", u'\n <div class="items__item-wrap">\n <div class="items__item item">\n <a href="', u'/product/lyustra-y00-6426-led-hrom-660w-e14-230v26-50-50/', u'" class="item__img-wrap">\n ', u'\n <img src="/media/CACHE/images/products/lyustryi/980d45d3-0f54-4c61-9f5c-35b49ae5806a/50ad825f895254a1971a3388172c395c.jpg" alt="JUPITER LIGHTING \u041b\u044e\u0441\u0442\u0440\u0430 Y00-642/6 LED \u0445\u0440\u043e\u043c-6*60W E14 2..." class="item__img">\n ', u'\n\n </a>\n <div class="item__about">\n <a href="', u'/product/lyustra-y00-6426-led-hrom-660w-e14-230v26-50-50/', u'" class="item__title">', u'JUPITER LIGHTING', u' ', u'\u041b\u044e\u0441\u0442\u0440\u0430 Y00-642/6 LED \u0445\u0440\u043e\u043c-6*60W E14 2...', u'</a>\n\n <p class="item__price">\n ', u'5,138', u' \u0440\n ', u'\n \n\n \n ', u'\n </p>\n ', u'\n \n <span class="item__price-sale">-41%</span>\n \n <div class="item__price-old">8,637 \u0420</div>\n ', u'\n\n\n </div>\n <button type="button" class="item__btn to_cart', u'575', u'">\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443</button>\n <script>\n $(document).ready(function () {\n $(\'.to_cart', u'575', u'\').click(function(){\n $.ajax({\n type: "POST",\n url: "', '/cart/item/', u'",\n data: {\n add_item_id: ', u'575', u",\n csrfmiddlewaretoken: $('input[name=csrfmiddlewaretoken]').val()\n },\n success: function() {\n count = parseInt($('span.cart_count').html());\n $('span.cart_count').html(count+1);\n $('p.user-info__cart-info').hide();\n AddBacket('\u0422\u043e\u0432\u0430\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443!');\n },\n error: function() {\n //Warning('\u0422\u043e\u0432\u0430\u0440 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043b-\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 0!');\n },\n });\n return false;\n });\n });\n </script>\n </div>\n </div>\n ", u'\n <div class="items__item-wrap">\n <div class="items__item item">\n <a href="', u'/product/lyustra-y00-6634-led-hrom-460w-e14-230v26-40-40/', u'" class="item__img-wrap">\n ', u'\n <img src="/media/CACHE/images/products/lyustryi/ca087bcc-9ac7-41de-aca0-f3ca880f5305/cd6b56ced471ba6dfd96e281f3996181.jpg" alt="JUPITER LIGHTING \u041b\u044e\u0441\u0442\u0440\u0430 Y00-663/4 LED \u0445\u0440\u043e\u043c-4*60W E14 2..." class="item__img">\n ', u'\n\n </a>\n <div class="item__about">\n <a href="', u'/product/lyustra-y00-6634-led-hrom-460w-e14-230v26-40-40/', u'" class="item__title">', u'JUPITER LIGHTING', u' ', u'\u041b\u044e\u0441\u0442\u0440\u0430 Y00-663/4 LED \u0445\u0440\u043e\u043c-4*60W E14 2...', u'</a>\n\n <p class="item__price">\n ', u'3,584', u' \u0440\n ', u'\n \n\n \n ', u'\n </p>\n ', u'\n \n <span class="item__price-sale">-42%</span>\n \n <div class="item__price-old">6,148 \u0420</div>\n ', u'\n\n\n </div>\n <button type="button" class="item__btn to_cart', u'576', u'">\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443</button>\n <script>\n $(document).ready(function () {\n $(\'.to_cart', u'576', u'\').click(function(){\n $.ajax({\n type: "POST",\n url: "', '/cart/item/', u'",\n data: {\n add_item_id: ', u'576', u",\n csrfmiddlewaretoken: $('input[name=csrfmiddlewaretoken]').val()\n },\n success: function() {\n count = parseInt($('span.cart_count').html());\n $('span.cart_count').html(count+1);\n $('p.user-info__cart-info').hide();\n AddBacket('\u0422\u043e\u0432\u0430\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443!');\n },\n error: function() {\n //Warning('\u0422\u043e\u0432\u0430\u0440 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043b-\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 0!');\n },\n });\n return false;\n });\n });\n </script>\n </div>\n </div>\n ", u'\n <div class="items__item-wrap">\n <div class="items__item item">\n <a href="', u'/product/lyustra-y00-8134-led-hrom-460w-e14-230v26-40-40/', u'" class="item__img-wrap">\n ', u'\n <img src="/media/CACHE/images/products/lyustryi/57993851-7a25-4a06-9eeb-24da5dbd5910/9cccc73a8a15a2e63d5c3f8f480788b5.jpg" alt="JUPITER LIGHTING \u041b\u044e\u0441\u0442\u0440\u0430 Y00-813/4 LED \u0445\u0440\u043e\u043c-4*60W E14 2..." class="item__img">\n ', u'\n\n </a>\n <div class="item__about">\n <a href="', u'/product/lyustra-y00-8134-led-hrom-460w-e14-230v26-40-40/', u'" class="item__title">', u'JUPITER LIGHTING', u' ', u'\u041b\u044e\u0441\u0442\u0440\u0430 Y00-813/4 LED \u0445\u0440\u043e\u043c-4*60W E14 2...', u'</a>\n\n <p class="item__price">\n ', u'3,710', u' \u0440\n ', u'\n \n\n \n ', u'\n </p>\n ', u'\n \n <span class="item__price-sale">-42%</span>\n \n <div class="item__price-old">6,409 \u0420</div>\n ', u'\n\n\n </div>\n <button type="button" class="item__btn to_cart', u'577', u'">\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443</button>\n <script>\n $(document).ready(function () {\n $(\'.to_cart', u'577', u'\').click(function(){\n $.ajax({\n type: "POST",\n url: "', '/cart/item/', u'",\n data: {\n add_item_id: ', u'577', u",\n csrfmiddlewaretoken: $('input[name=csrfmiddlewaretoken]').val()\n },\n success: function() {\n count = parseInt($('span.cart_count').html());\n $('span.cart_count').html(count+1);\n $('p.user-info__cart-info').hide();\n AddBacket('\u0422\u043e\u0432\u0430\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443!');\n },\n error: function() {\n //Warning('\u0422\u043e\u0432\u0430\u0440 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043b-\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 0!');\n },\n });\n return false;\n });\n });\n </script>\n </div>\n </div>\n ", u'\n <div class="items__item-wrap">\n <div class="items__item item">\n <a href="', u'/product/lyustra-y00-8633-led-hrom-360w-e14-230v-30-30/', u'" class="item__img-wrap">\n ', u'\n <img src="/media/CACHE/images/products/lyustryi/a0c55e1b-00e8-4ea6-b9f2-a2dae3977006/d5859913a71c290018dce32f692efc80.jpg" alt="JUPITER LIGHTING \u041b\u044e\u0441\u0442\u0440\u0430 Y00-863/3 LED \u0445\u0440\u043e\u043c-3*60W E14 2..." class="item__img">\n ', u'\n\n </a>\n <div class="item__about">\n <a href="', u'/product/lyustra-y00-8633-led-hrom-360w-e14-230v-30-30/', u'" class="item__title">', u'JUPITER LIGHTING', u' ', u'\u041b\u044e\u0441\u0442\u0440\u0430 Y00-863/3 LED \u0445\u0440\u043e\u043c-3*60W E14 2...', u'</a>\n\n <p class="item__price">\n ', u'1,647', u' \u0440\n ', u'\n \n\n \n ', u'\n </p>\n ', u'\n \n <span class="item__price-sale">-59%</span>\n \n <div class="item__price-old">3,962 \u0420</div>\n ', u'\n\n\n </div>\n <button type="button" class="item__btn to_cart', u'578', u'">\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443</button>\n <script>\n $(document).ready(function () {\n $(\'.to_cart', u'578', u'\').click(function(){\n $.ajax({\n type: "POST",\n url: "', '/cart/item/', u'",\n data: {\n add_item_id: ', u'578', u",\n csrfmiddlewaretoken: $('input[name=csrfmiddlewaretoken]').val()\n },\n success: function() {\n count = parseInt($('span.cart_count').html());\n $('span.cart_count').html(count+1);\n $('p.user-info__cart-info').hide();\n AddBacket('\u0422\u043e\u0432\u0430\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443!');\n },\n error: function() {\n //Warning('\u0422\u043e\u0432\u0430\u0440 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043b-\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 0!');\n },\n });\n return false;\n });\n });\n </script>\n </div>\n </div>\n ", u'\n <div class="items__item-wrap">\n <div class="items__item item">\n <a href="', u'/product/lyustra-y00-8926-led-hrom-660w-e14-230v24-45-45/', u'" class="item__img-wrap">\n ', u'\n <img src="/media/CACHE/images/products/lyustryi/7e5c7e29-e6cb-40af-ace2-290470cc4932/a57807a5d5d03d7a9ee4c75e20ec5058.jpg" alt="JUPITER LIGHTING \u041b\u044e\u0441\u0442\u0440\u0430 Y00-892/6 LED \u0445\u0440\u043e\u043c-6*60W E14 2..." class="item__img">\n ', u'\n\n </a>\n <div class="item__about">\n <a href="', u'/product/lyustra-y00-8926-led-hrom-660w-e14-230v24-45-45/', u'" class="item__title">', u'JUPITER LIGHTING', u' ', u'\u041b\u044e\u0441\u0442\u0440\u0430 Y00-892/6 LED \u0445\u0440\u043e\u043c-6*60W E14 2...', u'</a>\n\n <p class="item__price">\n ', u'4,900', u' \u0440\n ', u'\n \n\n \n ', u'\n </p>\n ', u'\n \n <span class="item__price-sale">-41%</span>\n \n <div class="item__price-old">8,333 \u0420</div>\n ', u'\n\n\n </div>\n <button type="button" class="item__btn to_cart', u'579', u'">\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443</button>\n <script>\n $(document).ready(function () {\n $(\'.to_cart', u'579', u'\').click(function(){\n $.ajax({\n type: "POST",\n url: "', '/cart/item/', u'",\n data: {\n add_item_id: ', u'579', u",\n csrfmiddlewaretoken: $('input[name=csrfmiddlewaretoken]').val()\n },\n success: function() {\n count = parseInt($('span.cart_count').html());\n $('span.cart_count').html(count+1);\n $('p.user-info__cart-info').hide();\n AddBacket('\u0422\u043e\u0432\u0430\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443!');\n },\n error: function() {\n //Warning('\u0422\u043e\u0432\u0430\u0440 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043b-\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 0!');\n },\n });\n return false;\n });\n });\n </script>\n </div>\n </div>\n ", u'\n <div class="items__item-wrap">\n <div class="items__item item">\n <a href="', u'/product/lyustra-y00-9566-led-hrom-660w-e14-230v27-45-45/', u'" class="item__img-wrap">\n ', u'\n <img src="/media/CACHE/images/products/lyustryi/bc2c37f5-19ce-4f3b-b7c2-caf86ae35aa1/12669266adf7511bfe1e3150d29b29e9.jpg" alt="JUPITER LIGHTING \u041b\u044e\u0441\u0442\u0440\u0430 Y00-956/6 LED \u0445\u0440\u043e\u043c-6*60W E14 2..." class="item__img">\n ', u'\n\n </a>\n <div class="item__about">\n <a href="', u'/product/lyustra-y00-9566-led-hrom-660w-e14-230v27-45-45/', u'" class="item__title">', u'JUPITER LIGHTING', u' ', u'\u041b\u044e\u0441\u0442\u0440\u0430 Y00-956/6 LED \u0445\u0440\u043e\u043c-6*60W E14 2...', u'</a>\n\n <p class="item__price">\n ', u'5,383', u' \u0440\n ', u'\n \n\n \n ', u'\n </p>\n ', u'\n \n <span class="item__price-sale">-37%</span>\n \n <div class="item__price-old">8,442 \u0420</div>\n ', u'\n\n\n </div>\n <button type="button" class="item__btn to_cart', u'580', u'">\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443</button>\n <script>\n $(document).ready(function () {\n $(\'.to_cart', u'580', u'\').click(function(){\n $.ajax({\n type: "POST",\n url: "', '/cart/item/', u'",\n data: {\n add_item_id: ', u'580', u",\n csrfmiddlewaretoken: $('input[name=csrfmiddlewaretoken]').val()\n },\n success: function() {\n count = parseInt($('span.cart_count').html());\n $('span.cart_count').html(count+1);\n $('p.user-info__cart-info').hide();\n AddBacket('\u0422\u043e\u0432\u0430\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443!');\n },\n error: function() {\n //Warning('\u0422\u043e\u0432\u0430\u0440 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043b-\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 0!');\n },\n });\n return false;\n });\n });\n </script>\n </div>\n </div>\n ", u'\n <div class="items__item-wrap">\n <div class="items__item item">\n <a href="', u'/product/novyij-1/', u'" class="item__img-wrap">\n ', u'\n <img src="/static/img/no_photo.jpg">\n ', u'\n\n </a>\n <div class="item__about">\n <a href="', u'/product/novyij-1/', u'" class="item__title">', u'JUPITER LIGHTING', u' ', u'\u041d\u043e\u0432\u044b\u0439', u'</a>\n\n <p class="item__price">\n ', u'0', u' \u0440\n ', u'\n \n <span class="under-order">\u041f\u043e\u0434 \u0437\u0430\u043a\u0430\u0437</span>\n \n ', u'\n </p>\n ', u'', u'\n\n\n </div>\n <button type="button" class="item__btn to_cart', u'875', u'">\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443</button>\n <script>\n $(document).ready(function () {\n $(\'.to_cart', u'875', u'\').click(function(){\n $.ajax({\n type: "POST",\n url: "', '/cart/item/', u'",\n data: {\n add_item_id: ', u'875', u",\n csrfmiddlewaretoken: $('input[name=csrfmiddlewaretoken]').val()\n },\n success: function() {\n count = parseInt($('span.cart_count').html());\n $('span.cart_count').html(count+1);\n $('p.user-info__cart-info').hide();\n AddBacket('\u0422\u043e\u0432\u0430\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443!');\n },\n error: function() {\n //Warning('\u0422\u043e\u0432\u0430\u0440 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043b-\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 0!');\n },\n });\n return false;\n });\n });\n </script>\n </div>\n </div>\n ", u'\n <div class="items__item-wrap">\n <div class="items__item item">\n <a href="', u'/product/novyij-2/', u'" class="item__img-wrap">\n ', u'\n <img src="/static/img/no_photo.jpg">\n ', u'\n\n </a>\n <div class="item__about">\n <a href="', u'/product/novyij-2/', u'" class="item__title">', u'JUPITER LIGHTING', u' ', u'\u041d\u043e\u0432\u044b\u0439', u'</a>\n\n <p class="item__price">\n ', u'0', u' \u0440\n ', u'\n \n <span class="under-order">\u041f\u043e\u0434 \u0437\u0430\u043a\u0430\u0437</span>\n \n ', u'\n </p>\n ', u'', u'\n\n\n </div>\n <button type="button" class="item__btn to_cart', u'876', u'">\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443</button>\n <script>\n $(document).ready(function () {\n $(\'.to_cart', u'876', u'\').click(function(){\n $.ajax({\n type: "POST",\n url: "', '/cart/item/', u'",\n data: {\n add_item_id: ', u'876', u",\n csrfmiddlewaretoken: $('input[name=csrfmiddlewaretoken]').val()\n },\n success: function() {\n count = parseInt($('span.cart_count').html());\n $('span.cart_count').html(count+1);\n $('p.user-info__cart-info').hide();\n AddBacket('\u0422\u043e\u0432\u0430\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443!');\n },\n error: function() {\n //Warning('\u0422\u043e\u0432\u0430\u0440 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043b-\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 0!');\n },\n });\n return false;\n });\n });\n </script>\n </div>\n </div>\n ", u'\n <div class="items__item-wrap">\n <div class="items__item item">\n <a href="', u'/product/novyij-3/', u'" class="item__img-wrap">\n ', u'\n <img src="/static/img/no_photo.jpg">\n ', u'\n\n </a>\n <div class="item__about">\n <a href="', u'/product/novyij-3/', u'" class="item__title">', u'JUPITER LIGHTING', u' ', u'\u041d\u043e\u0432\u044b\u0439', u'</a>\n\n <p class="item__price">\n ', u'0', u' \u0440\n ', u'\n \n <span class="under-order">\u041f\u043e\u0434 \u0437\u0430\u043a\u0430\u0437</span>\n \n ', u'\n </p>\n ', u'', u'\n\n\n </div>\n <button type="button" class="item__btn to_cart', u'877', u'">\u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443</button>\n <script>\n $(document).ready(function () {\n $(\'.to_cart', u'877', u'\').click(function(){\n $.ajax({\n type: "POST",\n url: "', '/cart/item/', u'",\n data: {\n add_item_id: ', u'877', u",\n csrfmiddlewaretoken: $('input[name=csrfmiddlewaretoken]').val()\n },\n success: function() {\n count = parseInt($('span.cart_count').html());\n $('span.cart_count').html(count+1);\n $('p.user-info__cart-info').hide();\n AddBacket('\u0422\u043e\u0432\u0430\u0440 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u0432 \u043a\u043e\u0440\u0437\u0438\u043d\u0443!');\n },\n error: function() {\n //Warning('\u0422\u043e\u0432\u0430\u0440 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043b-\u0432\u043e \u0442\u043e\u0432\u0430\u0440\u0430 \u0431\u043e\u043b\u044c\u0448\u0435 0!');\n },\n });\n return false;\n });\n });\n </script>\n </div>\n </div>\n ", u'\n <div class="items__item-wrap">\n <div class="items__item item">\n <a href="', u'/product/patron-keramicheskij-60w/', u'" class="item__img-wrap">\n '] |
unpack | False |
/usr/local/lib/python2.7/dist-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 | <ImageFieldFile: products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg> |
nodelist | [<Text Node: ' '>, <Variable Node: product.thumbnail.url>, <Text Node: '" alt="'>, <Variable Node: product.brand>, <Text Node: ' '>, <Variable Node: product.name|truncatechars:40>, <Text Node: '" class="item__img"> '>] |
condition | (literal <django.template.base.FilterExpression object at 0x7f51d83f2450>) |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-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 | <Variable Node: product.thumbnail.url> |
bit | u'\n <img src="' |
bits | [u'\n <img src="'] |
self | [<Text Node: ' '>, <Variable Node: product.thumbnail.url>, <Text Node: '" alt="'>, <Variable Node: product.brand>, <Text Node: ' '>, <Variable Node: product.name|truncatechars:40>, <Text Node: '" class="item__img"> '>] |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-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 | <Variable Node: product.thumbnail.url> |
self | [<Text Node: ' '>, <Variable Node: product.thumbnail.url>, <Text Node: '" alt="'>, <Variable Node: product.brand>, <Text Node: ' '>, <Variable Node: product.name|truncatechars:40>, <Text Node: '" class="item__img"> '>] |
e | IOError(2, 'No such file or directory') |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-packages/django/template/debug.py
in render
e.django_template_source = node.source
raise
class DebugVariableNode(VariableNode):
def render(self, context):
try:
output = self.filter_expression.resolve(context)...
output = template_localtime(output, use_tz=context.use_tz)
output = localize(output, use_l10n=context.use_l10n)
output = force_text(output)
except UnicodeDecodeError:
return ''
except Exception as e:
Variable | Value |
---|---|
self | <Variable Node: product.thumbnail.url> |
e | IOError(2, 'No such file or directory') |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-packages/django/template/base.py
in resolve
self.filters = filters
self.var = var_obj
def resolve(self, context, ignore_failures=False):
if isinstance(self.var, Variable):
try:
obj = self.var.resolve(context)...
except VariableDoesNotExist:
if ignore_failures:
obj = None
else:
if settings.TEMPLATE_STRING_IF_INVALID:
global invalid_var_format_string
Variable | Value |
---|---|
self | <django.template.base.FilterExpression object at 0x7f51d83f8950> |
ignore_failures | False |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-packages/django/template/base.py
in resolve
var)
self.lookups = tuple(var.split(VARIABLE_ATTRIBUTE_SEPARATOR))
def resolve(self, context):
"""Resolve this variable against a given context."""
if self.lookups is not None:
# We're dealing with a variable that needs to be resolved
value = self._resolve_lookup(context)...
else:
# We're dealing with a literal, so it's already been "resolved"
value = self.literal
if self.translate:
if self.message_context:
return pgettext_lazy(self.message_context, value)
Variable | Value |
---|---|
self | <Variable: u'product.thumbnail.url'> |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-packages/django/template/base.py
in _resolve_lookup
try: # dictionary lookup
current = current[bit]
except (TypeError, AttributeError, KeyError, ValueError):
try: # attribute lookup
# Don't return class attributes if the class is the context:
if isinstance(current, BaseContext) and getattr(type(current), bit):
raise AttributeError
current = getattr(current, bit)...
except (TypeError, AttributeError):
try: # list-index lookup
current = current[int(bit)]
except (IndexError, # list index out of range
ValueError, # invalid literal for int()
KeyError, # current is a dict without `int(bit)` key
Variable | Value |
---|---|
current | Error in formatting: [Errno 2] No such file or directory: u'/home/www/public_html/media/products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg' |
bit | u'url' |
e | IOError(2, 'No such file or directory') |
self | <Variable: u'product.thumbnail.url'> |
context | [{'False': False, 'None': None, 'True': True}, {u'paginator': <django.core.paginator.Paginator object at 0x3f42ed0>, 'category': None, 'brand': <Brand: JUPITER LIGHTING>, u'object_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], 'collection': None, u'page_obj': <Page 14 of 20>, u'product_list': [<Product: Люстра XI-3231/6 BK FGD,3000K-49,5W,6000K-49,5W,4000K-99W>, <Product: Люстра XI-3237/5 BK WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 Grey WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра XI-3237/5 WH WOOD,3000K-45W,6000K-45W,4000K-90W>, <Product: Люстра Y 0058/6 LED хром-6*60W E14 230V-50-50>, <Product: Люстра Y00-633/4 LED хром-4*60W E14 230V,23-40-40>, <Product: Люстра Y00-642/6 LED хром-6*60W E14 230V,26-50-50>, <Product: Люстра Y00-663/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-813/4 LED хром-4*60W E14 230V,26-40-40>, <Product: Люстра Y00-863/3 LED хром-3*60W E14 230V-30-30>, <Product: Люстра Y00-892/6 LED хром-6*60W E14 230V,24-45-45>, <Product: Люстра Y00-956/6 LED хром-6*60W E14 230V,27-45-45>, <Product: Новый>, <Product: Новый>, <Product: Новый>, <Product: Патрон керамический-60W>, <Product: Подвес 721 Лифт Вояж D 35/1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира бел./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Лира кор./1 бел-1*60W E27 230V>, <Product: Подвес 721 Лифт Онли белый/1 бел-1*60W E27 230V>], u'is_paginated': True, u'view': <upiter.catalog.views.BrandDetailView object at 0x3f42e10>}, {u'csrf_token': <django.utils.functional.__proxy__ object at 0x3c0a290>}, {'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x3c0a4d0>, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x412b550>>}, {'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x3f42810>}, {u'LANGUAGES': (('ru', 'Russian'),), u'LANGUAGE_BIDI': False, u'LANGUAGE_CODE': 'ru-ru'}, {u'request': <WSGIRequest path:/brand/jupiter-lighting/, GET:<QueryDict: {u'page': [u'14']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', u'CSRF_COOKIE': u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ', u'CSRF_COOKIE_USED': True, 'DOCUMENT_ROOT': '/home/www', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'jupiterspb.ru', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/brand/jupiter-lighting/', 'QUERY_STRING': 'page=14', 'REMOTE_ADDR': '34.204.52.16', 'REMOTE_PORT': '45680', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'http', 'REQUEST_URI': '/brand/jupiter-lighting/?page=14', u'SCRIPT_NAME': u'', 'SERVER_NAME': 'jupiterspb.ru', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.core': 0, 'uwsgi.node': 'debian', 'uwsgi.version': '1.2.3-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x252b540>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x3e6d7d0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>}, {u'MEDIA_URL': '/media/'}, {u'STATIC_URL': '/static/'}, {'SEKIZAI_CONTENT_HOLDER': {u'css': [u'\n '], u'js': [u'\n ']}}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="containe'>, <Variable Node: brand.name>, <Text Node: '</li> </ul> '>, <django.template.loader_tags.ConstantIncludeNode object at 0x3bfc650>, <Text Node: ' <p>'>, <Variable Node: brand.text|default:""|safe>, <Text Node: '</p> </div> '>]>}, {u'mode': ''}, {u'forloop': {u'revcounter0': 4, u'last': False, u'counter': 16, u'parentloop': {}, u'revcounter': 5, u'counter0': 15, u'first': False}, u'product': <Product: Патрон керамический-60W>}] |
/usr/local/lib/python2.7/dist-packages/imagekit/cachefiles/__init__.py
in url
@property
def path(self):
return self._storage_attr('path')
@property
def url(self):
return self._storage_attr('url')...
def generate(self, force=False):
"""
Generate the file. If ``force`` is ``True``, the file will be generated
whether the file already exists or not.
Variable | Value |
---|---|
self | Error in formatting: [Errno 2] No such file or directory: u'/home/www/public_html/media/products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg' |
/usr/local/lib/python2.7/dist-packages/imagekit/cachefiles/__init__.py
in _storage_attr
# require the file to exist; they do not need its contents to work. This
# distinction gives the user the flexibility to create a cache file
# strategy that assumes the existence of a file, but can still make the file
# available when its contents are required.
def _storage_attr(self, attr):
if getattr(self, '_file', None) is None:
existence_required.send(sender=self, file=self)...
fn = getattr(self.storage, attr)
return fn(self.name)
@property
def path(self):
return self._storage_attr('path')
Variable | Value |
---|---|
self | Error in formatting: [Errno 2] No such file or directory: u'/home/www/public_html/media/products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg' |
attr | 'url' |
/usr/local/lib/python2.7/dist-packages/django/dispatch/dispatcher.py
in send
Returns a list of tuple pairs [(receiver, response), ... ].
"""
responses = []
if not self.receivers or self.sender_receivers_cache.get(sender) is NO_RECEIVERS:
return responses
for receiver in self._live_receivers(sender):
response = receiver(signal=self, sender=sender, **named)...
responses.append((receiver, response))
return responses
def send_robust(self, sender, **named):
"""
Send signal from sender to all connected receivers catching errors.
Variable | Value |
---|---|
responses | [] |
self | <django.dispatch.dispatcher.Signal object at 0x315e4d0> |
receiver | <bound method ?.existence_required_receiver of <imagekit.registry.GeneratorRegistry object at 0x31e6050>> |
named | Error in formatting: [Errno 2] No such file or directory: u'/home/www/public_html/media/products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg' |
sender | Error in formatting: [Errno 2] No such file or directory: u'/home/www/public_html/media/products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg' |
/usr/local/lib/python2.7/dist-packages/imagekit/registry.py
in existence_required_receiver
autodiscover()
return self._generators.keys()
def content_required_receiver(self, sender, file, **kwargs):
self._receive(file, 'on_content_required')
def existence_required_receiver(self, sender, file, **kwargs):
self._receive(file, 'on_existence_required')...
def _receive(self, file, callback):
generator = file.generator
# FIXME: I guess this means you can't register functions?
if generator.__class__ in self._generators.values():
Variable | Value |
---|---|
self | <imagekit.registry.GeneratorRegistry object at 0x31e6050> |
sender | Error in formatting: [Errno 2] No such file or directory: u'/home/www/public_html/media/products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg' |
file | Error in formatting: [Errno 2] No such file or directory: u'/home/www/public_html/media/products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg' |
kwargs | {'signal': <django.dispatch.dispatcher.Signal object at 0x315e4d0>} |
/usr/local/lib/python2.7/dist-packages/imagekit/registry.py
in _receive
def _receive(self, file, callback):
generator = file.generator
# FIXME: I guess this means you can't register functions?
if generator.__class__ in self._generators.values():
# Only invoke the strategy method for registered generators.
call_strategy_method(file, callback)...
class SourceGroupRegistry(object):
"""
The source group registry is responsible for listening to source_* signals
on source groups, and relaying them to the image generated file strategies
Variable | Value |
---|---|
callback | 'on_existence_required' |
self | <imagekit.registry.GeneratorRegistry object at 0x31e6050> |
generator | <imagekit.specs.DynamicSpec object at 0x7f51d888be50> |
file | Error in formatting: [Errno 2] No such file or directory: u'/home/www/public_html/media/products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg' |
/usr/local/lib/python2.7/dist-packages/imagekit/utils.py
in call_strategy_method
return File(content)
def call_strategy_method(file, method_name):
strategy = getattr(file, 'cachefile_strategy', None)
fn = getattr(strategy, method_name, None)
if fn is not None:
fn(file)...
def sanitize_cache_key(key):
if settings.IMAGEKIT_USE_MEMCACHED_SAFE_CACHE_KEY:
# Memcached keys can't contain whitespace or control characters.
new_key = bad_memcached_key_chars.sub('', key)
Variable | Value |
---|---|
method_name | 'on_existence_required' |
fn | <bound method JustInTime.on_existence_required of <imagekit.cachefiles.strategies.JustInTime object at 0x3c99850>> |
file | Error in formatting: [Errno 2] No such file or directory: u'/home/www/public_html/media/products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg' |
strategy | <imagekit.cachefiles.strategies.JustInTime object at 0x3c99850> |
/usr/local/lib/python2.7/dist-packages/imagekit/cachefiles/strategies.py
in on_existence_required
class JustInTime(object):
"""
A strategy that ensures the file exists right before it's needed.
"""
def on_existence_required(self, file):
file.generate()...
def on_content_required(self, file):
file.generate()
class Optimistic(object):
Variable | Value |
---|---|
self | <imagekit.cachefiles.strategies.JustInTime object at 0x3c99850> |
file | Error in formatting: [Errno 2] No such file or directory: u'/home/www/public_html/media/products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg' |
/usr/local/lib/python2.7/dist-packages/imagekit/cachefiles/__init__.py
in generate
def generate(self, force=False):
"""
Generate the file. If ``force`` is ``True``, the file will be generated
whether the file already exists or not.
"""
if force or getattr(self, '_file', None) is None:
self.cachefile_backend.generate(self, force)...
def _generate(self):
# Generate the file
content = generate(self.generator)
actual_name = self.storage.save(self.name, content)
Variable | Value |
---|---|
self | Error in formatting: [Errno 2] No such file or directory: u'/home/www/public_html/media/products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg' |
force | False |
/usr/local/lib/python2.7/dist-packages/imagekit/cachefiles/backends.py
in generate
"""
The most basic file backend. The storage is consulted to see if the file
exists. Files are generated synchronously.
"""
def generate(self, file, force=False):
self.generate_now(file, force=force)...
def _exists(self, file):
return bool(getattr(file, '_file', None)
or file.storage.exists(file.name))
Variable | Value |
---|---|
self | <imagekit.cachefiles.backends.Simple object at 0x3c998d0> |
force | False |
file | Error in formatting: [Errno 2] No such file or directory: u'/home/www/public_html/media/products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg' |
/usr/local/lib/python2.7/dist-packages/imagekit/cachefiles/backends.py
in generate_now
def generate(self, file, force=False):
raise NotImplementedError
def generate_now(self, file, force=False):
if force or self.get_state(file) not in (CacheFileState.GENERATING, CacheFileState.EXISTS):
self.set_state(file, CacheFileState.GENERATING)
file._generate()...
self.set_state(file, CacheFileState.EXISTS)
class Simple(CachedFileBackend):
"""
The most basic file backend. The storage is consulted to see if the file
Variable | Value |
---|---|
self | <imagekit.cachefiles.backends.Simple object at 0x3c998d0> |
force | False |
file | Error in formatting: [Errno 2] No such file or directory: u'/home/www/public_html/media/products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg' |
/usr/local/lib/python2.7/dist-packages/imagekit/cachefiles/__init__.py
in _generate
"""
if force or getattr(self, '_file', None) is None:
self.cachefile_backend.generate(self, force)
def _generate(self):
# Generate the file
content = generate(self.generator)...
actual_name = self.storage.save(self.name, content)
# We're going to reuse the generated file, so we need to reset the pointer.
content.seek(0)
Variable | Value |
---|---|
self | Error in formatting: [Errno 2] No such file or directory: u'/home/www/public_html/media/products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg' |
/usr/local/lib/python2.7/dist-packages/imagekit/utils.py
in generate
def generate(generator):
"""
Calls the ``generate()`` method of a generator instance, and then wraps the
result in a Django File object so Django knows how to save it.
"""
content = generator.generate()...
# If the file doesn't have a name, Django will raise an Exception while
# trying to save it, so we create a named temporary file.
if not getattr(content, 'name', None):
f = NamedTemporaryFile()
f.write(content.read())
Variable | Value |
---|---|
generator | <imagekit.specs.DynamicSpec object at 0x7f51d888be50> |
/usr/local/lib/python2.7/dist-packages/imagekit/specs/__init__.py
in generate
if not self.source:
raise MissingSource("The spec '%s' has no source file associated"
" with it." % self)
# TODO: Move into a generator base class
# TODO: Factor out a generate_image function so you can create a generator and only override the PIL.Image creating part. (The tricky part is how to deal with original_format since generator base class won't have one.)
try:
img = open_image(self.source)...
except ValueError:
# Re-open the file -- https://code.djangoproject.com/ticket/13750
self.source.open()
img = open_image(self.source)
Variable | Value |
---|---|
self | <imagekit.specs.DynamicSpec object at 0x7f51d888be50> |
/usr/local/lib/python2.7/dist-packages/pilkit/utils.py
in open_image
def img_to_fobj(img, format, autoconvert=True, **options):
return save_image(img, StringIO(), format, options, autoconvert)
def open_image(target):
target.seek(0)...
return Image.open(target)
_pil_init = 0
Variable | Value |
---|---|
target | <ImageFieldFile: products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg> |
/usr/local/lib/python2.7/dist-packages/django/core/files/utils.py
in <lambda>
flush = property(lambda self: self.file.flush)
isatty = property(lambda self: self.file.isatty)
newlines = property(lambda self: self.file.newlines)
read = property(lambda self: self.file.read)
readinto = property(lambda self: self.file.readinto)
readline = property(lambda self: self.file.readline)
readlines = property(lambda self: self.file.readlines)
seek = property(lambda self: self.file.seek)...
softspace = property(lambda self: self.file.softspace)
tell = property(lambda self: self.file.tell)
truncate = property(lambda self: self.file.truncate)
write = property(lambda self: self.file.write)
writelines = property(lambda self: self.file.writelines)
xreadlines = property(lambda self: self.file.xreadlines)
Variable | Value |
---|---|
self | <ImageFieldFile: products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg> |
/usr/local/lib/python2.7/dist-packages/django/db/models/fields/files.py
in _get_file
def _require_file(self):
if not self:
raise ValueError("The '%s' attribute has no file associated with it." % self.field.name)
def _get_file(self):
self._require_file()
if not hasattr(self, '_file') or self._file is None:
self._file = self.storage.open(self.name, 'rb')...
return self._file
def _set_file(self, file):
self._file = file
def _del_file(self):
Variable | Value |
---|---|
self | <ImageFieldFile: products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg> |
/usr/local/lib/python2.7/dist-packages/django/core/files/storage.py
in open
# The following methods represent a public interface to private methods.
# These shouldn't be overridden by subclasses unless absolutely necessary.
def open(self, name, mode='rb'):
"""
Retrieves the specified file from storage.
"""
return self._open(name, mode)...
def save(self, name, content):
"""
Saves new content to the file specified by name. The content should be
a proper File object or any python file-like object, ready to be read
from the beginning.
Variable | Value |
---|---|
self | <django.core.files.storage.FileSystemStorage object at 0x3bf5710> |
mode | 'rb' |
name | u'products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg' |
/usr/local/lib/python2.7/dist-packages/django/core/files/storage.py
in _open
self.base_location = location
self.location = abspathu(self.base_location)
if base_url is None:
base_url = settings.MEDIA_URL
self.base_url = base_url
def _open(self, name, mode='rb'):
return File(open(self.path(name), mode))...
def _save(self, name, content):
full_path = self.path(name)
# Create any intermediate directories that do not exist.
# Note that there is a race between os.path.exists and os.makedirs:
Variable | Value |
---|---|
self | <django.core.files.storage.FileSystemStorage object at 0x3bf5710> |
mode | 'rb' |
name | u'products/75e00767-9a62-4c24-901b-7cf0f24bbe36.jpg' |
Variable | Value |
---|---|
page | u'14' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | True |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/brand/jupiter-lighting/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | 'page=14' |
CONTENT_LENGTH | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'jupiterspb.ru' |
REMOTE_ADDR | '34.204.52.16' |
wsgi.url_scheme | 'http' |
SERVER_PORT | '80' |
uwsgi.node | 'debian' |
DOCUMENT_ROOT | '/home/www' |
uwsgi.core | 0 |
wsgi.input | <uwsgi._Input object at 0x3e6d7d0> |
HTTP_HOST | 'jupiterspb.ru' |
wsgi.multithread | True |
REQUEST_URI | '/brand/jupiter-lighting/?page=14' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
wsgi.run_once | False |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x252b540> |
REMOTE_PORT | '45680' |
REQUEST_SCHEME | 'http' |
uwsgi.version | '1.2.3-debian' |
CONTENT_TYPE | '' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'JIWuRAFSvSsqlRsYw2D5j4c4GVJoLhHQ' |
CSRF_COOKIE_USED | True |
upiter.settings
Setting | Value |
---|---|
SHOP_BUCH_FOR_INVOICE | u'\u0412\u043e\u043b\u043e\u0434\u044c\u043a\u0438\u043d\u0430 \u0418.\u0412.' |
PAGINATE_PRODUCTS_BY | 20 |
GRAPPELLI_INDEX_DASHBOARD | 'upiter.dashboard.CustomIndexDashboard' |
SERVER_EMAIL | 'robot@trubyppu.ru' |
USE_L10N | False |
SHOP_ADDRESS_MODEL | 'upiter.accounts.models.AddressDetail' |
IMAGEKIT_CACHEFILE_DIR | 'CACHE/images' |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'ru-Ru' |
ROOT_URLCONF | 'upiter.urls' |
MANAGERS | [['upiter', 'info@jupiterspb.ru']] |
SHOP_PRODUCT_MODEL | 'upiter.catalog.models.Product' |
ACCOUNT_ACTIVATION_DAYS | 3 |
SHOP_ORDER_MODEL | 'upiter.catalog.models.Order' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
DBTEMPLATES_USE_CODEMIRROR | False |
MONTH_DAY_FORMAT | 'F j' |
CKEDITOR_UPLOAD_PATH | 'uploads/' |
IMAGEKIT_USE_MEMCACHED_SAFE_CACHE_KEY | u'********************' |
FTP_PASSWORD | u'********************' |
ALLOWED_HOSTS | ['*'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | 'Upiter' |
SEND_BROKEN_LINK_EMAILS | False |
DDELIVERY_CREATE_ORDER_URL | 'http://cabinet.ddelivery.ru/api/v1/a695d377c2dba5b460ac7e6f9e87aa5b/order_create.json' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
SHOP_CART_MODIFIERS | ('upiter.catalog.cart_modifier.UserModifier',) |
DDELIVERY_CALC_URL | 'http://cabinet.ddelivery.ru/api/v1/a695d377c2dba5b460ac7e6f9e87aa5b/calculator.json' |
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': 'jupiter.db', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'Europe/Moscow', 'USER': ''}} |
TEMPLATE_DEBUG | True |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
ROBOKASSA_LOGIN | 'jupiter_lighting' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.db.DatabaseCache', 'LOCATION': 'upiter_cache'}} |
ELASTICSEARCH_INDEX_SETTINGS | {'settings': {'analysis': {'analyzer': {'morphology_analyzer': {'filter': ['lowercase', 'russian_morphology', 'english_morphology', 'ru_stopwords'], 'tokenizer': 'standard', 'type': 'custom'}}, 'filter': {'ru_stopwords': {'stopwords': u'\u0430,\u0431\u0435\u0437,\u0431\u043e\u043b\u0435\u0435,\u0431\u044b,\u0431\u044b\u043b,\u0431\u044b\u043b\u0430,\u0431\u044b\u043b\u0438,\u0431\u044b\u043b\u043e,\u0431\u044b\u0442\u044c,\u0432,\u0432\u0430\u043c,\u0432\u0430\u0441,\u0432\u0435\u0441\u044c,\u0432\u043e,\u0432\u043e\u0442,\u0432\u0441\u0435,\u0432\u0441\u0435\u0433\u043e,\u0432\u0441\u0435\u0445,\u0432\u044b,\u0433\u0434\u0435,\u0434\u0430,\u0434\u0430\u0436\u0435,\u0434\u043b\u044f,\u0434\u043e,\u0435\u0433\u043e,\u0435\u0435,\u0435\u0441\u043b\u0438,\u0435\u0441\u0442\u044c,\u0435\u0449\u0435,\u0436\u0435,\u0437\u0430,\u0437\u0434\u0435\u0441\u044c,\u0438,\u0438\u0437,\u0438\u043b\u0438,\u0438\u043c,\u0438\u0445,\u043a,\u043a\u0430\u043a,\u043a\u043e,\u043a\u043e\u0433\u0434\u0430,\u043a\u0442\u043e,\u043b\u0438,\u043b\u0438\u0431\u043e,\u043c\u043d\u0435,\u043c\u043e\u0436\u0435\u0442,\u043c\u044b,\u043d\u0430,\u043d\u0430\u0434\u043e,\u043d\u0430\u0448,\u043d\u0435,\u043d\u0435\u0433\u043e,\u043d\u0435\u0435,\u043d\u0435\u0442,\u043d\u0438,\u043d\u0438\u0445,\u043d\u043e,\u043d\u0443,\u043e,\u043e\u0431,\u043e\u0434\u043d\u0430\u043a\u043e,\u043e\u043d,\u043e\u043d\u0430,\u043e\u043d\u0438,\u043e\u043d\u043e,\u043e\u0442,\u043e\u0447\u0435\u043d\u044c,\u043f\u043e,\u043f\u043e\u0434,\u043f\u0440\u0438,\u0441,\u0441\u043e,\u0442\u0430\u043a,\u0442\u0430\u043a\u0436\u0435,\u0442\u0430\u043a\u043e\u0439,\u0442\u0430\u043c,\u0442\u0435,\u0442\u0435\u043c,\u0442\u043e,\u0442\u043e\u0433\u043e,\u0442\u043e\u0436\u0435,\u0442\u043e\u0439,\u0442\u043e\u043b\u044c\u043a\u043e,\u0442\u043e\u043c,\u0442\u044b,\u0443,\u0443\u0436\u0435,\u0445\u043e\u0442\u044f,\u0447\u0435\u0433\u043e,\u0447\u0435\u0439,\u0447\u0435\u043c,\u0447\u0442\u043e,\u0447\u0442\u043e\u0431\u044b,\u0447\u044c\u0435,\u0447\u044c\u044f,\u044d\u0442\u0430,\u044d\u0442\u0438,\u044d\u0442\u043e,\u044f,a,an,and,are,as,at,be,but,by,for,if,in,into,is,it,no,not,of,on,or,such,that,the,their,then,there,these,they,this,to,was,will,with', 'type': 'stop'}}}}} |
SHOP_FORCE_LOGIN | True |
IMAGEKIT_CACHE_BACKEND | 'django.core.cache.backends.dummy.DummyCache' |
SESSION_COOKIE_PATH | '/' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
DBTEMPLATES_AUTO_POPULATE_CONTENT | True |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
IMAGEKIT_SPEC_CACHEFILE_NAMER | 'imagekit.cachefiles.namers.source_name_as_path' |
FILE_UPLOAD_TEMP_DIR | None |
ROBOKASSA_PASSWORD1 | u'********************' |
ROBOKASSA_PASSWORD2 | u'********************' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
CKEDITOR_JQUERY_URL | '//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', 'dbtemplates.loader.Loader') |
CKEDITOR_IMAGE_BACKEND | 'pillow' |
WSGI_APPLICATION | 'upiter.wsgi.application' |
SHOP_PAYMENT_BACKENDS | ('upiter.common.payment.PayOnDelivery', 'upiter.common.payment.CashlessPayment', 'upiter.common.payment.RobokassaPayment', 'upiter.common.payment.RobokassaPaymentOtherName') |
IMAGEKIT_CACHE_PREFIX | 'imagekit:' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
HAYSTACK_CONNECTIONS | {'default': {'ENGINE': 'elasticstack.backends.ConfigurableElasticSearchEngine', 'INDEX_NAME': 'jupiter', 'TIMEOUT': 500, 'URL': 'http://127.0.0.1:9200/'}} |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
DEFAULT_CHARSET | 'utf-8' |
DBTEMPLATES_ADD_DEFAULT_SITE | True |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
HONEYPOT_FIELD_NAME | 'max_rest_time' |
SHOP_PICKUP_SHIPPING_ADDRESS | u'\u0420\u043e\u0441\u0441\u0438\u044f, \u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433 \u0423\u043b. \u0424\u0430\u044f\u043d\u0441\u043e\u0432\u0430\u044f,\u0434. 26' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('grappelli.dashboard', 'grappelli', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.flatpages', 'django.contrib.humanize', 'django.contrib.sitemaps', 'honeypot', 'sekizai', 'imagekit', 'shop', 'ckeditor', 'registration', 'south', 'robokassa', 'dbtemplates', 'upiter.accounts', 'upiter.catalog', 'upiter.common', 'upiter.sales', 'upiter.contacts', 'upiter.ddelivery', 'haystack', 'upiter.seo') |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
DDELIVERY_POINTS_LIST_URL | 'http://cabinet.ddelivery.ru/api/v1/a695d377c2dba5b460ac7e6f9e87aa5b/delivery_points.json' |
COMMENTS_ALLOW_PROFANITIES | False |
STATIC_ROOT | '/home/www/public_html/static/' |
STATICFILES_DIRS | ('/home/www/jupiter/upiter/static/',) |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DBTEMPLATES_USE_TINYMCE | False |
DBTEMPLATES_CACHE_BACKEND | 'default' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
ELASTICSEARCH_DEFAULT_ANALYZER | 'morphology_analyzer' |
AUTH_USER_MODEL | 'accounts.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') |
CSRF_COOKIE_NAME | 'csrftoken' |
EMAIL_HOST_PASSWORD | u'********************' |
GRAPPELLI_ADMIN_TITLE | u'\u042e\u043f\u0438\u0442\u0435\u0440' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
DDELIVERY_API_KEY | u'********************' |
SESSION_ENGINE | 'django.contrib.sessions.backends.signed_cookies' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
DECIMAL_SEPARATOR | '.' |
DDELIVERY_SHOP_REF_NUM | 1 |
IGNORABLE_404_URLS | () |
LOCALE_PATHS | ('/home/www/jupiter/upiter/locale/',) |
TEMPLATE_STRING_IF_INVALID | '' |
DDELIVERY_CITIES_URL | 'http://cabinet.ddelivery.ru/daemon/?_action=autocomplete' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | True |
TEMPLATE_DIRS | ('/home/www/jupiter/upiter/templates/',) |
FIXTURE_DIRS | () |
EMAIL_HOST | 'smtp.yandex.ru' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/home/www/public_html/media/' |
DBTEMPLATES_MEDIA_PREFIX | '/static/dbtemplates/' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | ('ivan', 'turnthepage41@gmail.com') |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'robot@trubyppu.ru' |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
FTP_USER | 'svet' |
CKEDITOR_CONFIGS | {'awesome_ckeditor': {'toolbar': 'Basic'}, 'default': {'language': 'ru', 'toolbar': [['Styles', 'Format', 'Bold', 'Italic', 'Underline', 'Strike', 'SpellChecker', 'Undo', 'Redo', 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-'], ['Image', 'Flash', 'Table', 'HorizontalRule'], ['Link', 'Unlink'], ['TextColor', 'BGColor'], ['Smiley', 'SpecialChar'], ['Source']]}} |
IMAGEKIT_CACHEFILE_NAMER | 'imagekit.cachefiles.namers.hash' |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
ORDERS_REMOTE_DIR | 'Web1C/Orders' |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
FTP_HOST | '192.168.1.245' |
SEO_FOR_MODELS | ['upiter.catalog.models.Category', 'upiter.catalog.models.Product', 'upiter.catalog.models.Brand', 'upiter.catalog.models.Style', 'upiter.catalog.models.SEOCatalog'] |
IMAGEKIT_DEFAULT_CACHEFILE_BACKEND | 'imagekit.cachefiles.backends.Simple' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
TIME_ZONE | 'Europe/Moscow' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EXCHANGE_REMOTE_DIR | 'Web1C' |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
SHOP_REQUISITES | u"\u041a\u041f\u041f 780601001 \u041e\u041e\u041e '\u042e\u043f\u0438\u0442\u0435\u0440 \u041f\u043b\u044e\u0441' 195298 \u0433. \u0421\u0430\u043d\u043a\u0442-\u041f\u0435\u0442\u0435\u0440\u0431\u0443\u0440\u0433, \u041a\u043e\u0441\u044b\u0433\u0438\u043d\u0430 \u043f\u0440-\u043a\u0442. \u0434. 27,\u043a. 1, \u043b\u0438\u0442. \u0410 \u043f\u043e\u043c. 43\u041d" |
IMAGEKIT_DEFAULT_CACHEFILE_STRATEGY | 'imagekit.cachefiles.strategies.JustInTime' |
DEFAULT_TABLESPACE | '' |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.core.context_processors.i18n', 'django.core.context_processors.request', 'django.core.context_processors.media', 'django.core.context_processors.static', 'sekizai.context_processors.sekizai') |
THUMBNAIL_DEBUG | True |
SESSION_COOKIE_AGE | 7776000 |
SETTINGS_MODULE | 'upiter.settings' |
USE_ETAGS | False |
LANGUAGES | (('ru', 'Russian'),) |
DEFAULT_INDEX_TABLESPACE | '' |
INTERNAL_IPS | () |
STATIC_URL | '/static/' |
EMAIL_PORT | '587' |
ROBOKASSA_TEST_MODE | False |
USE_TZ | False |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHOP_DIRECTOR_FOR_INVOICE | u'\u0412\u043e\u043b\u043e\u0434\u044c\u043a\u0438\u043d\u0430 \u0418.\u0412.' |
SHOP_SHIPPING_BACKENDS | ('upiter.common.shipping.PickupShipping',) |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
IMAGEKIT_DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DBTEMPLATES_USE_REVERSION | False |
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') |
EXCHANGE_TMP_DIR | '/home/www/temp/' |
EMAIL_HOST_USER | 'robot@trubyppu.ru' |
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.