Reverse for 'catalog' with arguments '()' and keyword arguments '{'catalog_slug': u'Samarij_II_jodid__ultra_suhoj_99_99_kristally/kuski'}' not found. 2 pattern(s) tried: ['(?P<catalog_slug>[-\\w]+)/$', 'catalog/$']
Request Method: | GET |
---|---|
Request URL: | https://voronezh.himmetproduct.ru/himiya_samarij/ |
Django Version: | 1.8.9 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'catalog' with arguments '()' and keyword arguments '{'catalog_slug': u'Samarij_II_jodid__ultra_suhoj_99_99_kristally/kuski'}' not found. 2 pattern(s) tried: ['(?P<catalog_slug>[-\\w]+)/$', 'catalog/$'] |
Exception Location: | /home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/django/core/urlresolvers.py in _reverse_with_prefix, line 495 |
Python Executable: | /usr/local/bin/uwsgi |
Python Version: | 2.7.3 |
Python Path: | ['.', '', '/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg', '/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/MySQL_python-1.2.4-py2.7-linux-x86_64.egg', '/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/xlwt-1.0.0-py2.7.egg', '/home/himmetproduct/Env/himmetproduct/lib/python2.7', '/home/himmetproduct/Env/himmetproduct/lib/python2.7/plat-linux2', '/home/himmetproduct/Env/himmetproduct/lib/python2.7/lib-tk', '/home/himmetproduct/Env/himmetproduct/lib/python2.7/lib-old', '/home/himmetproduct/Env/himmetproduct/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages'] |
Server time: | Чт, 28 Мар 2024 15:51:04 +0500 |
In template /home/himmetproduct/himmetproduct/templates/catalog_list.html
, error at line 60
50 | Цена<br><br> |
---|---|
51 | </th> |
52 | <th class="table_td_chet" align="left"> |
53 | Заказать<br><br> |
54 | </th> |
55 | </tr> |
56 | {% for item in current_category.childCategories %} |
57 | <tr > |
58 | |
59 | <td class="{% if forloop.counter|divisibleby:"2" %}table_td_chet{% else %}table_td{% endif %}"> |
60 | <a href=" {{ item.get_absolute_url }} #metka" style="text-decoration:none; color: #069; ">{{ item.name }} |
61 | </a> |
62 | </td> |
63 | <td style="font-style: italic" class="{% if forloop.counter|divisibleby:"2" %}table_td_chet{% else %}table_td{% endif %} middle_td"> |
64 | {{ item.type_text }} |
65 | </td> |
66 | <td style="font-style: italic" class="{% if forloop.counter|divisibleby:"2" %}table_td_chet{% else %}table_td{% endif %}"> |
67 | {{ item.gost }} |
68 | </td> |
69 | <td class="{% if forloop.counter|divisibleby:"2" %}table_td_chet{% else %}table_td{% endif %}"> |
70 | <a class="price_button" style="text-decoration:none; color: #069; cursor: pointer" onclick="buy('{{ item.name }}')">Узнать цену</a> |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/django/core/handlers/base.py
in get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)...
except Exception as e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
e | NoReverseMatch(u"Reverse for 'catalog' with arguments '()' and keyword arguments '{'catalog_slug': u'Samarij_II_jodid__ultra_suhoj_99_99_kristally/kuski'}' not found. 2 pattern(s) tried: ['(?P<catalog_slug>[-\\\\w]+)/$', 'catalog/$']",) |
callback_args | () |
resolver_match | ResolverMatch(func=CatalogNew.views.CatalogView, args=(), kwargs={'catalog_slug': u'himiya_samarij'}, url_name=catalog, app_name=None, namespaces=[]) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x35a8a50>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x2974510> |
request | "<WSGIRequest\npath:/himiya_samarij/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'IUgZ4FdlHakCJlhTwooYKjiPpdVpRqEK',\n 'DOCUMENT_ROOT': '/etc/nginx/html',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'voronezh.himmetproduct.ru',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/himiya_samarij/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '18.209.209.28',\n 'REMOTE_PORT': '45908',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/himiya_samarij/',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'himmetproduct.ru',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'UWSGI_SCHEME': 'https',\n 'uwsgi.core': 1,\n 'uwsgi.node': 'vm-04224bcb',\n 'uwsgi.version': '2.0.11.2',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x358a660>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x3b20108>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
callback | <function CatalogView at 0x380e230> |
wrapped_callback | <function CatalogView at 0x380e230> |
resolver | <RegexURLResolver 'himmetproduct.urls' (None:None) ^/> |
callback_kwargs | {'catalog_slug': u'himiya_samarij'} |
response | None |
urlconf | 'himmetproduct.urls' |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/django/views/generic/base.py
in view
def view(request, *args, **kwargs):
self = cls(**initkwargs)
if hasattr(self, 'get') and not hasattr(self, 'head'):
self.head = self.get
self.request = request
self.args = args
self.kwargs = kwargs
return self.dispatch(request, *args, **kwargs)...
# take name and docstring from class
update_wrapper(view, cls, updated=())
# and possible attributes set by decorators
# like csrf_exempt from dispatch
Variable | Value |
---|---|
initkwargs | {} |
self | <CatalogNew.views.CatalogView object at 0x2734250> |
args | () |
request | "<WSGIRequest\npath:/himiya_samarij/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'IUgZ4FdlHakCJlhTwooYKjiPpdVpRqEK',\n 'DOCUMENT_ROOT': '/etc/nginx/html',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'voronezh.himmetproduct.ru',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/himiya_samarij/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '18.209.209.28',\n 'REMOTE_PORT': '45908',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/himiya_samarij/',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'himmetproduct.ru',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'UWSGI_SCHEME': 'https',\n 'uwsgi.core': 1,\n 'uwsgi.node': 'vm-04224bcb',\n 'uwsgi.version': '2.0.11.2',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x358a660>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x3b20108>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
kwargs | {'catalog_slug': u'himiya_samarij'} |
cls | <class 'CatalogNew.views.CatalogView'> |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/django/views/generic/base.py
in dispatch
# Try to dispatch to the right method; if a method doesn't exist,
# defer to the error handler. Also defer to the error handler if the
# request method isn't on the approved list.
if request.method.lower() in self.http_method_names:
handler = getattr(self, request.method.lower(), self.http_method_not_allowed)
else:
handler = self.http_method_not_allowed
return handler(request, *args, **kwargs)...
def http_method_not_allowed(self, request, *args, **kwargs):
logger.warning('Method Not Allowed (%s): %s', request.method, request.path,
extra={
'status_code': 405,
'request': request
Variable | Value |
---|---|
self | <CatalogNew.views.CatalogView object at 0x2734250> |
handler | <bound method CatalogView.get of <CatalogNew.views.CatalogView object at 0x2734250>> |
request | "<WSGIRequest\npath:/himiya_samarij/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'IUgZ4FdlHakCJlhTwooYKjiPpdVpRqEK',\n 'DOCUMENT_ROOT': '/etc/nginx/html',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'voronezh.himmetproduct.ru',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/himiya_samarij/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '18.209.209.28',\n 'REMOTE_PORT': '45908',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/himiya_samarij/',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'himmetproduct.ru',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'UWSGI_SCHEME': 'https',\n 'uwsgi.core': 1,\n 'uwsgi.node': 'vm-04224bcb',\n 'uwsgi.version': '2.0.11.2',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x358a660>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x3b20108>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
args | () |
kwargs | {'catalog_slug': u'himiya_samarij'} |
./CatalogNew/views.py
in get
current_category_main = current_category
while current_category_main.position:
current_category_main = current_category_main.position
if current_category.isHidden or current_category_main.isHidden:
raise Http404()
my_template = current_category.typeMenu.template
return render_to_response(self.template_name, locals(), context_instance=RequestContext(request), )...
Variable | Value |
---|---|
UploadFileForm | <class 'CatalogNew.forms.UploadFileForm'> |
catalog_list | [<CategoryMetall: ССу в кругах>, <CategoryMetall: Конструкционная проволока>, <CategoryMetall: Лигатура цинк>, <CategoryMetall: Провод компенсационный K (Хромель-алюмель)>, <CategoryMetall: Провод компенсационный N (Нихросил-Нисил)>, <CategoryMetall: Провод компенсационный E (Хромель-Константан)>, <CategoryMetall: Провод компенсационный J (Железо-Константан)>, <CategoryMetall: Провод компенсационный T (Медь-Константан)>, <CategoryMetall: Провод компенсационный B (PtRh30-PtRh6)>, <CategoryMetall: Провод компенсационный R (PtRh13-Pt)>, <CategoryMetall: Провод компенсационный S (ПтРх10-Пт)>, <CategoryMetall: Провод компенсационный RC/SC (Cu-CuNi)>, <CategoryMetall: Провод компенсационный KX (Хромель-алюмель)>, <CategoryMetall: Провод компенсационный NX (Нихросил-Нисил)>, <CategoryMetall: Провод компенсационный EX (Хромель-Константан)>, <CategoryMetall: Провод компенсационный JX (Железо-Константан)>, <CategoryMetall: Провод компенсационный TX (Медь-Константан)>, <CategoryMetall: Свинцовая чушка>, <CategoryMetall: Инструментальный круг У10А>, <CategoryMetall: Графитированный электрод ЭГСП-UHP>, '...(remaining elements truncated)...'] |
form | <UploadFileForm bound=False, valid=Unknown, fields=(file)> |
self | <CatalogNew.views.CatalogView object at 0x2734250> |
current_category_main | <CategoryMetall: Химическая и металлургическая продукция> |
request | "<WSGIRequest\npath:/himiya_samarij/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'IUgZ4FdlHakCJlhTwooYKjiPpdVpRqEK',\n 'DOCUMENT_ROOT': '/etc/nginx/html',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'voronezh.himmetproduct.ru',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/himiya_samarij/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '18.209.209.28',\n 'REMOTE_PORT': '45908',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/himiya_samarij/',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'himmetproduct.ru',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'UWSGI_SCHEME': 'https',\n 'uwsgi.core': 1,\n 'uwsgi.node': 'vm-04224bcb',\n 'uwsgi.version': '2.0.11.2',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x358a660>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0x3b20108>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
current_category | <CategoryMetall: Самарий> |
my_template | u'catalog.html' |
catalog_slug | u'himiya_samarij' |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/django/shortcuts.py
in render_to_response
# No deprecated arguments were passed - use the new code path
content = loader.render_to_string(template_name, context, using=using)
else:
# Some deprecated arguments were passed - use the legacy code path
content = loader.render_to_string(
template_name, context, context_instance, dirs, dictionary,
using=using)...
return HttpResponse(content, content_type, status)
def render(request, template_name, context=None,
context_instance=_context_instance_undefined,
Variable | Value |
---|---|
dirs | <object object at 0x2d5b670> |
status | None |
content_type | None |
dictionary | <object object at 0x2d5b660> |
template_name | 'index.html' |
context_instance | [{'False': False, 'None': None, 'True': True}, {}, {}] |
context | {'UploadFileForm': <class 'CatalogNew.forms.UploadFileForm'>, 'catalog_list': [<CategoryMetall: ССу в кругах>, <CategoryMetall: Конструкционная проволока>, <CategoryMetall: Лигатура цинк>, <CategoryMetall: Провод компенсационный K (Хромель-алюмель)>, <CategoryMetall: Провод компенсационный N (Нихросил-Нисил)>, <CategoryMetall: Провод компенсационный E (Хромель-Константан)>, <CategoryMetall: Провод компенсационный J (Железо-Константан)>, <CategoryMetall: Провод компенсационный T (Медь-Константан)>, <CategoryMetall: Провод компенсационный B (PtRh30-PtRh6)>, <CategoryMetall: Провод компенсационный R (PtRh13-Pt)>, <CategoryMetall: Провод компенсационный S (ПтРх10-Пт)>, <CategoryMetall: Провод компенсационный RC/SC (Cu-CuNi)>, <CategoryMetall: Провод компенсационный KX (Хромель-алюмель)>, <CategoryMetall: Провод компенсационный NX (Нихросил-Нисил)>, <CategoryMetall: Провод компенсационный EX (Хромель-Константан)>, <CategoryMetall: Провод компенсационный JX (Железо-Константан)>, <CategoryMetall: Провод компенсационный TX (Медь-Константан)>, <CategoryMetall: Свинцовая чушка>, <CategoryMetall: Инструментальный круг У10А>, <CategoryMetall: Графитированный электрод ЭГСП-UHP>, '...(remaining elements truncated)...'], 'catalog_slug': u'himiya_samarij', 'current_category': <CategoryMetall: Самарий>, 'current_category_main': <CategoryMetall: Химическая и металлургическая продукция>, 'form': <UploadFileForm bound=False, valid=Unknown, fields=(file)>, 'my_template': u'catalog.html', 'request': <WSGIRequest: GET '/himiya_samarij/'>, 'self': <CatalogNew.views.CatalogView object at 0x2734250>} |
using | None |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/django/template/loader.py
in render_to_string
if isinstance(engine, DjangoTemplates):
if request is not None:
raise ValueError(
"render_to_string doesn't support the request argument "
"when some deprecated arguments are passed.")
# Hack -- use the internal Engine instance of DjangoTemplates.
return engine.engine.render_to_string(
template_name, context, context_instance, dirs, dictionary)...
elif context_instance is not _context_instance_undefined:
warnings.warn(
"Skipping template backend %s because its render_to_string "
"method doesn't support the context_instance argument." %
engine.name, stacklevel=2)
elif dirs is not _dirs_undefined:
Variable | Value |
---|---|
engine | <django.template.backends.django.DjangoTemplates object at 0x3804650> |
dirs | <object object at 0x2d5b670> |
dictionary | <object object at 0x2d5b660> |
template_name | 'index.html' |
request | None |
context_instance | [{'False': False, 'None': None, 'True': True}, {}, {}] |
context | {'UploadFileForm': <class 'CatalogNew.forms.UploadFileForm'>, 'catalog_list': [<CategoryMetall: ССу в кругах>, <CategoryMetall: Конструкционная проволока>, <CategoryMetall: Лигатура цинк>, <CategoryMetall: Провод компенсационный K (Хромель-алюмель)>, <CategoryMetall: Провод компенсационный N (Нихросил-Нисил)>, <CategoryMetall: Провод компенсационный E (Хромель-Константан)>, <CategoryMetall: Провод компенсационный J (Железо-Константан)>, <CategoryMetall: Провод компенсационный T (Медь-Константан)>, <CategoryMetall: Провод компенсационный B (PtRh30-PtRh6)>, <CategoryMetall: Провод компенсационный R (PtRh13-Pt)>, <CategoryMetall: Провод компенсационный S (ПтРх10-Пт)>, <CategoryMetall: Провод компенсационный RC/SC (Cu-CuNi)>, <CategoryMetall: Провод компенсационный KX (Хромель-алюмель)>, <CategoryMetall: Провод компенсационный NX (Нихросил-Нисил)>, <CategoryMetall: Провод компенсационный EX (Хромель-Константан)>, <CategoryMetall: Провод компенсационный JX (Железо-Константан)>, <CategoryMetall: Провод компенсационный TX (Медь-Константан)>, <CategoryMetall: Свинцовая чушка>, <CategoryMetall: Инструментальный круг У10А>, <CategoryMetall: Графитированный электрод ЭГСП-UHP>, '...(remaining elements truncated)...'], 'catalog_slug': u'himiya_samarij', 'current_category': <CategoryMetall: Самарий>, 'current_category_main': <CategoryMetall: Химическая и металлургическая продукция>, 'form': <UploadFileForm bound=False, valid=Unknown, fields=(file)>, 'my_template': u'catalog.html', 'request': <WSGIRequest: GET '/himiya_samarij/'>, 'self': <CatalogNew.views.CatalogView object at 0x2734250>} |
using | None |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/django/template/engine.py
in render_to_string
else:
return t.render(Context(context))
if not context:
return t.render(context_instance)
# Add the context to the context stack, ensuring it gets removed again
# to keep the context_instance in the same state it started in.
with context_instance.push(context):
return t.render(context_instance)...
def select_template(self, template_name_list, dirs=_dirs_undefined):
"""
Given a list of template names, returns the first that can be loaded.
"""
if dirs is _dirs_undefined:
Variable | Value |
---|---|
dirs | <object object at 0x2d5b670> |
dictionary | None |
template_name | 'index.html' |
self | <django.template.engine.Engine object at 0x38043d0> |
t | <django.template.base.Template object at 0x3950c90> |
context | {'UploadFileForm': <class 'CatalogNew.forms.UploadFileForm'>, 'catalog_list': [<CategoryMetall: ССу в кругах>, <CategoryMetall: Конструкционная проволока>, <CategoryMetall: Лигатура цинк>, <CategoryMetall: Провод компенсационный K (Хромель-алюмель)>, <CategoryMetall: Провод компенсационный N (Нихросил-Нисил)>, <CategoryMetall: Провод компенсационный E (Хромель-Константан)>, <CategoryMetall: Провод компенсационный J (Железо-Константан)>, <CategoryMetall: Провод компенсационный T (Медь-Константан)>, <CategoryMetall: Провод компенсационный B (PtRh30-PtRh6)>, <CategoryMetall: Провод компенсационный R (PtRh13-Pt)>, <CategoryMetall: Провод компенсационный S (ПтРх10-Пт)>, <CategoryMetall: Провод компенсационный RC/SC (Cu-CuNi)>, <CategoryMetall: Провод компенсационный KX (Хромель-алюмель)>, <CategoryMetall: Провод компенсационный NX (Нихросил-Нисил)>, <CategoryMetall: Провод компенсационный EX (Хромель-Константан)>, <CategoryMetall: Провод компенсационный JX (Железо-Константан)>, <CategoryMetall: Провод компенсационный TX (Медь-Константан)>, <CategoryMetall: Свинцовая чушка>, <CategoryMetall: Инструментальный круг У10А>, <CategoryMetall: Графитированный электрод ЭГСП-UHP>, '...(remaining elements truncated)...'], 'catalog_slug': u'himiya_samarij', 'current_category': <CategoryMetall: Самарий>, 'current_category_main': <CategoryMetall: Химическая и металлургическая продукция>, 'form': <UploadFileForm bound=False, valid=Unknown, fields=(file)>, 'my_template': u'catalog.html', 'request': <WSGIRequest: GET '/himiya_samarij/'>, 'self': <CatalogNew.views.CatalogView object at 0x2734250>} |
context_instance | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 0x3950c90> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 0x3950c90> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 0x274bbd0> |
bit | u'\n </div>\n\n</div>\n\n' |
bits | [u'<!DOCTYPE HTML>\n<html>\n<head>\n\n <meta name="yandex-verification" content="3772fe4973f0f3bd"/>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>\n <!-- <meta name="viewport" content="width=device-width"> -->\n <!-- <meta name="viewport"> -->\n <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> -->\n <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">\n <meta name="format-detection" content="telephone=no">\n <meta name="description" content="\n ', u'\n \u2192 \u0412 \u043d\u0430\u0448\u0435\u0439 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043a\u0443\u043f\u0438\u0442\u044c \u0441\u0430\u043c\u0430\u0440\u0438\u0439 \u0441 \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u043e\u0439 \u043f\u043e \u0420\u043e\u0441\u0441\u0438\u0438 \u0438 \u0421\u041d\u0413! \u0417\u0432\u043e\u043d\u0438\u0442\u0435! \u041c\u044b \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u043c \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0438 \u0432 \u0412\u043e\u0440\u043e\u043d\u0435\u0436\n ', u'\n "/>\n <meta name="keywords" content="\n ', u'\n \u0421\u0430\u043c\u0430\u0440\u0438\u0439 \u043a\u0443\u043f\u0438\u0442\u044c, \u0421\u0430\u043c\u0430\u0440\u0438\u0439\n ', u'\n "/>\n <title>\n ', u'\n \u0421\u0430\u043c\u0430\u0440\u0438\u0439 \u043a\u0443\u043f\u0438\u0442\u044c | \u041d\u041f\u041f \u0425\u0418\u041c\u041c\u0415\u0422\u041f\u0420\u041e\u0414\u0423\u041a\u0422 - \u0433.\n \u0412\u043e\u0440\u043e\u043d\u0435\u0436\n ', u'\n </title>\n <link rel="icon" href="', u'https', u'://himmetproduct.ru/favicon.ico" type="image/x-icon"/>\n <link rel="shortcut icon" href="', u'https', u'://himmetproduct.ru/favicon.ico" type="image/x-icon"/>\n <link rel="stylesheet" type="text/css" href="', u'/static/', u'css/style.css"/>\n <link rel="stylesheet" type="text/css" href="', u'/static/', u'css/css.css?v1">\n <link rel="stylesheet" href="', u'/static/', u'glightbox/dist/css/glightbox.css">\n <script src="', u'/static/', u'glightbox/dist/js/glightbox.min.js"></script>\n', u'\n\n\n <!-- Google analyse -->\n <script type="text/javascript">\n (function (i, s, o, g, r, a, m) {\n i[\'GoogleAnalyticsObject\'] = r;\n i[r] = i[r] || function () {\n (i[r].q = i[r].q || []).push(arguments)\n }, i[r].l = 1 * new Date();\n a = s.createElement(o),\n m = s.getElementsByTagName(o)[0];\n a.async = 1;\n a.src = g;\n m.parentNode.insertBefore(a, m)\n })(window, document, \'script\', \'https://www.google-analytics.com/analytics.js\', \'ga\');\n\n ga(\'create\', \'UA-99998079-1\', \'auto\');\n ga(\'send\', \'pageview\');\n\n </script>\n <!-- end Google analyse -->\n</head>\n\n\n<body>\n <div class="wrapper">\n <a href="https://t.me/himmetproduct" target="_blank">\n <div class="icon whatsapp">\n <img src="', u'/static/', u'img/soc/tg_round.png"> \n </div>\n </a>\n </div>\n<div>\n <div >\n <div id="head" class="top" \n style="margin:0 0 0; background-size:100%; overflow:hidden; background-repeat:no-repeat;">\n <div id="pos">\n <div class="left-block">\n <div class="logo-img">\n <a href="/"><img id="logo" src="', u'/static/', u'img/logo.png" alt="\u0425\u0438\u043c\u043c\u0435\u0442\u043f\u0440\u043e\u0434\u0443\u043a\u0442"/></a>\n </div>\n <div class="logo-desc">\n <p>\u041d\u0430\u0443\u0447\u043d\u043e-\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u044f... <trimmed 12727 bytes string> |
self | [<Text Node: '<!DOCTYPE HTML> <html> <h'>, <IfNode>, <Text Node: ' "/> <meta name="'>, <IfNode>, <Text Node: ' "/> <title> '>, <IfNode>, <Text Node: ' </title> <link r'>, <Variable Node: request.scheme>, <Text Node: '://himmetproduct.ru/favic'>, <Variable Node: request.scheme>, <Text Node: '://himmetproduct.ru/favic'>, <Variable Node: STATIC_URL>, <Text Node: 'css/style.css"/> <lin'>, <Variable Node: STATIC_URL>, <Text Node: 'css/css.css?v1"> <lin'>, <Variable Node: STATIC_URL>, <Text Node: 'glightbox/dist/css/glight'>, <Variable Node: STATIC_URL>, <Text Node: 'glightbox/dist/js/glightb'>, <Text Node: ' <!-- Google analys'>, <Variable Node: STATIC_URL>, <Text Node: 'img/soc/tg_round.png"> '>, <Variable Node: STATIC_URL>, <Text Node: 'img/logo.png" alt="??????'>, <Variable Node: STATIC_URL>, <Text Node: 'img/header-hr.png" width='>, <django.template.defaulttags.URLNode object at 0x39ac350>, <Text Node: '">???????: <span name="ca'>, <django.template.defaulttags.URLNode object at 0x39aad90>, <Text Node: '"> <div class="num'>, <IfNode>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x272be50>, <Text Node: ' class="menu_mob_btns" st'>, <django.template.defaulttags.URLNode object at 0x272b9d0>, <Text Node: ' class="menu_mob_btns"> '>, <django.template.defaulttags.URLNode object at 0x272b990>, <Text Node: '"> '>, <Variable Node: STATIC_URL>, <Text Node: 'img/menu1.png"/></div> --'>, <IfNode>, <Text Node: ' </di'>, <Variable Node: STATIC_URL>, <Text Node: 'img/menu1.png"/> <di'>, <django.template.defaulttags.URLNode object at 0x2746f10>, <Text Node: '"> <div class="num'>, <Variable Node: STATIC_URL>, <Text Node: 'img/close.png" style="wid'>, <django.template.defaulttags.URLNode object at 0x39c5e10>, <Text Node: '> ???????? '>, <django.template.defaulttags.URLNode object at 0x397dcd0>, <Text Node: '> ???????? </'>, <django.template.defaulttags.URLNode object at 0x39c5290>, <Text Node: '> ???? </a> '>, <Block Node: login. Contents: [<Text Node: ' '>]>, <Text Node: ' <!--????!--> <div c'>, <django.template.defaulttags.URLNode object at 0x395e110>, <Text Node: '"> ??????'>, <django.template.defaulttags.URLNode object at 0x3950290>, <Text Node: '"> ??????'>, <django.template.defaulttags.URLNode object at 0x3950d50>, <Text Node: '"> ??????'>, <django.template.defaulttags.URLNode object at 0x3968210>, <Text Node: '"> ??????'>, <django.template.defaulttags.URLNode object at 0x3b3f9d0>, <Text Node: '"> ??????'>, <django.template.defaulttags.URLNode object at 0x2734410>, <Text Node: '"> ???? '>, <django.template.defaulttags.URLNode object at 0x274b890>, <Text Node: '"> <div class="numbe'>, <IfNode>, <Text Node: ' </div> </di'>, <django.template.loader_tags.IncludeNode object at 0x274bbd0>, <Text Node: ' <script type="text/java'>, <Variable Node: current_filial.name>, <Text Node: ', '>, <Variable Node: current_filial.address>, <IfNode>, <Text Node: '<br/> © 2012-'>, <Variable Node: currentYear>, <Text Node: ' <br/> <div class'>, <django.template.defaulttags.CommentNode object at 0x274be10>, <Text Node: ' <a href="https:/'>, <django.template.defaulttags.CommentNode object at 0x274bf10>, <Text Node: ' </div> <br/> '>, <For Node: for item in filials, tail_len: 9>, <Text Node: ' <br/> <br/> </di'>, <django.template.loader_tags.IncludeNode object at 0x39aef10>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x39aea90>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x27207d0>, <Text Node: ' <!-- <script>button = do'>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 0x274bbd0> |
self | [<Text Node: '<!DOCTYPE HTML> <html> <h'>, <IfNode>, <Text Node: ' "/> <meta name="'>, <IfNode>, <Text Node: ' "/> <title> '>, <IfNode>, <Text Node: ' </title> <link r'>, <Variable Node: request.scheme>, <Text Node: '://himmetproduct.ru/favic'>, <Variable Node: request.scheme>, <Text Node: '://himmetproduct.ru/favic'>, <Variable Node: STATIC_URL>, <Text Node: 'css/style.css"/> <lin'>, <Variable Node: STATIC_URL>, <Text Node: 'css/css.css?v1"> <lin'>, <Variable Node: STATIC_URL>, <Text Node: 'glightbox/dist/css/glight'>, <Variable Node: STATIC_URL>, <Text Node: 'glightbox/dist/js/glightb'>, <Text Node: ' <!-- Google analys'>, <Variable Node: STATIC_URL>, <Text Node: 'img/soc/tg_round.png"> '>, <Variable Node: STATIC_URL>, <Text Node: 'img/logo.png" alt="??????'>, <Variable Node: STATIC_URL>, <Text Node: 'img/header-hr.png" width='>, <django.template.defaulttags.URLNode object at 0x39ac350>, <Text Node: '">???????: <span name="ca'>, <django.template.defaulttags.URLNode object at 0x39aad90>, <Text Node: '"> <div class="num'>, <IfNode>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x272be50>, <Text Node: ' class="menu_mob_btns" st'>, <django.template.defaulttags.URLNode object at 0x272b9d0>, <Text Node: ' class="menu_mob_btns"> '>, <django.template.defaulttags.URLNode object at 0x272b990>, <Text Node: '"> '>, <Variable Node: STATIC_URL>, <Text Node: 'img/menu1.png"/></div> --'>, <IfNode>, <Text Node: ' </di'>, <Variable Node: STATIC_URL>, <Text Node: 'img/menu1.png"/> <di'>, <django.template.defaulttags.URLNode object at 0x2746f10>, <Text Node: '"> <div class="num'>, <Variable Node: STATIC_URL>, <Text Node: 'img/close.png" style="wid'>, <django.template.defaulttags.URLNode object at 0x39c5e10>, <Text Node: '> ???????? '>, <django.template.defaulttags.URLNode object at 0x397dcd0>, <Text Node: '> ???????? </'>, <django.template.defaulttags.URLNode object at 0x39c5290>, <Text Node: '> ???? </a> '>, <Block Node: login. Contents: [<Text Node: ' '>]>, <Text Node: ' <!--????!--> <div c'>, <django.template.defaulttags.URLNode object at 0x395e110>, <Text Node: '"> ??????'>, <django.template.defaulttags.URLNode object at 0x3950290>, <Text Node: '"> ??????'>, <django.template.defaulttags.URLNode object at 0x3950d50>, <Text Node: '"> ??????'>, <django.template.defaulttags.URLNode object at 0x3968210>, <Text Node: '"> ??????'>, <django.template.defaulttags.URLNode object at 0x3b3f9d0>, <Text Node: '"> ??????'>, <django.template.defaulttags.URLNode object at 0x2734410>, <Text Node: '"> ???? '>, <django.template.defaulttags.URLNode object at 0x274b890>, <Text Node: '"> <div class="numbe'>, <IfNode>, <Text Node: ' </div> </di'>, <django.template.loader_tags.IncludeNode object at 0x274bbd0>, <Text Node: ' <script type="text/java'>, <Variable Node: current_filial.name>, <Text Node: ', '>, <Variable Node: current_filial.address>, <IfNode>, <Text Node: '<br/> © 2012-'>, <Variable Node: currentYear>, <Text Node: ' <br/> <div class'>, <django.template.defaulttags.CommentNode object at 0x274be10>, <Text Node: ' <a href="https:/'>, <django.template.defaulttags.CommentNode object at 0x274bf10>, <Text Node: ' </div> <br/> '>, <For Node: for item in filials, tail_len: 9>, <Text Node: ' <br/> <br/> </di'>, <django.template.loader_tags.IncludeNode object at 0x39aef10>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x39aea90>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x27207d0>, <Text Node: ' <!-- <script>button = do'>] |
e | NoReverseMatch(u"Reverse for 'catalog' with arguments '()' and keyword arguments '{'catalog_slug': u'Samarij_II_jodid__ultra_suhoj_99_99_kristally/kuski'}' not found. 2 pattern(s) tried: ['(?P<catalog_slug>[-\\\\w]+)/$', 'catalog/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 0x274bbd0> |
values | {} |
template | <django.template.base.Template object at 0x27209d0> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 0x27209d0> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 0x27209d0> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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'\ufeff<!--\u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435!-->\n\n<div class="content display-block" style="margin-left:2%; margin-right: 2%; ">\n <div id="searchD" >\n <form role="search" class="navbar-search" id="search"\n action="/search/results/" method="get">\n <div class="input-group stylish-input-group" style="" >\n <input type="search" placeholder="\u041f\u043e\u0438\u0441\u043a" class="submitStyleSearch" name="s" >\n <span class="input-group-addon">\n <button class="submitStyleSearch" type="submit" style="padding: 0 0;"></button>\n </span>\n </div>\n </form>\n </div>\n' |
bits | [u'\ufeff<!--\u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435!-->\n\n<div class="content display-block" style="margin-left:2%; margin-right: 2%; ">\n <div id="searchD" >\n <form role="search" class="navbar-search" id="search"\n action="/search/results/" method="get">\n <div class="input-group stylish-input-group" style="" >\n <input type="search" placeholder="\u041f\u043e\u0438\u0441\u043a" class="submitStyleSearch" name="s" >\n <span class="input-group-addon">\n <button class="submitStyleSearch" type="submit" style="padding: 0 0;"></button>\n </span>\n </div>\n </form>\n </div>\n'] |
self | [<Text Node: '?<!--?????????? ?????????'>, <IfNode>, <Text Node: ' </div> '>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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: '?<!--?????????? ?????????'>, <IfNode>, <Text Node: ' </div> '>] |
e | NoReverseMatch(u"Reverse for 'catalog' with arguments '()' and keyword arguments '{'catalog_slug': u'Samarij_II_jodid__ultra_suhoj_99_99_kristally/kuski'}' not found. 2 pattern(s) tried: ['(?P<catalog_slug>[-\\\\w]+)/$', 'catalog/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 | [<CategoryMetall: Самарий (II) йодид, ультра сухой 99,99%>, <CategoryMetall: Самарий (III) ацетат гидрат 99,9%>, <CategoryMetall: Самарий (III) бромид гидрат 99,9%>, <CategoryMetall: Самарий (III) бромид гидрат 99,99%>, <CategoryMetall: Самарий (III) карбонат гидрат 99,99%>, <CategoryMetall: Самарий (III) нитрат гидрат 99,9%>, <CategoryMetall: Самарий (III) нитрат гидрат 99,99%>, <CategoryMetall: Самарий (III) оксалат гидрат 99,99%>, <CategoryMetall: Самарий (III) оксид 99,9%>, <CategoryMetall: Самарий (III) оксид 99,99%>, <CategoryMetall: Самарий (III) сульфат гидрат 99,9%>, <CategoryMetall: Самарий (III) фторид, безводный 99,9%>, <CategoryMetall: Самарий (III) хлорид гидрат 99,9%>, <CategoryMetall: Самарий (III) хлорид гидрат 99,99%>, <CategoryMetall: Самарий (III) хлорид, безводный 99,99%>, <CategoryMetall: Самарий (III) хлорид, ультра сухой 99,99%>] |
nodelist | [<Text Node: ' <table style=" w'>, <django.template.loader_tags.IncludeNode object at 0x38e5e50>, <Text Node: ' </td> '>, <django.template.defaulttags.URLNode object at 0x38e57d0>, <Text Node: '" method="get"> '>, <Variable Node: form.q>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </di'>, <Text Node: ' '>] |
condition | (or (literal <django.template.base.FilterExpression object at 0x38e5990>) (not (literal <django.template.base.FilterExpression object at 0x38e5d90>))) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <IfNode> |
bit | u'\n <input type="search" placeholder="\u041f\u043e\u0438\u0441\u043a" style="font-variant: normal;"\n class="submitStyleSearch" name="s"><span\n class="input-group-addon">\n <button class="submitStyleSearch" type="submit"></button></span>\n </div>\n </form>\n </div>\n \n <table align="center" width="100%" style="margin-left:0; margin-right: 0; "><tr><td>\n <table class="tableCatalog" align="left" width="100%" style=" vertical-align: top; text-align: left;margin-bottom:9%;">\n <tr>\n ' |
bits | [u'\n <table style=" width: 100%;">\n <tr>\n <td id="catalogLeft" width ="25%" valign="top">\n\n ', u'<div class="divStyle" style="position: sticky; top:10%">\n<!-- -->\n\n \n <a id="catalogMainName" href="/poroshki/#metka">\u041f\u043e\u0440\u043e\u0448\u043a\u0438 \u043c\u0435\u0442\u0430\u043b\u043b\u043e\u0432</a>\n \n \n <a id="catalogMainName" href="/populjarnye_stali/#metka">\u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u043f\u043e\u0437\u0438\u0446\u0438\u0438</a>\n \n \n <a id="catalogMainName" href="/produktsija_iz_spetsialnyh_stalej/#metka">\u0421\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0441\u0442\u0430\u043b\u0438 \u0438 \u0447\u0435\u0440\u043d\u044b\u0439 \u043c\u0435\u0442\u0430\u043b\u043b\u043e\u043f\u0440\u043e\u043a\u0430\u0442</a>\n \n \n <a id="catalogMainName" href="/produktsija_iz_tsvetnogo_metalla/#metka">\u0426\u0432\u0435\u0442\u043d\u043e\u0439 \u043c\u0435\u0442\u0430\u043b\u043b\u043e\u043f\u0440\u043e\u043a\u0430\u0442</a>\n \n \n <a id="catalogMainName" href="/redkie_splavy/#metka">\u0420\u0435\u0434\u043a\u0438\u0435 \u0441\u043f\u043b\u0430\u0432\u044b</a>\n \n \n <a id="catalogMainName" href="/himicheskaja_i_metallurgicheskaja_produktsija/#metka">\u0425\u0438\u043c\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0438 \u043c\u0435\u0442\u0430\u043b\u043b\u0443\u0440\u0433\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043f\u0440\u043e\u0434\u0443\u043a\u0446\u0438\u044f</a>\n \n <div style="margin-left:10px; margin-right:10px; margin-left:20px;">\n \n <a id="catalogSName" href="/himicheskie_veschestva/#metka" style="text-decoration:none;">\u0425\u0438\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0432\u0435\u0449\u0435\u0441\u0442\u0432\u0430</a>\n \n <div id="catalogThName" style=" margin-left:25px;color:#666">\n \n <a href="/himiya_alyuminij/#metka" style="text-decoration:none;">\u0410\u043b\u044e\u043c\u0438\u043d\u0438\u0439</a>\n \n <a href="/himiya_ammonij/#metka" style="text-decoration:none;">\u0410\u043c\u043c\u043e\u043d\u0438\u0439</a>\n \n <a href="/himiya_barrij/#metka" style="text-decoration:none;">\u0411\u0430\u0440\u0438\u0439</a>\n \n <a href="/himiya_vismut/#metka" style="text-decoration:none;">\u0412\u0438\u0441\u043c\u0443\u0442</a>\n \n <a href="/himiya_volfram/#metka" style="text-decoration:none;">\u0412\u043e\u043b\u044c\u0444\u0440\u0430\u043c</a>\n \n <a href="/himiya_gadolinij/#metka" style="text-decoration:none;">\u0413\u0430\u0434\u043e\u043b\u0438\u043d\u0438\u0439</a>\n \n <a href="/himiya_gallij/#metka" style="text-decoration:none;">\u0413\u0430\u043b\u043b\u0438\u0439</a>\n \n <a href="/himiya_gafnij/#metka" style="text-decoration:none;">\u0413\u0430\u0444\u043d\u0438\u0439</a>\n \n <a href="/himiya_germanij/#metka" style="text-decoration:none;">\u0413\u0435\u0440\u043c\u0430\u043d\u0438\u0439</a>\n \n <a href="/himiya_golmij/#metka" style="text-decoration:none;">\u0413\u043e\u043b\u044c\u043c\u0438\u0439</a>\n \n <a href="/himiya_disprozij/#metka" style="text-decoration:none;">\u0... <trimmed 17124 bytes string> |
self | [<Text Node: ' <table style=" w'>, <django.template.loader_tags.IncludeNode object at 0x38e5e50>, <Text Node: ' </td> '>, <django.template.defaulttags.URLNode object at 0x38e57d0>, <Text Node: '" method="get"> '>, <Variable Node: form.q>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </di'>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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: ' <table style=" w'>, <django.template.loader_tags.IncludeNode object at 0x38e5e50>, <Text Node: ' </td> '>, <django.template.defaulttags.URLNode object at 0x38e57d0>, <Text Node: '" method="get"> '>, <Variable Node: form.q>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </di'>, <Text Node: ' '>] |
e | NoReverseMatch(u"Reverse for 'catalog' with arguments '()' and keyword arguments '{'catalog_slug': u'Samarij_II_jodid__ultra_suhoj_99_99_kristally/kuski'}' not found. 2 pattern(s) tried: ['(?P<catalog_slug>[-\\\\w]+)/$', 'catalog/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 | <CategoryMetall: Самарий> |
nodelist | [<Text Node: ' '>, <IfNode>, <Text Node: ' '>] |
condition | (literal <django.template.base.FilterExpression object at 0x38e5950>) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <IfNode> |
bit | u'\n ' |
bits | [u'\n '] |
self | [<Text Node: ' '>, <IfNode>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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: ' '>, <IfNode>, <Text Node: ' '>] |
e | NoReverseMatch(u"Reverse for 'catalog' with arguments '()' and keyword arguments '{'catalog_slug': u'Samarij_II_jodid__ultra_suhoj_99_99_kristally/kuski'}' not found. 2 pattern(s) tried: ['(?P<catalog_slug>[-\\\\w]+)/$', 'catalog/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 0x38e59d0>, <Text Node: '</td> '>] |
condition | (literal <django.template.base.FilterExpression object at 0x38e5510>) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 0x38e59d0> |
bit | u'\n <td align="left">' |
bits | [u'\n <td align="left">'] |
self | [<Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x38e59d0>, <Text Node: '</td> '>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 0x38e59d0> |
self | [<Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0x38e59d0>, <Text Node: '</td> '>] |
e | NoReverseMatch(u"Reverse for 'catalog' with arguments '()' and keyword arguments '{'catalog_slug': u'Samarij_II_jodid__ultra_suhoj_99_99_kristally/kuski'}' not found. 2 pattern(s) tried: ['(?P<catalog_slug>[-\\\\w]+)/$', 'catalog/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 0x38e59d0> |
values | {} |
template | <django.template.base.Template object at 0x2731210> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 0x2731210> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 0x2731210> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 item in current_category.childCategories, tail_len: 27> |
bit | u'\n\n<table align="left" width="100%" id="tab_list" class="table_list" style="margin-bottom: -1%; font-variant: small-caps;">\n <tr>\n <th class="table_td_chet" align="left">\n \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435<br><br>\n </th>\n <th class="table_td_chet middle_td" align="left">\n \u0422\u0438\u043f<br><br>\n </th>\n <th class="table_td_chet" align="left">\n \u0413\u041e\u0421\u0422<br><br>\n </th>\n <th class="table_td_chet" align="left">\n \u0426\u0435\u043d\u0430<br><br>\n </th>\n <th class="table_td_chet" align="left">\n \u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c<br><br>\n </th>\n </tr>\n' |
bits | [u'<script type="text/javascript">\n\n\tfunction openlist() {\n\t display = document.getElementById(\'tab_list\').style.display;\n\t if(display==\'none\'){\n\t document.getElementById(\'icon_list\').style.display=\'none\';\n\t document.getElementById(\'tab_list\').style.display=\'table\';\n\t document.getElementById(\'list_button_img\').style.display = \'block\';\n document.getElementById(\'list_button\').style.display = \'none\';\n\t }else{\n\t document.getElementById(\'tab_list\').style.display=\'none\';\n\t document.getElementById(\'icon_list\').style.display=\'block\';\n\t document.getElementById(\'list_button_img\').style.display = \'none\';\n document.getElementById(\'list_button\').style.display = \'block\';\n\t }\n\t}\n</script>\n\n', u'\n', u'\n<input class="catalogText img-icon" type="button" id="list_button_img" value="" onclick="return false" style="margin-right: 10px;"/>\n', u'\n<font class="catalogText">\n \n \n <a href="/himicheskaja_i_metallurgicheskaja_produktsija/#metka">\u0425\u0438\u043c\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0438 \u043c\u0435\u0442\u0430\u043b\u043b\u0443\u0440\u0433\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043f\u0440\u043e\u0434\u0443\u043a\u0446\u0438\u044f</a> →\n \n <a href="/himicheskie_veschestva/#metka">\u0425\u0438\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0432\u0435\u0449\u0435\u0441\u0442\u0432\u0430</a> →\n \u0421\u0430\u043c\u0430\u0440\u0438\u0439\n</font>\n', u'\n<!-- \u043a\u0430\u0442\u0430\u043b\u043e\u0433 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 -->\n<div align="left" class="list_br"/>\n', u'\n\n<table align="left" width="100%" id="tab_list" class="table_list" style="margin-bottom: -1%; font-variant: small-caps;">\n <tr>\n <th class="table_td_chet" align="left">\n \u041d\u0430\u0437\u0432\u0430\u043d\u0438\u0435<br><br>\n </th>\n <th class="table_td_chet middle_td" align="left">\n \u0422\u0438\u043f<br><br>\n </th>\n <th class="table_td_chet" align="left">\n \u0413\u041e\u0421\u0422<br><br>\n </th>\n <th class="table_td_chet" align="left">\n \u0426\u0435\u043d\u0430<br><br>\n </th>\n <th class="table_td_chet" align="left">\n \u0417\u0430\u043a\u0430\u0437\u0430\u0442\u044c<br><br>\n </th>\n </tr>\n'] |
self | [<Text Node: '<script type="text/javasc'>, <Text Node: ' '>, <Text Node: ' <input class="catalogTex'>, <IfNode>, <Text Node: ' <!-- ??????? ? ??????? -'>, <Text Node: ' <table align="left" wid'>, <For Node: for item in current_category.childCategories, tail_len: 27>, <Text Node: ' </table> <div id="icon_'>, <For Node: for item in current_category.childCategories, tail_len: 18>, <Text Node: ' </div> <!-- </div> -->'>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 item in current_category.childCategories, tail_len: 27> |
self | [<Text Node: '<script type="text/javasc'>, <Text Node: ' '>, <Text Node: ' <input class="catalogTex'>, <IfNode>, <Text Node: ' <!-- ??????? ? ??????? -'>, <Text Node: ' <table align="left" wid'>, <For Node: for item in current_category.childCategories, tail_len: 27>, <Text Node: ' </table> <div id="icon_'>, <For Node: for item in current_category.childCategories, tail_len: 18>, <Text Node: ' </div> <!-- </div> -->'>] |
e | NoReverseMatch(u"Reverse for 'catalog' with arguments '()' and keyword arguments '{'catalog_slug': u'Samarij_II_jodid__ultra_suhoj_99_99_kristally/kuski'}' not found. 2 pattern(s) tried: ['(?P<catalog_slug>[-\\\\w]+)/$', 'catalog/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 | <Variable Node: item.get_absolute_url> |
len_values | 16 |
pop_context | False |
e | NoReverseMatch(u"Reverse for 'catalog' with arguments '()' and keyword arguments '{'catalog_slug': u'Samarij_II_jodid__ultra_suhoj_99_99_kristally/kuski'}' not found. 2 pattern(s) tried: ['(?P<catalog_slug>[-\\\\w]+)/$', 'catalog/$']",) |
item | <CategoryMetall: Самарий (II) йодид, ультра сухой 99,99%> |
loop_dict | {u'counter': 1, u'counter0': 0, u'first': True, u'last': False, u'parentloop': {}, u'revcounter': 16, u'revcounter0': 15} |
self | <For Node: for item in current_category.childCategories, tail_len: 27> |
parentloop | {} |
i | 0 |
values | [<CategoryMetall: Самарий (II) йодид, ультра сухой 99,99%>, <CategoryMetall: Самарий (III) ацетат гидрат 99,9%>, <CategoryMetall: Самарий (III) бромид гидрат 99,9%>, <CategoryMetall: Самарий (III) бромид гидрат 99,99%>, <CategoryMetall: Самарий (III) карбонат гидрат 99,99%>, <CategoryMetall: Самарий (III) нитрат гидрат 99,9%>, <CategoryMetall: Самарий (III) нитрат гидрат 99,99%>, <CategoryMetall: Самарий (III) оксалат гидрат 99,99%>, <CategoryMetall: Самарий (III) оксид 99,9%>, <CategoryMetall: Самарий (III) оксид 99,99%>, <CategoryMetall: Самарий (III) сульфат гидрат 99,9%>, <CategoryMetall: Самарий (III) фторид, безводный 99,9%>, <CategoryMetall: Самарий (III) хлорид гидрат 99,9%>, <CategoryMetall: Самарий (III) хлорид гидрат 99,99%>, <CategoryMetall: Самарий (III) хлорид, безводный 99,99%>, <CategoryMetall: Самарий (III) хлорид, ультра сухой 99,99%>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
num_loopvars | 1 |
nodelist | [u'\n <tr >\n\n <td class="', u'table_td', u'">\n <a href="'] |
unpack | False |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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: item.get_absolute_url> |
e | NoReverseMatch(u"Reverse for 'catalog' with arguments '()' and keyword arguments '{'catalog_slug': u'Samarij_II_jodid__ultra_suhoj_99_99_kristally/kuski'}' not found. 2 pattern(s) tried: ['(?P<catalog_slug>[-\\\\w]+)/$', 'catalog/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 0x39b5590> |
ignore_failures | False |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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'item.get_absolute_url'> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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:
inspect.getcallargs(current)
except TypeError: # arguments *were* required
current = context.template.engine.string_if_invalid # invalid method call
else:
Variable | Value |
---|---|
current | <bound method CategoryMetall.get_absolute_url of <CategoryMetall: Самарий (II) йодид, ультра сухой 99,99%>> |
bit | u'get_absolute_url' |
e | NoReverseMatch(u"Reverse for 'catalog' with arguments '()' and keyword arguments '{'catalog_slug': u'Samarij_II_jodid__ultra_suhoj_99_99_kristally/kuski'}' not found. 2 pattern(s) tried: ['(?P<catalog_slug>[-\\\\w]+)/$', 'catalog/$']",) |
self | <Variable: u'item.get_absolute_url'> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/django/db/models/__init__.py
in inner
(viewname, viewargs, viewkwargs)
"""
from django.core.urlresolvers import reverse
@wraps(func)
def inner(*args, **kwargs):
bits = func(*args, **kwargs)
return reverse(bits[0], None, *bits[1:3])...
return inner
# Deprecated aliases for functions were exposed in this module.
def make_alias(function_name):
Variable | Value |
---|---|
args | (<CategoryMetall: Самарий (II) йодид, ультра сухой 99,99%>,) |
bits | ('catalog', (), {'catalog_slug': u'Samarij_II_jodid__ultra_suhoj_99_99_kristally/kuski'}) |
reverse | <function reverse at 0x2d50320> |
func | <function get_absolute_url at 0x33da1b8> |
kwargs | {} |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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 | 'catalog' |
args | [] |
current_app | None |
prefix | u'/' |
parts | [u'catalog'] |
resolver | <RegexURLResolver 'himmetproduct.urls' (None:None) ^/> |
kwargs | {'catalog_slug': u'Samarij_II_jodid__ultra_suhoj_99_99_kristally/kuski'} |
path | [] |
view | u'catalog' |
urlconf | 'himmetproduct.urls' |
resolved_path | [] |
/home/himmetproduct/Env/himmetproduct/local/lib/python2.7/site-packages/Django-1.8.9-py2.7.egg/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/' |
candidate_pat | u'/%(catalog_slug)s/' |
pattern | 'catalog/$' |
self | <RegexURLResolver 'himmetproduct.urls' (None:None) ^/> |
_prefix | u'/' |
text_args | [] |
lookup_view | u'catalog' |
prefix_args | [] |
params | [] |
kwargs | {'catalog_slug': u'Samarij_II_jodid__ultra_suhoj_99_99_kristally/kuski'} |
matches | True |
args | () |
possibility | [(u'catalog/', [])] |
text_kwargs | {'catalog_slug': u'Samarij_II_jodid__ultra_suhoj_99_99_kristally/kuski'} |
candidate_subs | {'catalog_slug': u'Samarij_II_jodid__ultra_suhoj_99_99_kristally/kuski'} |
m | None |
lookup_view_s | u'catalog' |
n | None |
possibilities | [([(u'%(catalog_slug)s/', [u'catalog_slug'])], '(?P<catalog_slug>[-\\w]+)/$', {}), ([(u'catalog/', [])], 'catalog/$', {})] |
patterns | ['(?P<catalog_slug>[-\\w]+)/$', 'catalog/$'] |
prefix_norm | u'/' |
defaults | {} |
original_lookup | u'catalog' |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | True |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/himiya_samarij/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
UWSGI_SCHEME | 'https' |
CONTENT_LENGTH | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'himmetproduct.ru' |
REMOTE_ADDR | '18.209.209.28' |
wsgi.url_scheme | 'https' |
SERVER_PORT | '443' |
uwsgi.node | 'vm-04224bcb' |
DOCUMENT_ROOT | '/etc/nginx/html' |
uwsgi.core | 1 |
wsgi.input | <uwsgi._Input object at 0x3b20108> |
HTTP_HOST | 'voronezh.himmetproduct.ru' |
wsgi.multithread | True |
REQUEST_URI | '/himiya_samarij/' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
wsgi.run_once | False |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x358a660> |
REMOTE_PORT | '45908' |
uwsgi.version | '2.0.11.2' |
CONTENT_TYPE | '' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'IUgZ4FdlHakCJlhTwooYKjiPpdVpRqEK' |
himmetproduct.settings
Setting | Value |
---|---|
SECURE_BROWSER_XSS_FILTER | False |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'ru-RU' |
ROOT_URLCONF | 'himmetproduct.urls' |
MANAGERS | () |
BASE_DIR | '/home/himmetproduct/himmetproduct' |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/home/himmetproduct/himmetproduct//www/static/' |
WWW_ROOT | '/home/himmetproduct/himmetproduct//www/' |
ALLOWED_HOSTS | ['*'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SERVER_EMAIL | 'root@localhost' |
SECURE_HSTS_SECONDS | 0 |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'django.contrib.staticfiles.finders.DefaultStorageFinder') |
SESSION_CACHE_ALIAS | 'default' |
EMAIL_PASS | u'********************' |
SESSION_COOKIE_NAME | 'sessionid' |
TOP_MENU_KACHESTVO | 'kachestvo' |
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.mysql', 'HOST': 'localhost', 'NAME': 'himmetproduct', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'UTC', 'USER': 'himmetproduct'}} |
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 | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
META_KEYWORDS | u'********************' |
SESSION_COOKIE_PATH | '/' |
SECURE_CONTENT_TYPE_NOSNIFF | False |
MIDDLEWARE_CLASSES | ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware') |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
TOP_MENU_KLIENTAM | 'klientam' |
DEFAULT_INDEX_TABLESPACE | '' |
LOGGING_CONFIG | 'logging.config.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
FIRST_DAY_OF_WEEK | 0 |
WSGI_APPLICATION | 'himmetproduct.wsgi.application' |
TEMPLATE_DEBUG | False |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
META_DESCRIPTION | '\xd0\xa5\xd0\x98\xd0\x9c\xd0\x9c\xd0\x95\xd0\xa2\xd0\x9f\xd0\xa0\xd0\x9e\xd0\x94\xd0\xa3\xd0\x9a\xd0\xa2 - \xd0\x9f\xd1\x80\xd0\xbe\xd0\xb8\xd0\xb7\xd0\xb2\xd0\xbe\xd0\xb4\xd1\x81\xd1\x82\xd0\xb2\xd0\xbe \xd0\xb8 \xd0\xbf\xd1\x80\xd0\xbe\xd0\xb4\xd0\xb0\xd0\xb6\xd0\xb0 \xd0\xbc\xd0\xb5\xd1\x82\xd0\xb0\xd0\xbb\xd0\xbb\xd0\xb8\xd1\x87\xd0\xb5\xd1\x81\xd0\xba\xd0\xb8\xd1\x85 \xd0\xbf\xd0\xbe\xd1\x80\xd0\xbe\xd1\x88\xd0\xba\xd0\xbe\xd0\xb2 \xd0\xb8 \xd0\xbf\xd1\x80\xd0\xbe\xd0\xb4\xd1\x83\xd0\xba\xd1\x86\xd0\xb8\xd0\xb8 \xd0\xb8\xd0\xb7 \xd1\x80\xd0\xb5\xd0\xb4\xd0\xba\xd0\xb8\xd1\x85 \xd0\xbc\xd0\xb5\xd1\x82\xd0\xb0\xd0\xbb\xd0\xbb\xd0\xbe\xd0\xb2 \xd0\xb8 \xd0\xb8\xd1\x85 \xd1\x81\xd0\xbf\xd0\xbb\xd0\xb0\xd0\xb2\xd0\xbe\xd0\xb2' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
USE_ETAGS | False |
EMAIL_TIMEOUT | None |
SECURE_SSL_HOST | None |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'tinymce', 'Export', 'CatalogNew', 'Order', 'cart', 'django_ipgeobase', 'Filials', 'stats', 'search', 'Research', 'news', 'articles', 'vacancy', 'contacts', 'text_block_url', 'accounts', 'accounts.templatetags') |
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 | ('/home/himmetproduct/himmetproduct/static',) |
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 |
TOP_MENU_CATALOG | 'catalog' |
TIME_FORMAT | 'P' |
PRODUCTS_PER_ROW | 6 |
AUTH_USER_MODEL | 'auth.User' |
DATE_INPUT_FORMATS | ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y') |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
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' |
TOP_MENU_SELL | 'sell' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | 'my_account' |
PATH_PROJECT | '/home/himmetproduct/himmetproduct/' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
MIGRATION_MODULES | {} |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
EMAIL_ADDRESS | 'tech@himmetproduct.ru' |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/home/himmetproduct/himmetproduct//www/media/' |
TOP_MENU_ABOUT | 'okompanii' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
PRODUCTS_PER_PAGE | 40 |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | () |
TOP_MENU_CONTACTS | 'contacts' |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/himmetproduct/himmetproduct/templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'himmetproduct.views.global_views']}}] |
PROJECT_NAME | 'himmetproduct' |
LOGOUT_REDIRECT_URL | 'logged_out' |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SECURE_SSL_REDIRECT | False |
TIME_ZONE | 'Asia/Yekaterinburg' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
HOST_NAME | 'localhost' |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
USER_NAME | 'root' |
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') |
SITE_NAME | '\xd0\xa5\xd0\x98\xd0\x9c\xd0\x9c\xd0\x95\xd0\xa2\xd0\x9f\xd0\xa0\xd0\x9e\xd0\x94\xd0\xa3\xd0\x9a\xd0\xa2' |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'himmetproduct.settings' |
TOP_MENU_VACANCY | 'vacancy' |
SESSION_COOKIE_DOMAIN | None |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | () |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
TEST_NON_SERIALIZED_APPS | [] |
PASSWORD_HASHERS | u'********************' |
TINYMCE_DEFAULT_CONFIG | {'content_css': '/static/css/style.css', 'height': '300', 'plugins': 'fullscreen', 'theme': 'advanced', 'theme_advanced_toolbar_location': 'top'} |
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 | '' |
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.