Reverse for 'product' with arguments '()' and keyword arguments '{u'slug': u'CP-004'}' not found. 1 pattern(s) tried: ['catalog/product/(?P<slug>[a-z0-9-]+?)/$']
Request Method: | GET |
---|---|
Request URL: | http://detsad-komplekt.ru/catalog/category/stend-pedagoga-v-detskom-sadu/ |
Django Version: | 1.8 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'product' with arguments '()' and keyword arguments '{u'slug': u'CP-004'}' not found. 1 pattern(s) tried: ['catalog/product/(?P<slug>[a-z0-9-]+?)/$'] |
Exception Location: | /home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/core/urlresolvers.py in _reverse_with_prefix, line 496 |
Python Executable: | /home/detsadkomplekt/ENV/bin/python2.7 |
Python Version: | 2.7.6 |
Python Path: | ['/home/detsadkomplekt/project', '/home/detsadkomplekt/ENV/bin', '/home/detsadkomplekt/project', '/home/detsadkomplekt/ENV/lib/python2.7', '/home/detsadkomplekt/ENV/lib/python2.7/plat-x86_64-linux-gnu', '/home/detsadkomplekt/ENV/lib/python2.7/lib-tk', '/home/detsadkomplekt/ENV/lib/python2.7/lib-old', '/home/detsadkomplekt/ENV/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages', '/home/detsadkomplekt/ENV/lib/python2.7/site-packages'] |
Server time: | Вт, 19 Мар 2024 13:04:32 +0300 |
In template /home/detsadkomplekt/project/templates/catalog/product_list_chunk.html
, error at line 23
13 | <i class="fa fa-camera fa-stack-1x"></i> |
---|---|
14 | <i class="fa fa-ban fa-stack-2x text-danger"></i> |
15 | </span> |
16 | <br /> |
17 | <span class="no-img-text" style="font-size:0.8em">пока без фото</span> |
18 | </a> |
19 | </p> |
20 | </div> |
21 | {% else %} |
22 | <div class="img-block" style="height:255px;"> |
23 | <p><a href=" {{ product.get_absolute_url }} " class="link-p" style=""> |
24 | <img class="img-responsive" src="{% adjust product.images.first.src 'fit' width=350 height=250 %}" alt="{{ product }}"> |
25 | </a></p> |
26 | </div> |
27 | {% endif %} |
28 | <div class="caption cat-caption" style=""> |
29 | <p class="cat-title-main text-center"> |
30 | <a href="{{ product.get_absolute_url }}">{{ product|capfirst|truncatechars:60 }}</a> |
31 | </p> |
32 | </div> |
33 | <div id="prod-price" class="text-center"> |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
response = middleware_method(request, response)
# Complain if the template response middleware returned None (a common error).
if response is None:
raise ValueError(
"%s.process_template_response didn't return an "
"HttpResponse object. It returned None instead."
% (middleware_method.__self__.__class__.__name__))
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=catalog.views.ProductListByCategoryView, args=(), kwargs={'slug': u'stend-pedagoga-v-detskom-sadu'}, url_name=category, app_name=None, namespaces=[]) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f4fd7c26a90>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f4fdd940d10> |
request | "<WSGIRequest\npath:/catalog/category/stend-pedagoga-v-detskom-sadu/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'4yhn0GutdMkh90ky4zbk7GpoUlfPgiCx',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'detsad-komplekt.ru',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '52.205.218.160',\n 'PATH_INFO': u'/catalog/category/stend-pedagoga-v-detskom-sadu/',\n 'QUERY_STRING': '',\n 'RAW_URI': '/catalog/category/stend-pedagoga-v-detskom-sadu/',\n 'REMOTE_ADDR': '',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'detsad-komplekt.ru',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.0',\n 'SERVER_SOFTWARE': 'gunicorn/19.3.0',\n 'gunicorn.socket': <socket._socketobject object at 0x7f4fd5a8e050>,\n 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f4fd66f9f90>,\n 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4fd56f9e90>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function ProductListByCategoryView at 0x7f4fd7bbe500> |
wrapped_callback | <function ProductListByCategoryView at 0x7f4fd7bbe500> |
resolver | <RegexURLResolver u'core.urls' (None:None) ^/> |
callback_kwargs | {'slug': u'stend-pedagoga-v-detskom-sadu'} |
response | <django.template.response.TemplateResponse object at 0x7f4fd5a205d0> |
urlconf | u'core.urls' |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/response.py
in render
If the content has already been rendered, this is a no-op.
Returns the baked response instance.
"""
retval = self
if not self._is_rendered:
self.content = self.rendered_content...
for post_callback in self._post_render_callbacks:
newretval = post_callback(retval)
if newretval is not None:
retval = newretval
return retval
Variable | Value |
---|---|
self | <django.template.response.TemplateResponse object at 0x7f4fd5a205d0> |
retval | <django.template.response.TemplateResponse object at 0x7f4fd5a205d0> |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/response.py
in rendered_content
This *does not* set the final content of the response. To set the
response content, you must either call render(), or set the
content explicitly using the value of this property.
"""
template = self._resolve_template(self.template_name)
context = self._resolve_context(self.context_data)
content = template.render(context, self._request)...
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 0x7f4fd5a205d0> |
context | {u'category': <Category: Стенд педагога в детском саду>, u'is_paginated': False, u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'page_obj': <Page 1 of 1>, u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>} |
template | <django.template.backends.django.Template object at 0x7f4fd5af6650> |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/backends/django.py
in render
warnings.warn(
"render() must be called with a dict, not a Context.",
RemovedInDjango20Warning, stacklevel=2)
else:
context = make_context(context, request)
return self.template.render(context)...
Variable | Value |
---|---|
self | <django.template.backends.django.Template object at 0x7f4fd5af6650> |
request | "<WSGIRequest\npath:/catalog/category/stend-pedagoga-v-detskom-sadu/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'4yhn0GutdMkh90ky4zbk7GpoUlfPgiCx',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'detsad-komplekt.ru',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '52.205.218.160',\n 'PATH_INFO': u'/catalog/category/stend-pedagoga-v-detskom-sadu/',\n 'QUERY_STRING': '',\n 'RAW_URI': '/catalog/category/stend-pedagoga-v-detskom-sadu/',\n 'REMOTE_ADDR': '',\n 'REQUEST_METHOD': 'GET',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'detsad-komplekt.ru',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.0',\n 'SERVER_SOFTWARE': 'gunicorn/19.3.0',\n 'gunicorn.socket': <socket._socketobject object at 0x7f4fd5a8e050>,\n 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f4fd66f9f90>,\n 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,\n 'wsgi.input': <gunicorn.http.body.Body object at 0x7f4fd56f9e90>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
with context.bind_template(self):
return self._render(context)...
else:
return self._render(context)
finally:
context.render_context.pop()
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f4fd5af66d0> |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f4fd5af66d0> |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <ExtendsNode: extends 'page.html'> |
self | [<ExtendsNode: extends 'page.html'>] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
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 'page.html'> |
self | [<ExtendsNode: extends 'page.html'>] |
e | NoReverseMatch(u"Reverse for 'product' with arguments '()' and keyword arguments '{u'slug': u'CP-004'}' not found. 1 pattern(s) tried: ['catalog/product/(?P<slug>[a-z0-9-]+?)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
blocks = {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 IncludeNode(Node):
def __init__(self, template, *args, **kwargs):
self.template = template
self.extra_context = kwargs.pop('extra_context', {})
Variable | Value |
---|---|
node | <ExtendsNode: extends 'base.html'> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f4fd59382d0> |
compiled_parent | <django.template.base.Template object at 0x7f4fd574e290> |
self | <ExtendsNode: extends 'page.html'> |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f4fd574e290> |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <ExtendsNode: extends 'base.html'> |
self | [<ExtendsNode: extends 'base.html'>] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <ExtendsNode: extends 'base.html'> |
self | [<ExtendsNode: extends 'base.html'>] |
e | NoReverseMatch(u"Reverse for 'product' with arguments '()' and keyword arguments '{u'slug': u'CP-004'}' not found. 1 pattern(s) tried: ['catalog/product/(?P<slug>[a-z0-9-]+?)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
blocks = {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 IncludeNode(Node):
def __init__(self, template, *args, **kwargs):
self.template = template
self.extra_context = kwargs.pop('extra_context', {})
Variable | Value |
---|---|
node | <django.template.defaulttags.LoadNode object at 0x7f4fd585d8d0> |
blocks | {u'css': <Block Node: css. Contents: [<Text Node: ' <link href = "'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd5a9d990>, <Text Node: '" rel = "stylesheet" /> '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd66f9210>, <Text Node: '" rel = "stylesheet" /> '>]>, u'js': <Block Node: js. Contents: [<Text Node: ' <script src = "'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd585d590>, <Text Node: '"></script> <scri'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd585da50>, <Text Node: '"></script> <scri'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd585db50>, <Text Node: '"></script> <scri'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd585de90>, <Text Node: '"></script> <scri'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd58755d0>, <Text Node: '"></script> '>]>, u'page': <Block Node: page. Contents: []>, u'seo': <Block Node: seo. Contents: [<Text Node: ' <meta name = "ke'>]>, u'title': <Block Node: title. Contents: [<Text Node: '???????????? ??????? ????'>]>} |
block_context | <django.template.loader_tags.BlockContext object at 0x7f4fd59382d0> |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
compiled_parent | <django.template.base.Template object at 0x7f4fd5767050> |
self | <ExtendsNode: extends 'base.html'> |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f4fd5767050> |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Block Node: page. Contents: []> |
bit | u'\n ' |
bits | [u'', u'\n\n<!doctype html>\n<html>\n <head>\n <meta charset="utf-8" />\n <meta name="viewport" content="width=device-width, initial-scale=1.0" />\n \n <meta name="google-site-verification" content="6Qesg2y79soqKRpVXSyzr6J9-ZejudcJdcQzze-b3T0" />\n <title>', u'\n \u0421\u0442\u0435\u043d\u0434 \u043f\u0435\u0434\u043e\u0433\u043e\u0433\u0430 \u0432 \u0434\u0435\u0442\u0441\u043a\u043e\u043c \u0441\u0430\u0434\u0443\n', u'</title>\n ', u'\n<meta name = "keywords" content = "\u0441\u0442\u0435\u043d\u0434, \u0432\u0438\u0437\u0438\u0442\u043a\u0430, \u0441\u0430\u0434, \u043f\u0435\u0434\u0430\u0433\u043e\u0433," />\n<meta name = "description" content = "" />\n', u'\n ', u'\n <link href = "/static/css/bootstrap.min.css" rel = "stylesheet" />\n <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"/>\n <link href = "/static/css/custom.css" rel = "stylesheet" />\n ', u'\n <link rel="shortcut icon" href="', u'/static/img/favicon.ico', u'" type="image/x-icon" />\n <link rel="icon" href="', u'/static/img/favicon.ico', u'" type="image/x-icon" />\n </head>\n \n <body>\n ', u'<!-- Yandex.Metrika counter -->\n<script type="text/javascript" >\n(function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};\nm[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)\n[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})\n(window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");\nym(30967516, "init", {\nclickmap:true,\ntrackLinks:true,\naccurateTrackBounce:true,\nwebvisor:true\n});\n</script>\n<noscript><div><img src="https://mc.yandex.ru/watch/30967516" style="position:absolute; left:-\n9999px;" alt="" /></div></noscript>\n<!-- /Yandex.Metrika counter -->', u'\n ', u"<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-57821700-5', 'auto');\n ga('send', 'pageview');\n\n</script>", u'\n '] |
self | [<django.template.defaulttags.LoadNode object at 0x7f4fd585d8d0>, <Text Node: ' <!doctype html> <html> '>, <Block Node: title. Contents: [<Text Node: '???????????? ??????? ????'>]>, <Text Node: '</title> '>, <Block Node: seo. Contents: [<Text Node: ' <meta name = "ke'>]>, <Text Node: ' '>, <Block Node: css. Contents: [<Text Node: ' <link href = "'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd5a9d990>, <Text Node: '" rel = "stylesheet" /> '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd66f9210>, <Text Node: '" rel = "stylesheet" /> '>]>, <Text Node: ' <link rel="short'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd5793a10>, <Text Node: '" type="image/x-icon" /> '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd66f9b50>, <Text Node: '" type="image/x-icon" /> '>, <django.template.loader_tags.IncludeNode object at 0x7f4fd585ddd0>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f4fd585d990>, <Text Node: ' '>, <Block Node: page. Contents: []>, <Text Node: ' '>, <Block Node: js. Contents: [<Text Node: ' <script src = "'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd585d590>, <Text Node: '"></script> <scri'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd585da50>, <Text Node: '"></script> <scri'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd585db50>, <Text Node: '"></script> <scri'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd585de90>, <Text Node: '"></script> <scri'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd58755d0>, <Text Node: '"></script> '>]>, <Text Node: ' </body> </html> '>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
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: page. Contents: []> |
self | [<django.template.defaulttags.LoadNode object at 0x7f4fd585d8d0>, <Text Node: ' <!doctype html> <html> '>, <Block Node: title. Contents: [<Text Node: '???????????? ??????? ????'>]>, <Text Node: '</title> '>, <Block Node: seo. Contents: [<Text Node: ' <meta name = "ke'>]>, <Text Node: ' '>, <Block Node: css. Contents: [<Text Node: ' <link href = "'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd5a9d990>, <Text Node: '" rel = "stylesheet" /> '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd66f9210>, <Text Node: '" rel = "stylesheet" /> '>]>, <Text Node: ' <link rel="short'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd5793a10>, <Text Node: '" type="image/x-icon" /> '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd66f9b50>, <Text Node: '" type="image/x-icon" /> '>, <django.template.loader_tags.IncludeNode object at 0x7f4fd585ddd0>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f4fd585d990>, <Text Node: ' '>, <Block Node: page. Contents: []>, <Text Node: ' '>, <Block Node: js. Contents: [<Text Node: ' <script src = "'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd585d590>, <Text Node: '"></script> <scri'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd585da50>, <Text Node: '"></script> <scri'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd585db50>, <Text Node: '"></script> <scri'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd585de90>, <Text Node: '"></script> <scri'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd58755d0>, <Text Node: '"></script> '>]>, <Text Node: ' </body> </html> '>] |
e | NoReverseMatch(u"Reverse for 'product' with arguments '()' and keyword arguments '{u'slug': u'CP-004'}' not found. 1 pattern(s) tried: ['catalog/product/(?P<slug>[a-z0-9-]+?)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
push | <Block Node: page. Contents: [<Text Node: ' <header class="container'>, <django.template.defaulttags.URLNode object at 0x7f4fd5774fd0>, <Text Node: '"><img class="img-respons'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd5767990>, <Text Node: '" alt="" /></a> <'>, <django.template.defaulttags.URLNode object at 0x7f4fd5767950>, <Text Node: '" class="btn btn-custom" '>, <django.template.base.InclusionNode object at 0x7f4fd59650d0>, <Text Node: ' </div> '>, <django.template.defaulttags.URLNode object at 0x7f4fd5767750>, <Text Node: '"> <div '>, <IfNode>, <Text Node: ' </div> '>, <IfNode>, <Text Node: ' id="menu-item1"> '>, <django.template.defaulttags.URLNode object at 0x7f4fd5853610>, <Text Node: '">???????</a></li> '>, <IfNode>, <Text Node: ' id="menu-item11"><a href'>, <IfNode>, <Text Node: ' id="menu-item2"><a href='>, <IfNode>, <Text Node: ' id="menu-item3"><a href='>, <IfNode>, <Text Node: ' id="menu-item4"><a href='>, <IfNode>, <Text Node: ' id="menu-item5"><a href='>, <IfEqualNode>, <Text Node: ' </div> </div'>, <Block Node: left_menu. Contents: [<django.template.loader_tags.IncludeNode object at 0x7f4fd58a9a10>]>, <Text Node: ' '>, <Block Node: content. Contents: []>, <Text Node: ' </div> <div id="'>, <django.template.defaulttags.URLNode object at 0x7f4fd5793dd0>, <Text Node: '"><img class="img-respons'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd5793fd0>, <Text Node: '" alt="" /></a> '>, <For Node: for cat in main_cats, tail_len: 5>, <Text Node: ' </div> '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f4fd59382d0> |
block | <Block Node: page. Contents: [<Text Node: ' <header class="container'>, <django.template.defaulttags.URLNode object at 0x7f4fd5774fd0>, <Text Node: '"><img class="img-respons'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd5767990>, <Text Node: '" alt="" /></a> <'>, <django.template.defaulttags.URLNode object at 0x7f4fd5767950>, <Text Node: '" class="btn btn-custom" '>, <django.template.base.InclusionNode object at 0x7f4fd59650d0>, <Text Node: ' </div> '>, <django.template.defaulttags.URLNode object at 0x7f4fd5767750>, <Text Node: '"> <div '>, <IfNode>, <Text Node: ' </div> '>, <IfNode>, <Text Node: ' id="menu-item1"> '>, <django.template.defaulttags.URLNode object at 0x7f4fd5853610>, <Text Node: '">???????</a></li> '>, <IfNode>, <Text Node: ' id="menu-item11"><a href'>, <IfNode>, <Text Node: ' id="menu-item2"><a href='>, <IfNode>, <Text Node: ' id="menu-item3"><a href='>, <IfNode>, <Text Node: ' id="menu-item4"><a href='>, <IfNode>, <Text Node: ' id="menu-item5"><a href='>, <IfEqualNode>, <Text Node: ' </div> </div'>, <Block Node: left_menu. Contents: [<django.template.loader_tags.IncludeNode object at 0x7f4fd58a9a10>]>, <Text Node: ' '>, <Block Node: content. Contents: []>, <Text Node: ' </div> <div id="'>, <django.template.defaulttags.URLNode object at 0x7f4fd5793dd0>, <Text Node: '"><img class="img-respons'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd5793fd0>, <Text Node: '" alt="" /></a> '>, <For Node: for cat in main_cats, tail_len: 5>, <Text Node: ' </div> '>]> |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
self | <Block Node: page. Contents: []> |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Block Node: content. Contents: []> |
bit | u'\n ' |
bits | [u'\n<header class="container">\n <div class="row">\n <div id="logo" class="col-md-5">\n <a href="', u'/', u'"><img class="img-responsive" src="', u'/static/img/logo.png', u'" alt="" /></a>\n </div>\n <div class="col-md-4" id="head-middle">\n <h2 style="margin-bottom:5px;"><span style="color:#FF2D8C" class="glyphicon glyphicon-phone-alt" aria-hidden="true"></span>\n (863) 298-56-10</h2>\n <h2 style="margin-top:0;">\n <span style="color:#FF2D8C" class="glyphicon glyphicon-phone-alt" aria-hidden="true"></span>\n (863) 226-56-10</h2>\n <div id="order-call-block">\n <a href="', u'/ordercall/form/', u'" class="btn btn-custom" id="order-call">\n <span>\u041f\u0435\u0440\u0435\u0437\u0432\u043e\u043d\u0438\u0442\u0435 \u043c\u043d\u0435</span>\n <i class="fa fa-phone-square fa-3x"></i>\n </a>\n </div>\n </div>\n <div class="col-md-3">\n <div id="shopping-cart-block">\n ', u'<a href="/cart/" class="btn btn-custom2" id="shopping-cart">\n <i class="fa fa-shopping-cart fa-4x"></i>\n <span>\u041a\u043e\u0440\u0437\u0438\u043d\u0430 (0)</span>\n</a>', u'\n </div>\n <div id="search-block">\n <form id="main-search" name="main-search" class="navbar-form navbar-left" role="search" \n action="', u'/catalog/query/', u'">\n\t <div class="form-group">\n\t <input style="" name="q" class="form-control" placeholder="\u041f\u043e\u0438\u0441\u043a..." type="text">\n\t </div>\n\t <button type="submit" class="btn btn-custom" style="">\n\t <span class="glyphicon glyphicon-search"></span>\n\t </button>\n\t </form>\n </div>\n <div id="user-super-block">\n ', u'\n <p id="user-block">\n <span class="fa fa-sign-in fa-2x" style="color:#fff;"></span> \n <a href = "/accounts/login/">\u0412\u0445\u043e\u0434</a>\n <span style="color:#FF2D8C" class="glyphicon glyphicon-option-vertical" aria-hidden="true"></span> \n <a href = "/accounts/signup/">\u0420\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u044f</a></p>\n ', u'\n </div>\n </div>\n </div>\n</header>\n<!--\u041b\u043e\u0433\u0438\u043d \u0432 \u041c\u0435\u0442\u0440\u0438\u043a\u0435-->\n<nav id="main-menu-wrap" class="container clearfix">\n <div class="row">\n <div class="col-md-12">\n <ul id="main-menu">\n\t <li ', u'', u' id="menu-item1">\n\t <a href="', u'/', u'">\u0413\u043b\u0430\u0432\u043d\u0430\u044f</a></li>\n\t <li ', u'', u' id="menu-item11"><a href="/okompanyi/">\u041e \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438</a></li>\t \n\t <li ', u'', u' id="menu-item2"><a href="/news/">\u041d\u043e\u0432\u043e\u0441\u0442\u0438</a></li>\n\t <li ', u'', u' id="menu-item3"><a href="/contacts/">\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u044b</a></li>\n\t <li ', u'', u' id="menu-item4"><a href="/shipping/">\u0414\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u0438 \u0421\u0431\u043e\u0440\u043a\u0430</a></li>\n\t <li ', u'', u' id="menu-item5"><a href="/rukovoditelu-dou/">\u0420\u0443\u043a\u043e\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044e \u0414\u041e\u0423 \u0432 \u043f\u043e\u043c\u043e\u0449\u044c</a></li>\n\t </ul>\n\t ', u'', u'\n </div>\n </div>\n \n</nav>\n\n<section id="box-content" class="container">\n <div class="row" id="content-row">\n ', u'\n\n<div class="col-md-3">\n <div id="left-menu">\n\t <h2 style="">\u041f\u0440\u043e\u0434\u0443\u043a\u0446\u0438\u044f</h2>\n\t <ul class="list-unstyled">\n\t \n\t <li style="">\n\... <trimmed 76953 bytes string> |
self | [<Text Node: ' <header class="container'>, <django.template.defaulttags.URLNode object at 0x7f4fd5774fd0>, <Text Node: '"><img class="img-respons'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd5767990>, <Text Node: '" alt="" /></a> <'>, <django.template.defaulttags.URLNode object at 0x7f4fd5767950>, <Text Node: '" class="btn btn-custom" '>, <django.template.base.InclusionNode object at 0x7f4fd59650d0>, <Text Node: ' </div> '>, <django.template.defaulttags.URLNode object at 0x7f4fd5767750>, <Text Node: '"> <div '>, <IfNode>, <Text Node: ' </div> '>, <IfNode>, <Text Node: ' id="menu-item1"> '>, <django.template.defaulttags.URLNode object at 0x7f4fd5853610>, <Text Node: '">???????</a></li> '>, <IfNode>, <Text Node: ' id="menu-item11"><a href'>, <IfNode>, <Text Node: ' id="menu-item2"><a href='>, <IfNode>, <Text Node: ' id="menu-item3"><a href='>, <IfNode>, <Text Node: ' id="menu-item4"><a href='>, <IfNode>, <Text Node: ' id="menu-item5"><a href='>, <IfEqualNode>, <Text Node: ' </div> </div'>, <Block Node: left_menu. Contents: [<django.template.loader_tags.IncludeNode object at 0x7f4fd58a9a10>]>, <Text Node: ' '>, <Block Node: content. Contents: []>, <Text Node: ' </div> <div id="'>, <django.template.defaulttags.URLNode object at 0x7f4fd5793dd0>, <Text Node: '"><img class="img-respons'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd5793fd0>, <Text Node: '" alt="" /></a> '>, <For Node: for cat in main_cats, tail_len: 5>, <Text Node: ' </div> '>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <Block Node: content. Contents: []> |
self | [<Text Node: ' <header class="container'>, <django.template.defaulttags.URLNode object at 0x7f4fd5774fd0>, <Text Node: '"><img class="img-respons'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd5767990>, <Text Node: '" alt="" /></a> <'>, <django.template.defaulttags.URLNode object at 0x7f4fd5767950>, <Text Node: '" class="btn btn-custom" '>, <django.template.base.InclusionNode object at 0x7f4fd59650d0>, <Text Node: ' </div> '>, <django.template.defaulttags.URLNode object at 0x7f4fd5767750>, <Text Node: '"> <div '>, <IfNode>, <Text Node: ' </div> '>, <IfNode>, <Text Node: ' id="menu-item1"> '>, <django.template.defaulttags.URLNode object at 0x7f4fd5853610>, <Text Node: '">???????</a></li> '>, <IfNode>, <Text Node: ' id="menu-item11"><a href'>, <IfNode>, <Text Node: ' id="menu-item2"><a href='>, <IfNode>, <Text Node: ' id="menu-item3"><a href='>, <IfNode>, <Text Node: ' id="menu-item4"><a href='>, <IfNode>, <Text Node: ' id="menu-item5"><a href='>, <IfEqualNode>, <Text Node: ' </div> </div'>, <Block Node: left_menu. Contents: [<django.template.loader_tags.IncludeNode object at 0x7f4fd58a9a10>]>, <Text Node: ' '>, <Block Node: content. Contents: []>, <Text Node: ' </div> <div id="'>, <django.template.defaulttags.URLNode object at 0x7f4fd5793dd0>, <Text Node: '"><img class="img-respons'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7f4fd5793fd0>, <Text Node: '" alt="" /></a> '>, <For Node: for cat in main_cats, tail_len: 5>, <Text Node: ' </div> '>] |
e | NoReverseMatch(u"Reverse for 'product' with arguments '()' and keyword arguments '{u'slug': u'CP-004'}' not found. 1 pattern(s) tried: ['catalog/product/(?P<slug>[a-z0-9-]+?)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
push | <Block Node: content. Contents: [<Text Node: ' <div class="col-md-9"> '>, <Variable Node: category>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div>'>, <Variable Node: category.description|safe>, <Text Node: '</div> </div> '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f4fd59382d0> |
block | <Block Node: content. Contents: [<Text Node: ' <div class="col-md-9"> '>, <Variable Node: category>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div>'>, <Variable Node: category.description|safe>, <Text Node: '</div> </div> '>]> |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
self | <Block Node: content. Contents: []> |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <IfNode> |
bit | u'</h1>\n\t' |
bits | [u'\n<div class="col-md-9">\n\t<h1 class="text-center page-header title">', u'\u0421\u0442\u0435\u043d\u0434 \u043f\u0435\u0434\u0430\u0433\u043e\u0433\u0430 \u0432 \u0434\u0435\u0442\u0441\u043a\u043e\u043c \u0441\u0430\u0434\u0443', u'</h1>\n\t'] |
self | [<Text Node: ' <div class="col-md-9"> '>, <Variable Node: category>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div>'>, <Variable Node: category.description|safe>, <Text Node: '</div> </div> '>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <IfNode> |
self | [<Text Node: ' <div class="col-md-9"> '>, <Variable Node: category>, <Text Node: '</h1> '>, <IfNode>, <Text Node: ' <div>'>, <Variable Node: category.description|safe>, <Text Node: '</div> </div> '>] |
e | NoReverseMatch(u"Reverse for 'product' with arguments '()' and keyword arguments '{u'slug': u'CP-004'}' not found. 1 pattern(s) tried: ['catalog/product/(?P<slug>[a-z0-9-]+?)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class LoremNode(Node):
def __init__(self, count, method, common):
Variable | Value |
---|---|
self | <IfNode> |
match | True |
nodelist | [<Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f4fd5743150>, <Text Node: ' '>] |
condition | None |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <django.template.loader_tags.IncludeNode object at 0x7f4fd5743150> |
bit | u'\n\t ' |
bits | [u'\n\t '] |
self | [<Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f4fd5743150>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
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.IncludeNode object at 0x7f4fd5743150> |
self | [<Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x7f4fd5743150>, <Text Node: ' '>] |
e | NoReverseMatch(u"Reverse for 'product' with arguments '()' and keyword arguments '{u'slug': u'CP-004'}' not found. 1 pattern(s) tried: ['catalog/product/(?P<slug>[a-z0-9-]+?)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
values = {
name: var.resolve(context)
for name, var in six.iteritems(self.extra_context)
}
if self.isolated_context:
return template.render(context.new(values))
with context.push(**values):
return template.render(context)...
except Exception:
if context.template.engine.debug:
raise
return ''
Variable | Value |
---|---|
self | <django.template.loader_tags.IncludeNode object at 0x7f4fd5743150> |
values | {} |
template | <django.template.base.Template object at 0x7f4fd6756d10> |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/base.py
in render
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
with context.bind_template(self):
return self._render(context)
else:
return self._render(context)...
finally:
context.render_context.pop()
class Token(object):
def __init__(self, token_type, contents):
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f4fd6756d10> |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7f4fd6756d10> |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <For Node: for product in object_list, tail_len: 15> |
bit | u'\n\n<div class="row">\n' |
bits | [u'', u'\n', u'', u'\n\n<div class="row">\n'] |
self | [<django.template.defaulttags.LoadNode object at 0x7f4fd5707fd0>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0x7f4fd6756c50>, <Text Node: ' <div class="row"> '>, <For Node: for product in object_list, tail_len: 15>, <Text Node: ' </div> <!-- Pagination '>, <IfNode>, <Text Node: ' </div> <!-- end of Pagin'>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
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 object_list, tail_len: 15> |
self | [<django.template.defaulttags.LoadNode object at 0x7f4fd5707fd0>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0x7f4fd6756c50>, <Text Node: ' <div class="row"> '>, <For Node: for product in object_list, tail_len: 15>, <Text Node: ' </div> <!-- Pagination '>, <IfNode>, <Text Node: ' </div> <!-- end of Pagin'>] |
e | NoReverseMatch(u"Reverse for 'product' with arguments '()' and keyword arguments '{u'slug': u'CP-004'}' not found. 1 pattern(s) tried: ['catalog/product/(?P<slug>[a-z0-9-]+?)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
else:
context[self.loopvars[0]] = item
# In debug mode provide the source of the node which raised
# the exception
if context.template.engine.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 | NoReverseMatch(u"Reverse for 'product' with arguments '()' and keyword arguments '{u'slug': u'CP-004'}' not found. 1 pattern(s) tried: ['catalog/product/(?P<slug>[a-z0-9-]+?)/$']",) |
item | <Product: СП-004> |
loop_dict | {u'counter': 17, u'counter0': 16, u'first': False, u'last': False, u'parentloop': {}, u'revcounter': 4, u'revcounter0': 3} |
self | <For Node: for product in object_list, tail_len: 15> |
parentloop | {} |
i | 16 |
values | [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
num_loopvars | 1 |
nodelist | [u'\n <div class="col-md-4" style="margin-bottom:30px">\n <div class="thumbnail" style="height:485px">\n ', u'\n <div class="img-block" style="height:255px;">\n <p><a href="/catalog/product/cp020/" class="link-p" style="">\n <img class="img-responsive" src="/media/daguerre/2016/02/05/30eefac2cb6d7c29fb2a.jpeg" alt="\u0421\u041f-020">\n </a></p>\n </div>\n ', u'\n <div class="caption cat-caption" style="">\n <p class="cat-title-main text-center">\n <a href="', u'/catalog/product/cp020/', u'">', u'\u0421\u041f-020', u'</a>\n </p>\n </div>\n <div id="prod-price" class="text-center">\n\t ', u'\n\t <h4>0 \u0440\u0443\u0431.\n\t ', u'\n\t </div>\n\t\t \n\t\t <div class="text-center">\n\t\t <a href="', u'/ordercall/form/', u'?product=', u'10016', u'"><button class="btn btn-custom" style="font-size:1.1em" type="button" name="submit" alt="\u041a\u0443\u043f\u0438\u0442\u044c" value="\u041a\u0443\u043f\u0438\u0442\u044c">\n <i class="glyphicon glyphicon-ok"></i> \u041a\u0443\u043f\u0438\u0442\u044c \u0432 \u043e\u0434\u0438\u043d \u043a\u043b\u0438\u043a</button></a>\n\t\t </form>\n\t\t \n\t\t </div>\n\t\t <div class="text-center" style="margin:15px 0">\n\t\t <form action="" method="post">\n <input type="hidden" value="', u'cp020', u'" name="product_slug"/>\n <button class="in-cart-small" class="btn btn-custom2" type="submit" name="submit" alt="\u041a\u0443\u043f\u0438\u0442\u044c" value="\u041a\u0443\u043f\u0438\u0442\u044c">\n <i class="glyphicon glyphicon-shopping-cart"></i> \u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443</button>\n </form>\n\t\t </div>\n\t\t \n\t\t \n \n </div>\n </div>\n\n', u'\n <div class="col-md-4" style="margin-bottom:30px">\n <div class="thumbnail" style="height:485px">\n ', u'\n <div class="img-block" style="height:255px;">\n <p><a href="/catalog/product/cp-022/" class="link-p" style="">\n <img class="img-responsive" src="/media/daguerre/2016/02/05/933d94e2bd3d8f1eee20.jpeg" alt="\u0421\u041f-022">\n </a></p>\n </div>\n ', u'\n <div class="caption cat-caption" style="">\n <p class="cat-title-main text-center">\n <a href="', u'/catalog/product/cp-022/', u'">', u'\u0421\u041f-022', u'</a>\n </p>\n </div>\n <div id="prod-price" class="text-center">\n\t ', u'\n\t <h4>0 \u0440\u0443\u0431.\n\t ', u'\n\t </div>\n\t\t \n\t\t <div class="text-center">\n\t\t <a href="', u'/ordercall/form/', u'?product=', u'10013', u'"><button class="btn btn-custom" style="font-size:1.1em" type="button" name="submit" alt="\u041a\u0443\u043f\u0438\u0442\u044c" value="\u041a\u0443\u043f\u0438\u0442\u044c">\n <i class="glyphicon glyphicon-ok"></i> \u041a\u0443\u043f\u0438\u0442\u044c \u0432 \u043e\u0434\u0438\u043d \u043a\u043b\u0438\u043a</button></a>\n\t\t </form>\n\t\t \n\t\t </div>\n\t\t <div class="text-center" style="margin:15px 0">\n\t\t <form action="" method="post">\n <input type="hidden" value="', u'cp-022', u'" name="product_slug"/>\n <button class="in-cart-small" class="btn btn-custom2" type="submit" name="submit" alt="\u041a\u0443\u043f\u0438\u0442\u044c" value="\u041a\u0443\u043f\u0438\u0442\u044c">\n <i class="glyphicon glyphicon-shopping-cart"></i> \u0412 \u043a\u043e\u0440\u0437\u0438\u043d\u0443</button>\n </form>\n\t\t </div>\n\t\t \n\t\t \n \n </div>\n </div>\n\n', u'\n <div class="col-md-4" style="margin-bottom:30px">\n <div class="thumbnail" st... <trimmed 32330 bytes string> |
unpack | False |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class LoremNode(Node):
def __init__(self, count, method, common):
Variable | Value |
---|---|
self | <IfNode> |
match | True |
nodelist | [<Text Node: ' <div class="'>, <Variable Node: product.get_absolute_url>, <Text Node: '" class="link-p" style=""'>, <daguerre.templatetags.daguerre.AdjustmentNode object at 0x7f4fd570f210>, <Text Node: '" alt="'>, <Variable Node: product>, <Text Node: '"> </a></'>] |
condition | None |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Variable Node: product.get_absolute_url> |
bit | u'\n <div class="img-block" style="height:255px;">\n <p><a href="' |
bits | [u'\n <div class="img-block" style="height:255px;">\n <p><a href="'] |
self | [<Text Node: ' <div class="'>, <Variable Node: product.get_absolute_url>, <Text Node: '" class="link-p" style=""'>, <daguerre.templatetags.daguerre.AdjustmentNode object at 0x7f4fd570f210>, <Text Node: '" alt="'>, <Variable Node: product>, <Text Node: '"> </a></'>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
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.get_absolute_url> |
self | [<Text Node: ' <div class="'>, <Variable Node: product.get_absolute_url>, <Text Node: '" class="link-p" style=""'>, <daguerre.templatetags.daguerre.AdjustmentNode object at 0x7f4fd570f210>, <Text Node: '" alt="'>, <Variable Node: product>, <Text Node: '"> </a></'>] |
e | NoReverseMatch(u"Reverse for 'product' with arguments '()' and keyword arguments '{u'slug': u'CP-004'}' not found. 1 pattern(s) tried: ['catalog/product/(?P<slug>[a-z0-9-]+?)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-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.get_absolute_url> |
e | NoReverseMatch(u"Reverse for 'product' with arguments '()' and keyword arguments '{u'slug': u'CP-004'}' not found. 1 pattern(s) tried: ['catalog/product/(?P<slug>[a-z0-9-]+?)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-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:
string_if_invalid = context.template.engine.string_if_invalid
if string_if_invalid:
Variable | Value |
---|---|
self | <django.template.base.FilterExpression object at 0x7f4fd6756c90> |
ignore_failures | False |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-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.get_absolute_url'> |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/template/base.py
in _resolve_lookup
if callable(current):
if getattr(current, 'do_not_call_in_templates', False):
pass
elif getattr(current, 'alters_data', False):
current = context.template.engine.string_if_invalid
else:
try: # method call (assuming no args required)
current = current()...
except TypeError:
try:
getcallargs(current)
except TypeError: # arguments *were* required
current = context.template.engine.string_if_invalid # invalid method call
else:
Variable | Value |
---|---|
current | <bound method Product.get_absolute_url of <Product: СП-004>> |
bit | u'get_absolute_url' |
e | NoReverseMatch(u"Reverse for 'product' with arguments '()' and keyword arguments '{u'slug': u'CP-004'}' not found. 1 pattern(s) tried: ['catalog/product/(?P<slug>[a-z0-9-]+?)/$']",) |
self | <Variable: u'product.get_absolute_url'> |
context | [{'False': False, 'None': None, 'True': True}, {}, {u'paginator': <django.core.paginator.Paginator object at 0x7f4fd5a20a50>, u'category': <Category: Стенд педагога в детском саду>, u'page_obj': <Page 1 of 1>, u'product_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'object_list': [<Product: СП-020>, <Product: СП-022>, <Product: СП-016>, <Product: СП-019>, <Product: СП-021>, <Product: СП-018>, <Product: СП-002-3>, <Product: СП-003-3>, <Product: СП-006-3>, <Product: СП-005-ж>, <Product: СП-023>, <Product: СП-005-Г>, <Product: СП-017>, <Product: СП-002-6>, <Product: СП-013>, <Product: СП-014>, <Product: СП-004>, <Product: СП-001-З>, <Product: СП-001-К>, <Product: СП-015>], u'is_paginated': False, u'view': <catalog.views.ProductListByCategoryView object at 0x7f4fd587bad0>}] |
/home/detsadkomplekt/project/catalog/models/base.py
in get_absolute_url
objects = InheritanceManager()
def __str__(self):
return self.name
def get_absolute_url(self):
return reverse('product', kwargs={'slug': self.slug})...
def current_price(self):
if self.discount_price and self.discount_price < self.price:
return self.discount_price
else:
return self.price
Variable | Value |
---|---|
self | <Product: СП-004> |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/core/urlresolvers.py
in reverse
(key, ':'.join(resolved_path)))
else:
raise NoReverseMatch("%s is not a registered namespace" %
key)
if ns_pattern:
resolver = get_ns_resolver(ns_pattern, resolver)
return force_text(iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)))...
reverse_lazy = lazy(reverse, six.text_type)
def clear_url_caches():
get_callable.cache_clear()
Variable | Value |
---|---|
ns_pattern | u'' |
viewname | u'product' |
args | [] |
current_app | None |
prefix | u'/' |
parts | [u'product'] |
resolver | <RegexURLResolver u'core.urls' (None:None) ^/> |
kwargs | {u'slug': u'CP-004'} |
path | [] |
view | u'product' |
urlconf | u'core.urls' |
resolved_path | [] |
/home/detsadkomplekt/ENV/local/lib/python2.7/site-packages/django/core/urlresolvers.py
in _reverse_with_prefix
lookup_view_s = "%s.%s" % (m, n)
else:
lookup_view_s = lookup_view
patterns = [pattern for (possibility, pattern, defaults) in possibilities]
raise NoReverseMatch("Reverse for '%s' with arguments '%s' and keyword "
"arguments '%s' not found. %d pattern(s) tried: %s" %
(lookup_view_s, args, kwargs, len(patterns), patterns))...
class LocaleRegexURLResolver(RegexURLResolver):
"""
A URL resolver that always matches the active language code as URL prefix.
Variable | Value |
---|---|
result | u'catalog/product/%(slug)s/' |
candidate_pat | u'/catalog/product/%(slug)s/' |
pattern | 'catalog/product/(?P<slug>[a-z0-9-]+?)/$' |
self | <RegexURLResolver u'core.urls' (None:None) ^/> |
_prefix | u'/' |
text_args | [] |
lookup_view | u'product' |
prefix_args | [] |
params | [u'slug'] |
kwargs | {u'slug': u'CP-004'} |
matches | True |
args | () |
possibility | [(u'catalog/product/%(slug)s/', [u'slug'])] |
text_kwargs | {u'slug': u'CP-004'} |
candidate_subs | {u'slug': u'CP-004'} |
m | None |
lookup_view_s | u'product' |
n | None |
possibilities | [([(u'catalog/product/%(slug)s/', [u'slug'])], 'catalog/product/(?P<slug>[a-z0-9-]+?)/$', {})] |
patterns | ['catalog/product/(?P<slug>[a-z0-9-]+?)/$'] |
prefix_norm | u'/' |
defaults | {} |
original_lookup | u'product' |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
SERVER_SOFTWARE | 'gunicorn/19.3.0' |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/catalog/category/stend-pedagoga-v-detskom-sadu/' |
SERVER_PROTOCOL | 'HTTP/1.0' |
QUERY_STRING | '' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_CONNECTION | 'close' |
SERVER_NAME | 'detsad-komplekt.ru' |
REMOTE_ADDR | '' |
wsgi.url_scheme | 'http' |
SERVER_PORT | '80' |
wsgi.input | <gunicorn.http.body.Body object at 0x7f4fd56f9e90> |
HTTP_HOST | 'detsad-komplekt.ru' |
wsgi.multithread | False |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
RAW_URI | '/catalog/category/stend-pedagoga-v-detskom-sadu/' |
wsgi.run_once | False |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f4fd66f9f90> |
wsgi.multiprocess | False |
gunicorn.socket | <socket._socketobject object at 0x7f4fd5a8e050> |
HTTP_X_FORWARDED_FOR | '52.205.218.160' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'4yhn0GutdMkh90ky4zbk7GpoUlfPgiCx' |
core.settings.prod
Setting | Value |
---|---|
SECURE_BROWSER_XSS_FILTER | False |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | u'ru-RU' |
ROOT_URLCONF | u'core.urls' |
MANAGERS | () |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | Path('/home/detsadkomplekt/project/static') |
CKEDITOR_UPLOAD_PATH | u'ckeditor/' |
ALLOWED_HOSTS | [] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | u'detsad-komplekt.ru' |
SERVER_EMAIL | 'root@localhost' |
SECURE_HSTS_SECONDS | 0 |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_CACHE_ALIAS | 'default' |
THUMBNAIL_WATERMARK | u'watermark-mini.png' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
SECURE_REDIRECT_EXEMPT | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '127.0.0.1', 'NAME': 'detsadkomplekt', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'UTC', 'USER': 'detsadkomplekt'}} |
EMAIL_SSL_KEYFILE | u'********************' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
LOCALE_PATHS | () |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {u'default': {u'BACKEND': u'django.core.cache.backends.memcached.MemcachedCache', u'LOCATION': u'127.0.0.1:11211'}} |
SESSION_COOKIE_PATH | '/' |
SECURE_CONTENT_TYPE_NOSNIFF | False |
MIDDLEWARE_CLASSES | (u'django.contrib.sessions.middleware.SessionMiddleware', u'django.middleware.common.CommonMiddleware', u'django.middleware.csrf.CsrfViewMiddleware', u'django.contrib.auth.middleware.AuthenticationMiddleware', u'django.contrib.auth.middleware.SessionAuthenticationMiddleware', u'django.contrib.messages.middleware.MessageMiddleware', u'django.middleware.clickjacking.XFrameOptionsMiddleware', u'django.middleware.security.SecurityMiddleware', u'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
LOGGING_CONFIG | 'logging.config.dictConfig' |
CKEDITOR_JQUERY_URL | u'//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') |
CKEDITOR_IMAGE_BACKEND | u'pillow' |
FIRST_DAY_OF_WEEK | 0 |
WSGI_APPLICATION | u'core.wsgi.application' |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
AUTHENTICATION_BACKENDS | (u'accounts.backends.AccountAuth',) |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
EMAIL_TIMEOUT | None |
SECURE_SSL_HOST | None |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
THUMBNAIL_ENGINE | u'sorl_watermarker.engines.pil_engine.Engine' |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | (u'admin_tools', u'admin_tools.theming', u'admin_tools.menu', u'admin_tools.dashboard', u'django.contrib.admin', u'django.contrib.auth', u'django.contrib.contenttypes', u'django.contrib.sessions', u'django.contrib.messages', u'django.contrib.staticfiles', u'django.contrib.sites', u'django.contrib.flatpages', u'django.contrib.sitemaps', u'mptt', u'daguerre', u'ckeditor', u'easy_pdf', u'sorl.thumbnail', u'home', u'accounts', u'catalog', u'utils', u'cart', u'order', u'ordercall', u'pages', u'bill', u'seo') |
LANGUAGES | (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')) |
USE_L10N | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
STATICFILES_DIRS | () |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
CSRF_COOKIE_AGE | 31449600 |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
THUMBNAIL_WATERMARK_POSITION | u'center' |
AUTH_USER_MODEL | u'accounts.Account' |
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'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | u'user_private' |
THUMBNAIL_WATERMARK_ALWAYS | False |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
MIGRATION_MODULES | {} |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | True |
FIXTURE_DIRS | () |
EMAIL_HOST | u'smtp.gmail.com' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | Path('/home/detsadkomplekt/project/media') |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
MEDIA_URL | u'/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | () |
CKEDITOR_CONFIGS | {u'default': {u'forcePasteAsPlainText': True, u'height': 500, u'toolbar': [[u'Undo', u'Redo', u'-', u'Bold', u'Italic', u'Underline', u'-', u'Link', u'Unlink', u'Anchor', u'-', u'Format', u'-', u'Maximize', u'-', u'Table', u'-', u'Image', u'-', u'Source', u'-', u'NumberedList', u'BulletedList'], [u'JustifyLeft', u'JustifyCenter', u'JustifyRight', u'JustifyBlock', u'-', u'Font', u'FontSize', u'TextColor', u'-', u'Outdent', u'Indent', u'-', u'HorizontalRule', u'-', u'Blockquote']], u'toolbarCanCollapse': False, u'width': u'100%'}} |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
MANAGER_EMAIL | u'private.oleshko@gmail.com' |
LOGGING | {} |
PROJECT_DIR | Path('/home/detsadkomplekt/project') |
TEMPLATES | [{u'APP_DIRS': True, u'BACKEND': u'django.template.backends.django.DjangoTemplates', u'DIRS': [Path('/home/detsadkomplekt/project/templates')], u'OPTIONS': {u'context_processors': [u'django.template.context_processors.debug', u'django.template.context_processors.request', u'django.contrib.auth.context_processors.auth', u'django.contrib.messages.context_processors.messages', u'catalog.context_processors.catalog_context']}}] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
SHORT_DATE_FORMAT | 'm/d/Y' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SECURE_SSL_REDIRECT | False |
TIME_ZONE | u'Europe/Moscow' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
ADMIN_TOOLS_INDEX_DASHBOARD | u'dashboard.CustomIndexDashboard' |
EMAIL_USE_SSL | False |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages') |
THUMBNAIL_DEBUG | True |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'core.settings.prod' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | () |
STATIC_URL | u'/static/' |
EMAIL_PORT | 587 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
TEST_NON_SERIALIZED_APPS | [] |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SSL_CERTFILE | None |
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') |
EMAIL_HOST_USER | u'detsad.complect' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.