Reverse for 'get_product' with arguments '('',)' and keyword arguments '{}' not found. 1 pattern(s) tried: ['kategoria/(?P<name>.+)/$']
Request Method: | GET |
---|---|
Request URL: | https://ancom.info.pl/produkt/Per%25c5%2582a%2520Plus%2520-%2520kasa%2520wycofana%2520ze%2520sprzeda%25c5%25bcy/ |
Django Version: | 1.8 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'get_product' with arguments '('',)' and keyword arguments '{}' not found. 1 pattern(s) tried: ['kategoria/(?P<name>.+)/$'] |
Exception Location: | /home/hajnidfe/virtualenv/ancom/ancom_info/2.7/lib/python2.7/site-packages/django/core/urlresolvers.py in _reverse_with_prefix, line 496 |
Python Executable: | /home/hajnidfe/virtualenv/ancom/ancom_info/2.7/bin/python2.7_bin |
Python Version: | 2.7.18 |
Python Path: | ['/home/hajnidfe/ancom/ancom_info', '/opt/cpanel/ea-ruby27/root/usr/share/passenger/helper-scripts', '/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/lib/python27.zip', '/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/lib64/python2.7', '/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/lib64/python2.7/plat-linux2', '/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/lib64/python2.7/lib-tk', '/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/lib64/python2.7/lib-old', '/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/lib64/python2.7/lib-dynload', '/opt/alt/python27/lib64/python2.7', '/opt/alt/python27/lib/python2.7', '/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/lib/python2.7/site-packages', '/home/hajnidfe/ancom/ancom_info'] |
Server time: | Fri, 29 Mar 2024 06:54:52 +0100 |
In template /home/hajnidfe/ancom/ancom_info/webapp/templates/product_detail.html
, error at line 19
9 | <div class="col-xs-4 item-photo"> |
---|---|
10 | {% if product.image %} |
11 | <img style="max-width:100%;" src='{{ product.image.url }}' alt='{{ product.name }}'/> |
12 | {% else %} |
13 | <img style="max-width:100%;" src="../../static/logos/no-image-400x500.jpg" alt=""/> |
14 | {% endif %} |
15 | |
16 | </div> |
17 | <div class="col-xs-5" style="border:0px solid gray"> |
18 | <!-- Datos del vendedor y titulo del producto --> |
19 | <h5 style="color:#337ab7"><a class = "categoryLink" href=" {% url 'get_product' product.category.name %} ">{{ product.category }}</a></h5> |
20 | <h3>{{ product.company }}, {{ product.name }}</h3> |
21 | <div class="section" style="padding-bottom:5px;"> |
22 | <h6 class="title-attr"><small></small></h6> |
23 | <div> |
24 | <div class="attr2">Typ: {{ product.type.name }}</div> |
25 | </div> |
26 | </div> |
27 | <br> |
28 | <!-- Precios --> |
29 | <h6 class="title-price">Cena brutto</h6> |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/lib/python2.7/site-packages/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 'get_product' with arguments '('',)' and keyword arguments '{}' not found. 1 pattern(s) tried: ['kategoria/(?P<name>.+)/$']",) |
callback_args | () |
resolver_match | ResolverMatch(func=webapp.views.product_detail, args=(), kwargs={'name': u'Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy'}, url_name=product_detail, app_name=None, namespaces=[]) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x2b6b93796710>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x2b6b919c0150> |
request | "<WSGIRequest\npath:/produkt/Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'MCVgBpJ6mGyjBANUc0VutNnPHJ9JKASj',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'ancom.info.pl',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '3.238.12.0',\n 'HTTP_X_FORWARDED_PROTO': 'https',\n 'HTTP_X_HTTPS': '1',\n 'PASSENGER_CONNECT_PASSWORD': 'LAeaX2jAX2jjjpTb',\n 'PATH_INFO': u'/produkt/Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '3.238.12.0',\n 'REMOTE_PORT': '20564',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/produkt/Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy/',\n 'SCRIPT_NAME': u'',\n 'SCRIPT_URI': 'https://ancom.info.pl/produkt/Per\\xc5\\x82a Plus - kasa wycofana ze sprzeda\\xc5\\xbcy/',\n 'SCRIPT_URL': '/produkt/Per\\xc5\\x82a Plus - kasa wycofana ze sprzeda\\xc5\\xbcy/',\n 'SERVER_NAME': 'ancom.info.pl',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'Apache/2.4.58 (cPanel) OpenSSL/1.1.1w mod_bwlimited/1.4 Phusion_Passenger/6.0.20',\n 'UNIQUE_ID': 'ZgZXrLW-dlSymajgmos_KgAAAAE',\n 'passenger.hijack': <function hijack at 0x2b6b9397acd0>,\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x2b6b8544f270>,\n 'wsgi.input': <socket._fileobject object at 0x2b6b9397aed0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
callback | <function product_detail at 0x2b6b938948d0> |
wrapped_callback | <function product_detail at 0x2b6b938948d0> |
resolver | <RegexURLResolver 'ancom.urls' (None:None) ^/> |
callback_kwargs | {'name': u'Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy'} |
response | None |
urlconf | 'ancom.urls' |
/home/hajnidfe/ancom/ancom_info/webapp/views.py
in product_detail
def product_detail(request, name):
name = unquote(name)
name = name.encode("latin-1")
categories = Category.objects.all()
product = get_object_or_404(Product, name=name)
# product = Product.objects.get(name=name)
return render(request, 'product_detail.html', {'product': product, 'categories': categories})...
def szkoly(request):
categories = Category.objects.all()
school_services = School_Services.objects.all()
return render(request, 'szkoly.html', {'categories': categories, 'school_services': school_services})
Variable | Value |
---|---|
product | <Product: Perła Plus - kasa wycofana ze sprzedaży> |
request | "<WSGIRequest\npath:/produkt/Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'MCVgBpJ6mGyjBANUc0VutNnPHJ9JKASj',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'ancom.info.pl',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '3.238.12.0',\n 'HTTP_X_FORWARDED_PROTO': 'https',\n 'HTTP_X_HTTPS': '1',\n 'PASSENGER_CONNECT_PASSWORD': 'LAeaX2jAX2jjjpTb',\n 'PATH_INFO': u'/produkt/Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '3.238.12.0',\n 'REMOTE_PORT': '20564',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/produkt/Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy/',\n 'SCRIPT_NAME': u'',\n 'SCRIPT_URI': 'https://ancom.info.pl/produkt/Per\\xc5\\x82a Plus - kasa wycofana ze sprzeda\\xc5\\xbcy/',\n 'SCRIPT_URL': '/produkt/Per\\xc5\\x82a Plus - kasa wycofana ze sprzeda\\xc5\\xbcy/',\n 'SERVER_NAME': 'ancom.info.pl',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'Apache/2.4.58 (cPanel) OpenSSL/1.1.1w mod_bwlimited/1.4 Phusion_Passenger/6.0.20',\n 'UNIQUE_ID': 'ZgZXrLW-dlSymajgmos_KgAAAAE',\n 'passenger.hijack': <function hijack at 0x2b6b9397acd0>,\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x2b6b8544f270>,\n 'wsgi.input': <socket._fileobject object at 0x2b6b9397aed0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
name | 'Per\xc5\x82a Plus - kasa wycofana ze sprzeda\xc5\xbcy' |
categories | [<Category: Drukarki_fiskalne_online>, <Category: Kasoterminal online>, <Category: Kasy_fiskalne_online>] |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/lib/python2.7/site-packages/django/shortcuts.py
in render
if (context_instance is _context_instance_undefined
and current_app is _current_app_undefined
and dirs is _dirs_undefined
and dictionary is _dictionary_undefined):
# No deprecated arguments were passed - use the new code path
# In Django 2.0, request should become a positional argument.
content = loader.render_to_string(
template_name, context, request=request, using=using)...
else:
# Some deprecated arguments were passed - use the legacy code path
if context_instance is not _context_instance_undefined:
if current_app is not _current_app_undefined:
raise ValueError('If you provide a context_instance you must '
Variable | Value |
---|---|
dirs | <object object at 0x2b6b91504ac0> |
status | None |
content_type | None |
dictionary | <object object at 0x2b6b91504ab0> |
template_name | 'product_detail.html' |
current_app | <object object at 0x2b6b91504330> |
request | "<WSGIRequest\npath:/produkt/Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'MCVgBpJ6mGyjBANUc0VutNnPHJ9JKASj',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'ancom.info.pl',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '3.238.12.0',\n 'HTTP_X_FORWARDED_PROTO': 'https',\n 'HTTP_X_HTTPS': '1',\n 'PASSENGER_CONNECT_PASSWORD': 'LAeaX2jAX2jjjpTb',\n 'PATH_INFO': u'/produkt/Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '3.238.12.0',\n 'REMOTE_PORT': '20564',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/produkt/Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy/',\n 'SCRIPT_NAME': u'',\n 'SCRIPT_URI': 'https://ancom.info.pl/produkt/Per\\xc5\\x82a Plus - kasa wycofana ze sprzeda\\xc5\\xbcy/',\n 'SCRIPT_URL': '/produkt/Per\\xc5\\x82a Plus - kasa wycofana ze sprzeda\\xc5\\xbcy/',\n 'SERVER_NAME': 'ancom.info.pl',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'Apache/2.4.58 (cPanel) OpenSSL/1.1.1w mod_bwlimited/1.4 Phusion_Passenger/6.0.20',\n 'UNIQUE_ID': 'ZgZXrLW-dlSymajgmos_KgAAAAE',\n 'passenger.hijack': <function hijack at 0x2b6b9397acd0>,\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x2b6b8544f270>,\n 'wsgi.input': <socket._fileobject object at 0x2b6b9397aed0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
context_instance | <object object at 0x2b6b91504aa0> |
context | {'categories': [<Category: Drukarki_fiskalne_online>, <Category: Kasoterminal online>, <Category: Kasy_fiskalne_online>], 'product': <Product: Perła Plus - kasa wycofana ze sprzedaży>} |
using | None |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/lib/python2.7/site-packages/django/template/loader.py
in render_to_string
and dirs is _dirs_undefined
and dictionary is _dictionary_undefined):
# No deprecated arguments were passed - use the new code path
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)...
else:
# Some deprecated arguments were passed - use the legacy code path
for engine in _engine_list(using):
try:
# This is required for deprecating properly arguments specific
Variable | Value |
---|---|
dirs | <object object at 0x2b6b91504ac0> |
template | <django.template.backends.django.Template object at 0x2b6b9396fb10> |
dictionary | <object object at 0x2b6b91504ab0> |
template_name | 'product_detail.html' |
request | "<WSGIRequest\npath:/produkt/Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'MCVgBpJ6mGyjBANUc0VutNnPHJ9JKASj',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'ancom.info.pl',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '3.238.12.0',\n 'HTTP_X_FORWARDED_PROTO': 'https',\n 'HTTP_X_HTTPS': '1',\n 'PASSENGER_CONNECT_PASSWORD': 'LAeaX2jAX2jjjpTb',\n 'PATH_INFO': u'/produkt/Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '3.238.12.0',\n 'REMOTE_PORT': '20564',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/produkt/Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy/',\n 'SCRIPT_NAME': u'',\n 'SCRIPT_URI': 'https://ancom.info.pl/produkt/Per\\xc5\\x82a Plus - kasa wycofana ze sprzeda\\xc5\\xbcy/',\n 'SCRIPT_URL': '/produkt/Per\\xc5\\x82a Plus - kasa wycofana ze sprzeda\\xc5\\xbcy/',\n 'SERVER_NAME': 'ancom.info.pl',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'Apache/2.4.58 (cPanel) OpenSSL/1.1.1w mod_bwlimited/1.4 Phusion_Passenger/6.0.20',\n 'UNIQUE_ID': 'ZgZXrLW-dlSymajgmos_KgAAAAE',\n 'passenger.hijack': <function hijack at 0x2b6b9397acd0>,\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x2b6b8544f270>,\n 'wsgi.input': <socket._fileobject object at 0x2b6b9397aed0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
context_instance | <object object at 0x2b6b91504aa0> |
context | {'categories': [<Category: Drukarki_fiskalne_online>, <Category: Kasoterminal online>, <Category: Kasy_fiskalne_online>], 'product': <Product: Perła Plus - kasa wycofana ze sprzedaży>} |
using | None |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/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 0x2b6b9396fb10> |
request | "<WSGIRequest\npath:/produkt/Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{u'CSRF_COOKIE': u'MCVgBpJ6mGyjBANUc0VutNnPHJ9JKASj',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'ancom.info.pl',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '3.238.12.0',\n 'HTTP_X_FORWARDED_PROTO': 'https',\n 'HTTP_X_HTTPS': '1',\n 'PASSENGER_CONNECT_PASSWORD': 'LAeaX2jAX2jjjpTb',\n 'PATH_INFO': u'/produkt/Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy/',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '3.238.12.0',\n 'REMOTE_PORT': '20564',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_URI': '/produkt/Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy/',\n 'SCRIPT_NAME': u'',\n 'SCRIPT_URI': 'https://ancom.info.pl/produkt/Per\\xc5\\x82a Plus - kasa wycofana ze sprzeda\\xc5\\xbcy/',\n 'SCRIPT_URL': '/produkt/Per\\xc5\\x82a Plus - kasa wycofana ze sprzeda\\xc5\\xbcy/',\n 'SERVER_NAME': 'ancom.info.pl',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'Apache/2.4.58 (cPanel) OpenSSL/1.1.1w mod_bwlimited/1.4 Phusion_Passenger/6.0.20',\n 'UNIQUE_ID': 'ZgZXrLW-dlSymajgmos_KgAAAAE',\n 'passenger.hijack': <function hijack at 0x2b6b9397acd0>,\n 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x2b6b8544f270>,\n 'wsgi.input': <socket._fileobject object at 0x2b6b9397aed0>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
context | [{'False': False, 'None': None, 'True': True}, {}, {'product': <Product: Perła Plus - kasa wycofana ze sprzedaży>, 'categories': [<Category: Drukarki_fiskalne_online>, <Category: Kasoterminal online>, <Category: Kasy_fiskalne_online>]}] |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/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 0x2b6b9396fc10> |
context | [{'False': False, 'None': None, 'True': True}, {}, {'product': <Product: Perła Plus - kasa wycofana ze sprzedaży>, 'categories': [<Category: Drukarki_fiskalne_online>, <Category: Kasoterminal online>, <Category: Kasy_fiskalne_online>]}] |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/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 0x2b6b9396fc10> |
context | [{'False': False, 'None': None, 'True': True}, {}, {'product': <Product: Perła Plus - kasa wycofana ze sprzedaży>, 'categories': [<Category: Drukarki_fiskalne_online>, <Category: Kasoterminal online>, <Category: Kasy_fiskalne_online>]}] |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/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}, {}, {'product': <Product: Perła Plus - kasa wycofana ze sprzedaży>, 'categories': [<Category: Drukarki_fiskalne_online>, <Category: Kasoterminal online>, <Category: Kasy_fiskalne_online>]}] |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/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 'get_product' with arguments '('',)' and keyword arguments '{}' not found. 1 pattern(s) tried: ['kategoria/(?P<name>.+)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {'product': <Product: Perła Plus - kasa wycofana ze sprzedaży>, 'categories': [<Category: Drukarki_fiskalne_online>, <Category: Kasoterminal online>, <Category: Kasy_fiskalne_online>]}] |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/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 0x2b6b93977f50> |
blocks | {u'content': <Block Node: content. Contents: [<Text Node: ' '>]>, u'title': <Block Node: title. Contents: []>} |
block_context | <django.template.loader_tags.BlockContext object at 0x2b6b93983b50> |
context | [{'False': False, 'None': None, 'True': True}, {}, {'product': <Product: Perła Plus - kasa wycofana ze sprzedaży>, 'categories': [<Category: Drukarki_fiskalne_online>, <Category: Kasoterminal online>, <Category: Kasy_fiskalne_online>]}] |
compiled_parent | <django.template.base.Template object at 0x2b6b93975d50> |
self | <ExtendsNode: extends 'base.html'> |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/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 0x2b6b93975d50> |
context | [{'False': False, 'None': None, 'True': True}, {}, {'product': <Product: Perła Plus - kasa wycofana ze sprzedaży>, 'categories': [<Category: Drukarki_fiskalne_online>, <Category: Kasoterminal online>, <Category: Kasy_fiskalne_online>]}] |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/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: [<Text Node: ' '>]> |
bit | u'" >KONTAKT</a></li>\n </ul>\n\n <form class="navbar-form navbar-right" method="get" action="/szukaj/" style="padding-right:3%; padding-left:5%;">\n <div class="form-group">\n\n <input type="text" class="form-control" placeholder="Szukaj" name="q">\n <button type="submit" class="btn btn-default"><i class="glyphicon glyphicon-search"></i></button>\n </div>\n\n </form>\n\n\n </div><!-- /.navbar-collapse -->\n\n </div><!-- /.container-fluid -->\n</nav>\n</div>\n\n<div class="content container">\n <div class="row">\n <div class="main-page">\n\n ' |
bits | [u'', u'\n<html>\n<head>\n<!-- Global site tag (gtag.js) - Google Analytics -->\n<script async src="https://www.googletagmanager.com/gtag/js?id=UA-20145254-1"></script>\n<script>\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag(\'js\', new Date());\n\n gtag(\'config\', \'UA-20145254-1\');\n</script>\n\n <!-- <meta name="google-site-verification" content="QGcq7p3gaZPHY4HtkjsjaaWeofMMLk9XxCDj2uUrb4Q" />\n <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> -->\n\n<link rel="stylesheet" href="', u'/static/css/slider.css', u'">\n <link rel="stylesheet" href="', u'/static/css/1.css', u'">\n\n <link rel="stylesheet" href="', u'/static/css/main.css', u'">\n\n <link rel="stylesheet" href="', u'/static/css/list.css', u'">\n <link rel="stylesheet" href="', u'/static/css/cookies.css', u'">\n <link rel="stylesheet" href="', u'/static/css/webapp.css', u'">\n\n <meta name="viewport" content="width=device-width, initial-scale=1">\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">\n <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>\n <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>\n\n <meta charset="UTF-8">\n \n<script type="text/javascript">\n $(document).ready(function(){\n $(\'.categoryLink\').each(function(index, currentElement) {\n currentElement.innerText = currentElement.innerText.replace(/_/g, \' \');\n });\n })\n</script> \n \n<script type="text/javascript">\n $(document).ready(function(){\n //-- Click on detail\n $("ul.menu-items > li").on("click",function(){\n $("ul.menu-items > li").removeClass("active");\n $(this).addClass("active");\n })\n\n $(".attr,.attr2").on("click",function(){\n var clase = $(this).attr("class");\n\n $("." + clase).removeClass("active");\n $(this).addClass("active");\n })\n\n //-- Click on QUANTITY\n $(".btn-minus").on("click",function(){\n var now = $(".section > div > input").val();\n if ($.isNumeric(now)){\n if (parseInt(now) -1 > 0){ now--;}\n $(".section > div > input").val(now);\n }else{\n $(".section > div > input").val("1");\n }\n })\n $(".btn-plus").on("click",function(){\n var now = $(".section > div > input").val();\n if ($.isNumeric(now)){\n $(".section > div > input").val(parseInt(now)+1);\n }else{\n $(".section > div > input").val("1");\n }\n })\n })\n</script>\n<script type="text/javascript">\n $().ready(function() {\n var sName = "cookiesok";\n $("#close-cookie-warn").click(function(){\n var oExpire = new Date();\n oExpire.setTime((new Date()).getTime() + 3600000*24*365);\n document.cookie = sName + "=1;expires=" + oExpire;\n $("#cookie-warn").hide("slow");\n });\n\n var sStr = \'; \'+ document.cookie +\';\';\n var nIndex = sStr.indexOf(\'; \'+ escape(sName) +\'=\');\n if (nIndex === -1) {\n $("#cookie-warn").show();\n }\n});\n</script>\n <script type="text/javascript">\n $(document).ready(function() {\n $(\'#grid\').click(function(event){\n event.preventDefault();\n $(\'#products .item\').removeClass(\'list-group-item\');\n $(\'#products .item\').addClass(\'grid-group-item\');\n });\n $(\'#list\').click(function(event){\n event.preventDefault();\n $(\'#products .item\').addClass(\'list-group-item\');\n });\n\n });\n </script>\n\n <script type="text/javascript">\n $(document).ready(function() {\n $(window).resize(function () {\n if ($( document ).width() < 1000) {\n $(\'#asd\').removeClass... <trimmed 9333 bytes string> |
self | [<django.template.defaulttags.LoadNode object at 0x2b6b93977f50>, <Text Node: ' <html> <head> <!-- Globa'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x2b6b93977f90>, <Text Node: '"> <link rel="styleshee'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x2b6b93975e10>, <Text Node: '"> <link rel="styleshe'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x2b6b93971050>, <Text Node: '"> <link rel="styleshe'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x2b6b93971110>, <Text Node: '"> <link rel="styleshee'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x2b6b93971210>, <Text Node: '"> <link rel="styleshee'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x2b6b93971290>, <Text Node: '"> <meta name="viewpor'>, <Block Node: title. Contents: []>, <Text Node: ' </title> <link rel="S'>, <django.template.defaulttags.URLNode object at 0x2b6b939770d0>, <Text Node: '" style="color: #474747; '>, <django.template.defaulttags.URLNode object at 0x2b6b939771d0>, <Text Node: '" ><i class="glyphicon gl'>, <For Node: for category in categories, tail_len: 5>, <Text Node: ' </ul> '>, <django.template.defaulttags.URLNode object at 0x2b6b93977510>, <Text Node: '" >Us?ugi informatyczne<'>, <django.template.defaulttags.URLNode object at 0x2b6b93977610>, <Text Node: '" >Obs?uga szk??</a></li'>, <django.template.defaulttags.URLNode object at 0x2b6b939776d0>, <Text Node: '" >Obs?uga firm</a></li>'>, <django.template.defaulttags.URLNode object at 0x2b6b93971550>, <Text Node: '" >KONTAKT</a></li> '>, <Block Node: content. Contents: [<Text Node: ' '>]>, <Text Node: ' </div> </div> </di'>, <django.template.defaulttags.URLNode object at 0x2b6b93977890>, <Text Node: '" class="footer-logo">Moj'>, <For Node: for category in categories, tail_len: 5>, <Text Node: ' </ul> '>, <django.template.defaulttags.URLNode object at 0x2b6b93977c10>, <Text Node: '" >Us?ugi informatyczne<'>, <django.template.defaulttags.URLNode object at 0x2b6b93977d10>, <Text Node: '" >Obs?uga szk??</a></li'>, <django.template.defaulttags.URLNode object at 0x2b6b93977dd0>, <Text Node: '" >Obs?uga firm</a></li>'>, <django.template.defaulttags.URLNode object at 0x2b6b93971710>, <Text Node: '" >Kontakt</a></li> '>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {'product': <Product: Perła Plus - kasa wycofana ze sprzedaży>, 'categories': [<Category: Drukarki_fiskalne_online>, <Category: Kasoterminal online>, <Category: Kasy_fiskalne_online>]}] |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/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: [<Text Node: ' '>]> |
self | [<django.template.defaulttags.LoadNode object at 0x2b6b93977f50>, <Text Node: ' <html> <head> <!-- Globa'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x2b6b93977f90>, <Text Node: '"> <link rel="styleshee'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x2b6b93975e10>, <Text Node: '"> <link rel="styleshe'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x2b6b93971050>, <Text Node: '"> <link rel="styleshe'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x2b6b93971110>, <Text Node: '"> <link rel="styleshee'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x2b6b93971210>, <Text Node: '"> <link rel="styleshee'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x2b6b93971290>, <Text Node: '"> <meta name="viewpor'>, <Block Node: title. Contents: []>, <Text Node: ' </title> <link rel="S'>, <django.template.defaulttags.URLNode object at 0x2b6b939770d0>, <Text Node: '" style="color: #474747; '>, <django.template.defaulttags.URLNode object at 0x2b6b939771d0>, <Text Node: '" ><i class="glyphicon gl'>, <For Node: for category in categories, tail_len: 5>, <Text Node: ' </ul> '>, <django.template.defaulttags.URLNode object at 0x2b6b93977510>, <Text Node: '" >Us?ugi informatyczne<'>, <django.template.defaulttags.URLNode object at 0x2b6b93977610>, <Text Node: '" >Obs?uga szk??</a></li'>, <django.template.defaulttags.URLNode object at 0x2b6b939776d0>, <Text Node: '" >Obs?uga firm</a></li>'>, <django.template.defaulttags.URLNode object at 0x2b6b93971550>, <Text Node: '" >KONTAKT</a></li> '>, <Block Node: content. Contents: [<Text Node: ' '>]>, <Text Node: ' </div> </div> </di'>, <django.template.defaulttags.URLNode object at 0x2b6b93977890>, <Text Node: '" class="footer-logo">Moj'>, <For Node: for category in categories, tail_len: 5>, <Text Node: ' </ul> '>, <django.template.defaulttags.URLNode object at 0x2b6b93977c10>, <Text Node: '" >Us?ugi informatyczne<'>, <django.template.defaulttags.URLNode object at 0x2b6b93977d10>, <Text Node: '" >Obs?uga szk??</a></li'>, <django.template.defaulttags.URLNode object at 0x2b6b93977dd0>, <Text Node: '" >Obs?uga firm</a></li>'>, <django.template.defaulttags.URLNode object at 0x2b6b93971710>, <Text Node: '" >Kontakt</a></li> '>] |
e | NoReverseMatch(u"Reverse for 'get_product' with arguments '('',)' and keyword arguments '{}' not found. 1 pattern(s) tried: ['kategoria/(?P<name>.+)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {'product': <Product: Perła Plus - kasa wycofana ze sprzedaży>, 'categories': [<Category: Drukarki_fiskalne_online>, <Category: Kasoterminal online>, <Category: Kasy_fiskalne_online>]}] |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/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: ' <body> <di'>, <IfNode>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x2b6b93983f10>, <Text Node: '">'>, <Variable Node: product.category>, <Text Node: '</a></h5> '>, <Variable Node: product.company>, <Text Node: ', '>, <Variable Node: product.name>, <Text Node: '</h3> '>, <Variable Node: product.type.name>, <Text Node: '</div> '>, <Variable Node: product.price>, <Text Node: ' z?</h3> '>, <Variable Node: product.short_description>, <Text Node: ' '>, <Variable Node: product.full_description | safe>, <Text Node: ' '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x2b6b93983b50> |
block | <Block Node: content. Contents: [<Text Node: ' <body> <di'>, <IfNode>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x2b6b93983f10>, <Text Node: '">'>, <Variable Node: product.category>, <Text Node: '</a></h5> '>, <Variable Node: product.company>, <Text Node: ', '>, <Variable Node: product.name>, <Text Node: '</h3> '>, <Variable Node: product.type.name>, <Text Node: '</div> '>, <Variable Node: product.price>, <Text Node: ' z?</h3> '>, <Variable Node: product.short_description>, <Text Node: ' '>, <Variable Node: product.full_description | safe>, <Text Node: ' '>]> |
context | [{'False': False, 'None': None, 'True': True}, {}, {'product': <Product: Perła Plus - kasa wycofana ze sprzedaży>, 'categories': [<Category: Drukarki_fiskalne_online>, <Category: Kasoterminal online>, <Category: Kasy_fiskalne_online>]}] |
self | <Block Node: content. Contents: [<Text Node: ' '>]> |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <django.template.defaulttags.URLNode object at 0x2b6b93983f10> |
bit | u'\n \n </div>\n <div class="col-xs-5" style="border:0px solid gray">\n <!-- Datos del vendedor y titulo del producto -->\n <h5 style="color:#337ab7"><a class = "categoryLink" href="' |
bits | [u'\n\n\n <body>\n <div class="container">\n <div class="row">\n <div class="col-xs-4 item-photo">\n ', u'\n <img style="max-width:100%;" src=\'/images/perla-plus_a2iCXBD.jpg\' alt=\'Per\u0142a Plus - kasa wycofana ze sprzeda\u017cy\'/>\n ', u'\n \n </div>\n <div class="col-xs-5" style="border:0px solid gray">\n <!-- Datos del vendedor y titulo del producto -->\n <h5 style="color:#337ab7"><a class = "categoryLink" href="'] |
self | [<Text Node: ' <body> <di'>, <IfNode>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x2b6b93983f10>, <Text Node: '">'>, <Variable Node: product.category>, <Text Node: '</a></h5> '>, <Variable Node: product.company>, <Text Node: ', '>, <Variable Node: product.name>, <Text Node: '</h3> '>, <Variable Node: product.type.name>, <Text Node: '</div> '>, <Variable Node: product.price>, <Text Node: ' z?</h3> '>, <Variable Node: product.short_description>, <Text Node: ' '>, <Variable Node: product.full_description | safe>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {'product': <Product: Perła Plus - kasa wycofana ze sprzedaży>, 'categories': [<Category: Drukarki_fiskalne_online>, <Category: Kasoterminal online>, <Category: Kasy_fiskalne_online>]}] |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/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.defaulttags.URLNode object at 0x2b6b93983f10> |
self | [<Text Node: ' <body> <di'>, <IfNode>, <Text Node: ' '>, <django.template.defaulttags.URLNode object at 0x2b6b93983f10>, <Text Node: '">'>, <Variable Node: product.category>, <Text Node: '</a></h5> '>, <Variable Node: product.company>, <Text Node: ', '>, <Variable Node: product.name>, <Text Node: '</h3> '>, <Variable Node: product.type.name>, <Text Node: '</div> '>, <Variable Node: product.price>, <Text Node: ' z?</h3> '>, <Variable Node: product.short_description>, <Text Node: ' '>, <Variable Node: product.full_description | safe>, <Text Node: ' '>] |
e | NoReverseMatch(u"Reverse for 'get_product' with arguments '('',)' and keyword arguments '{}' not found. 1 pattern(s) tried: ['kategoria/(?P<name>.+)/$']",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {'product': <Product: Perła Plus - kasa wycofana ze sprzedaży>, 'categories': [<Category: Drukarki_fiskalne_online>, <Category: Kasoterminal online>, <Category: Kasy_fiskalne_online>]}] |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/lib/python2.7/site-packages/django/template/defaulttags.py
in render
args=args, kwargs=kwargs,
current_app=current_app)
except NoReverseMatch:
if self.asvar is None:
# Re-raise the original exception, not the one with
# the path relative to the project. This makes a
# better error message.
six.reraise(*exc_info)...
else:
if self.asvar is None:
raise
if self.asvar:
context[self.asvar] = url
Variable | Value |
---|---|
project_name | u'ancom' |
reverse | <function reverse at 0x2b6b92a95150> |
url | u'' |
self | <django.template.defaulttags.URLNode object at 0x2b6b93983f10> |
args | [''] |
current_app | None |
view_name | u'get_product' |
context | [{'False': False, 'None': None, 'True': True}, {}, {'product': <Product: Perła Plus - kasa wycofana ze sprzedaży>, 'categories': [<Category: Drukarki_fiskalne_online>, <Category: Kasoterminal online>, <Category: Kasy_fiskalne_online>]}] |
kwargs | {} |
exc_info | (<class 'django.core.urlresolvers.NoReverseMatch'>, NoReverseMatch(u"Reverse for 'get_product' with arguments '('',)' and keyword arguments '{}' not found. 1 pattern(s) tried: ['kategoria/(?P<name>.+)/$']",), <traceback object at 0x2b6b93985230>) |
NoReverseMatch | <class 'django.core.urlresolvers.NoReverseMatch'> |
arg | <django.template.base.FilterExpression object at 0x2b6b93975810> |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/lib/python2.7/site-packages/django/template/defaulttags.py
in render
# Try to look up the URL twice: once given the view name, and again
# relative to what we guess is the "main" app. If they both fail,
# re-raise the NoReverseMatch unless we're using the
# {% url ... as var %} construct in which case return nothing.
url = ''
try:
url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app)...
except NoReverseMatch:
exc_info = sys.exc_info()
if settings.SETTINGS_MODULE:
project_name = settings.SETTINGS_MODULE.split('.')[0]
try:
url = reverse(project_name + '.' + view_name,
Variable | Value |
---|---|
project_name | u'ancom' |
reverse | <function reverse at 0x2b6b92a95150> |
url | u'' |
self | <django.template.defaulttags.URLNode object at 0x2b6b93983f10> |
args | [''] |
current_app | None |
view_name | u'get_product' |
context | [{'False': False, 'None': None, 'True': True}, {}, {'product': <Product: Perła Plus - kasa wycofana ze sprzedaży>, 'categories': [<Category: Drukarki_fiskalne_online>, <Category: Kasoterminal online>, <Category: Kasy_fiskalne_online>]}] |
kwargs | {} |
exc_info | (<class 'django.core.urlresolvers.NoReverseMatch'>, NoReverseMatch(u"Reverse for 'get_product' with arguments '('',)' and keyword arguments '{}' not found. 1 pattern(s) tried: ['kategoria/(?P<name>.+)/$']",), <traceback object at 0x2b6b93985230>) |
NoReverseMatch | <class 'django.core.urlresolvers.NoReverseMatch'> |
arg | <django.template.base.FilterExpression object at 0x2b6b93975810> |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/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'get_product' |
args | [''] |
current_app | None |
prefix | u'/' |
parts | [u'get_product'] |
resolver | <RegexURLResolver 'ancom.urls' (None:None) ^/> |
kwargs | {} |
path | [] |
view | u'get_product' |
urlconf | 'ancom.urls' |
resolved_path | [] |
/home/hajnidfe/virtualenv/ancom/ancom_info/2.7/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'kategoria/%(name)s/' |
candidate_pat | u'/kategoria/%(name)s/' |
pattern | 'kategoria/(?P<name>.+)/$' |
self | <RegexURLResolver 'ancom.urls' (None:None) ^/> |
_prefix | u'/' |
text_args | [u''] |
lookup_view | u'get_product' |
prefix_args | [] |
params | [u'name'] |
kwargs | {} |
args | ('',) |
possibility | [(u'kategoria/%(name)s/', [u'name'])] |
text_kwargs | {} |
candidate_subs | {u'name': u''} |
m | None |
lookup_view_s | u'get_product' |
n | None |
possibilities | [([(u'kategoria/%(name)s/', [u'name'])], 'kategoria/(?P<name>.+)/$', {})] |
patterns | ['kategoria/(?P<name>.+)/$'] |
prefix_norm | u'/' |
defaults | {} |
v | '' |
original_lookup | u'get_product' |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | True |
SERVER_SOFTWARE | 'Apache/2.4.58 (cPanel) OpenSSL/1.1.1w mod_bwlimited/1.4 Phusion_Passenger/6.0.20' |
SCRIPT_NAME | u'' |
HTTP_X_HTTPS | '1' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/produkt/Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'ancom.info.pl' |
REMOTE_ADDR | '3.238.12.0' |
wsgi.url_scheme | 'https' |
SERVER_PORT | '443' |
REQUEST_URI | '/produkt/Per%c5%82a%20Plus%20-%20kasa%20wycofana%20ze%20sprzeda%c5%bcy/' |
HTTP_X_FORWARDED_PROTO | 'https' |
SCRIPT_URI | 'https://ancom.info.pl/produkt/Per\xc5\x82a Plus - kasa wycofana ze sprzeda\xc5\xbcy/' |
wsgi.input | <socket._fileobject object at 0x2b6b9397aed0> |
HTTP_HOST | 'ancom.info.pl' |
SCRIPT_URL | '/produkt/Per\xc5\x82a Plus - kasa wycofana ze sprzeda\xc5\xbcy/' |
HTTPS | 'on' |
wsgi.multithread | False |
PASSENGER_CONNECT_PASSWORD | 'LAeaX2jAX2jjjpTb' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
HTTP_X_FORWARDED_FOR | '3.238.12.0' |
wsgi.errors | <open file '<stderr>', mode 'w' at 0x2b6b8544f270> |
REMOTE_PORT | '20564' |
passenger.hijack | None |
wsgi.run_once | False |
CSRF_COOKIE | u'MCVgBpJ6mGyjBANUc0VutNnPHJ9JKASj' |
UNIQUE_ID | 'ZgZXrLW-dlSymajgmos_KgAAAAE' |
ancom.settings
Setting | Value |
---|---|
SECURE_BROWSER_XSS_FILTER | False |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'ancom.urls' |
MANAGERS | () |
BASE_DIR | '/home/hajnidfe/ancom/ancom_info' |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/home/hajnidfe/ancom/ancom_info/ancom/public/static' |
ALLOWED_HOSTS | ['ancom.info.pl', 'localhost', '127.0.0.1'] |
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') |
SESSION_CACHE_ALIAS | 'default' |
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.sqlite3', 'HOST': '', 'NAME': '/home/hajnidfe/ancom/ancom_info/db.sqlite3', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'UTC', 'USER': ''}} |
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') |
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') |
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'}} |
DJANGORESIZED_DEFAULT_SIZE | [1000, 600] |
SESSION_COOKIE_PATH | '/' |
DJANGORESIZED_DEFAULT_KEEP_META | True |
EMAIL_HOST_PASSWORD | u'********************' |
SECURE_CONTENT_TYPE_NOSNIFF | False |
MIDDLEWARE_CLASSES | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
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 | 'ancom.wsgi.application' |
TEMPLATE_DEBUG | False |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
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 |
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', 'webapp'] |
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' |
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',) |
AUTH_PASSWORD_VALIDATORS | 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 | '/accounts/profile/' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
MIGRATION_MODULES | {} |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/home/hajnidfe/ancom/ancom_info/ancom/public/static/images' |
DJANGORESIZED_DEFAULT_QUALITY | 100 |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
MEDIA_URL | '/images/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | () |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}}] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SECURE_SSL_REDIRECT | False |
TIME_ZONE | 'Europe/Warsaw' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_USE_SSL | 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') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'ancom.settings' |
USE_ETAGS | False |
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'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SSL_CERTFILE | None |
CSRF_COOKIE_HTTPONLY | False |
ENV_PATH | '/home/hajnidfe/ancom/ancom_info/ancom' |
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.