Reverse for 'product-detail-view' with keyword arguments '{u'pk': u'IDX81570 '}' not found. 1 pattern(s) tried: ['shopping/product/(?P<pk>IDX\\w+)/$']
Request Method: | GET |
---|---|
Request URL: | http://127.0.0.1:8000/shopping/list/products/accesories-fargo/ |
Django Version: | 1.11 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'product-detail-view' with keyword arguments '{u'pk': u'IDX81570 '}' not found. 1 pattern(s) tried: ['shopping/product/(?P<pk>IDX\\w+)/$'] |
Exception Location: | /home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/urls/resolvers.py in _reverse_with_prefix, line 497 |
Python Executable: | /home/idxtra/projects/idxtra_website/env/bin/python |
Python Version: | 2.7.17 |
Python Path: | ['/home/idxtra/projects/idxtra_website/idxtra', '/home/idxtra/projects/idxtra_website/env/bin', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages'] |
Server time: | Fri, 29 Mar 2024 11:42:16 +0000 |
In template /home/idxtra/projects/idxtra_website/static_production/templates/base.html
, error at line 46
36 | <!--[if lte IE 8]> |
---|---|
37 | <link href="{% static 'css/style-ie-fix.css' %}" rel="stylesheet" type="text/css" /> |
38 | <![endif]--> |
39 | |
40 | {% compress js %} |
41 | <script type="text/javascript" src="{% static "scripts/jquery-1.11.0.min.js" %}"></script> |
42 | <script type="text/javascript" src="{% static "scripts/jquery.cslider.js" %}" defer></script> |
43 | <script type="text/javascript" src="{% static "scripts/jquery.isotope.js" %}" defer></script> |
44 | <script type="text/javascript" src="{% static "scripts/jquery.prettyPhoto.js" %}" defer></script> |
45 | <script type="text/javascript" src="{% static "scripts/bootstrap.js" %}" defer></script> |
46 | <script type="text/javascript" src="{% static "scripts/jquery.themepunch.plugins.min.js" %}" defer></script> |
47 | <script type="text/javascript" src="{% static "scripts/jquery.themepunch.revolution.min.js" %}" defer></script> |
48 | <script type="text/javascript" src="{% static "scripts/ddlevelsmenu.js" %}" defer></script> |
49 | <!-----------------------> |
50 | <script type="text/javascript" src="{% static "scripts/custom.js" %}" defer></script> |
51 | <script type="text/javascript" src="{% static "scripts/modernizr.custom.28468.js" %}" defer></script> |
52 | <script type="text/javascript" src="{% static "scripts/respond.min.js" %}" defer></script> |
53 | <script type="text/javascript" src="{% static "scripts/html5shiv.js" %}" defer></script> |
54 | <script type="text/javascript" src="{% static "scripts/filter.js" %}" defer></script> |
55 | <script type="text/javascript" src="{% static "scripts/readmore.min.js" %}" defer></script> |
56 | <script type="text/javascript" defer> |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request)...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | NoReverseMatch(u"Reverse for 'product-detail-view' with keyword arguments '{u'pk': u'IDX81570 '}' not found. 1 pattern(s) tried: ['shopping/product/(?P<pk>IDX\\\\w+)/$']",) |
get_response | <bound method WSGIHandler._legacy_get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f7a1b78a050>> |
request | <WSGIRequest: GET '/shopping/list/products/accesories-fargo/'> |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request)...
return response
Variable | Value |
---|---|
middleware_method | <bound method MarkRequestMiddleware.process_request of <htmlmin.middleware.MarkRequestMiddleware object at 0x7f7a18a23490>> |
request | <WSGIRequest: GET '/shopping/list/products/accesories-fargo/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f7a1b78a050> |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/core/handlers/base.py
in _get_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:
response = self.process_exception_by_middleware(e, request)...
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
view_name = callback.__name__
else: # CBV
Variable | Value |
---|---|
callback | <function list_products_category at 0x7f7a17ecfc50> |
callback_args | () |
callback_kwargs | {'subcategory': u'accesories-fargo'} |
e | NoReverseMatch(u"Reverse for 'product-detail-view' with keyword arguments '{u'pk': u'IDX81570 '}' not found. 1 pattern(s) tried: ['shopping/product/(?P<pk>IDX\\\\w+)/$']",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f7a18983c10>> |
request | <WSGIRequest: GET '/shopping/list/products/accesories-fargo/'> |
resolver | <RegexURLResolver 'idxtra.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=shopping.views.list_products_category, args=(), kwargs={'subcategory': u'accesories-fargo'}, url_name=list-products, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f7a1b78a050> |
wrapped_callback | <function list_products_category at 0x7f7a17ecfc50> |
/home/idxtra/projects/idxtra_website/env/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:
response = self.process_exception_by_middleware(e, request)
# Complain if the view returned None (a common error).
if response is None:
if isinstance(callback, types.FunctionType): # FBV
Variable | Value |
---|---|
callback | <function list_products_category at 0x7f7a17ecfc50> |
callback_args | () |
callback_kwargs | {'subcategory': u'accesories-fargo'} |
e | NoReverseMatch(u"Reverse for 'product-detail-view' with keyword arguments '{u'pk': u'IDX81570 '}' not found. 1 pattern(s) tried: ['shopping/product/(?P<pk>IDX\\\\w+)/$']",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f7a18983c10>> |
request | <WSGIRequest: GET '/shopping/list/products/accesories-fargo/'> |
resolver | <RegexURLResolver 'idxtra.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=shopping.views.list_products_category, args=(), kwargs={'subcategory': u'accesories-fargo'}, url_name=list-products, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f7a1b78a050> |
wrapped_callback | <function list_products_category at 0x7f7a17ecfc50> |
/home/idxtra/projects/idxtra_website/idxtra/shopping/views.py
in list_products_category
context = {
'model': model,
'products': products,
'form': form,
'subcategory': subcategory,
'models': models
}
return render(request, 'shopping_list_products.html', context)...
def list_products_category_offer(request, offer_id):
form = ProductForm()
products = {}
subcategory = None
Variable | Value |
---|---|
context | {'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>, 'model': None, 'models': <QuerySet [{'model': None, 'model__name': None}]>, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>} |
form | <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)> |
model | None |
models | <QuerySet [{'model': None, 'model__name': None}]> |
products | <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]> |
request | <WSGIRequest: GET '/shopping/list/products/accesories-fargo/'> |
subcategory | <ProdSubCategory: Fargo> |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/shortcuts.py
in render
def render(request, template_name, context=None, content_type=None, status=None, using=None):
"""
Returns a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)...
return HttpResponse(content, content_type, status)
def redirect(to, *args, **kwargs):
"""
Returns an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | {'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>, 'model': None, 'models': <QuerySet [{'model': None, 'model__name': None}]>, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>} |
request | <WSGIRequest: GET '/shopping/list/products/accesories-fargo/'> |
status | None |
template_name | 'shopping_list_products.html' |
using | None |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/template/loader.py
in render_to_string
template_name may be a string or a list of strings.
"""
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)...
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>, 'model': None, 'models': <QuerySet [{'model': None, 'model__name': None}]>, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>} |
request | <WSGIRequest: GET '/shopping/list/products/accesories-fargo/'> |
template | <django.template.backends.django.Template object at 0x7f7a16d5acd0> |
template_name | 'shopping_list_products.html' |
using | None |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/template/backends/django.py
in render
@property
def origin(self):
return self.template.origin
def render(self, context=None, request=None):
context = make_context(context, request, autoescape=self.backend.engine.autoescape)
try:
return self.template.render(context)...
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
request | <WSGIRequest: GET '/shopping/list/products/accesories-fargo/'> |
self | <django.template.backends.django.Template object at 0x7f7a16d5acd0> |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)...
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
self | <django.template.base.Template object at 0x7f7a1753e790> |
/home/idxtra/projects/idxtra_website/env/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"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
self | <django.template.base.Template object at 0x7f7a1753e790> |
/home/idxtra/projects/idxtra_website/env/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 = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
node | <ExtendsNode: extends "base_shop.html"> |
self | [<ExtendsNode: extends "base_shop.html">] |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
e | NoReverseMatch(u"Reverse for 'product-detail-view' with keyword arguments '{u'pk': u'IDX81570 '}' not found. 1 pattern(s) tried: ['shopping/product/(?P<pk>IDX\\\\w+)/$']",) |
self | <ExtendsNode: extends "base_shop.html"> |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/template/loader_tags.py
in render
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.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)...
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7f7a1688c950> |
compiled_parent | <django.template.base.Template object at 0x7f7a16e86f90> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
node | <ExtendsNode: extends 'base.html'> |
self | <ExtendsNode: extends "base_shop.html"> |
/home/idxtra/projects/idxtra_website/env/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"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
self | <django.template.base.Template object at 0x7f7a16e86f90> |
/home/idxtra/projects/idxtra_website/env/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 = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
node | <ExtendsNode: extends 'base.html'> |
self | [<ExtendsNode: extends 'base.html'>] |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
e | NoReverseMatch(u"Reverse for 'product-detail-view' with keyword arguments '{u'pk': u'IDX81570 '}' not found. 1 pattern(s) tried: ['shopping/product/(?P<pk>IDX\\\\w+)/$']",) |
self | <ExtendsNode: extends 'base.html'> |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/template/loader_tags.py
in render
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.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)...
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7f7a1688c950> |
blocks | {u'carousel': <Block Node: carousel. Contents: [<TextNode: u'\n\n '>]>, u'content': <Block Node: content. Contents: [<TextNode: u'\n\n '>]>, u'extraheads': <Block Node: extraheads. Contents: [<TextNode: u'\n <title>Access Contro'>]>, u'jsfiles': <Block Node: jsfiles. Contents: [<TextNode: u'\n '>]>, u'jsfiles-down': <Block Node: jsfiles-down. Contents: [<TextNode: u'\n '>]>, u'metatags': <Block Node: metatags. Contents: []>} |
compiled_parent | <django.template.base.Template object at 0x7f7a17619790> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
node | <django.template.defaulttags.LoadNode object at 0x7f7a16e696d0> |
self | <ExtendsNode: extends 'base.html'> |
/home/idxtra/projects/idxtra_website/env/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"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
self | <django.template.base.Template object at 0x7f7a17619790> |
/home/idxtra/projects/idxtra_website/env/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 = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | u'\n\n </div>\n\n <div class="container-fluid nosidepadding">\n <div class="justify-wide">\n ' |
bits | [u'', u'\n', u'', u'\n', u'', u'\n', u'', u'\n', u'', u'\n<!doctype html>\n<html lang="en">\n\n<head>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n <meta charset="utf-8">\n <meta name="viewport" content="width=device-width, initial-scale=1.0">\n ', u'', u'\n <link rel="preload" href="https://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600&display=swap" as="style">\n <link rel="preload" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" as="style">\n <link rel="shortcut icon" type="image/png" href="', u'https://www.idxtra.com/static/images/favicon.ico', u'" />\n <link href=\'https://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600&display=swap\' rel=\'stylesheet\'\n type=\'text/css\'>\n <link href=\'https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css\' rel=\'stylesheet\'\n type=\'text/css\'>\n <link rel="preload" href="', u'https://www.idxtra.com/static/css/fonts/idxtra-site.woff', u'" as="font" type="font/woff" crossorigin="crossorigin">\n <link rel="preload" href="', u'https://www.idxtra.com/static/css/font-icons.css', u'" as="style">\n <link href="', u'https://www.idxtra.com/static/css/font-icons.css', u'" rel="stylesheet" type="text/css">\n ', u'\n <link href="https://www.idxtra.com/static/cookielaw/css/cookielaw.css" rel="stylesheet" type="text/css">\n <link href="https://www.idxtra.com/static/css/bootstrap.min.css" rel="stylesheet" type="text/css">\n <link href="https://www.idxtra.com/static/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css">\n <link href="https://www.idxtra.com/static/css/ddlevelsmenu-base.css" rel="stylesheet" type="text/css">\n <link href="https://www.idxtra.com/static/css/ddlevelsmenu-topbar.css" rel="stylesheet" type="text/css">\n <link href="https://www.idxtra.com/static/css/slider.css" rel="stylesheet" type="text/css">\n <link href="https://www.idxtra.com/static/css/settings.css" rel="stylesheet" type="text/css">\n <link href="https://www.idxtra.com/static/css/prettyPhoto.css" rel="stylesheet" type="text/css">\n <link href="https://www.idxtra.com/static/css/style.css" rel="stylesheet" type="text/css">\n <link href="https://www.idxtra.com/static/css/cashless.css" rel="stylesheet" type="text/css">\n ', u'\n <!--[if lte IE 8]>\n <link href="', u'https://www.idxtra.com/static/css/style-ie-fix.css', u'" rel="stylesheet" type="text/css" />\n <![endif]-->\n \n ', u'\n <script type="text/javascript" src="https://www.idxtra.com/static/scripts/jquery-1.11.0.min.js"></script>\n <script type="text/javascript" src="https://www.idxtra.com/static/scripts/jquery.cslider.js" defer></script>\n <script type="text/javascript" src="https://www.idxtra.com/static/scripts/jquery.isotope.js" defer></script>\n <script type="text/javascript" src="https://www.idxtra.com/static/scripts/jquery.prettyPhoto.js" defer></script>\n <script type="text/javascript" src="https://www.idxtra.com/static/scripts/bootstrap.js" defer></script>\n <script type="text/javascript" src="https://www.idxtra.com/static/scripts/jquery.themepunch.plugins.min.js" defer></script>\n <script type="text/javascript" src="https://www.idxtra.com/static/scripts/jquery.themepunch.revolution.min.js" defer></script>\n <script type="text/javascript" src="https://www.idxtra.com/static/scripts/ddlevelsmenu.js" defer></script>\n <!----------------------->\n <script type="text/javascript" src="https://www.idxtra.com/static/scripts/custom.js" defer></script>\n <script type="text/javascript" src="https://www.idxtra.com/static/scripts/modernizr.custom.28468.js" defer></script>\n <script type="text/javascript" src="https://www.idxtra.com/static/scripts/respond.min.js" defer></script>\n <script type="text/javascript" src="https://www.idxtra.com/static/scripts/html5shiv.js" defer></script>\n <script type="text/javascript" ... <trimmed 17322 bytes string> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
node | <Block Node: content. Contents: [<TextNode: u'\n\n '>]> |
self | [<django.template.defaulttags.LoadNode object at 0x7f7a16e696d0>, <TextNode: u'\n'>, <django.template.defaulttags.LoadNode object at 0x7f7a16e69690>, <TextNode: u'\n'>, <django.template.defaulttags.LoadNode object at 0x7f7a16e69550>, <TextNode: u'\n'>, <django.template.defaulttags.LoadNode object at 0x7f7a16e69c10>, <TextNode: u'\n'>, <django.template.defaulttags.LoadNode object at 0x7f7a16e69a50>, <TextNode: u'\n<!doctype html>\n<html la'>, <Block Node: metatags. Contents: []>, <TextNode: u'\n <link rel="preload" '>, <django.templatetags.static.StaticNode object at 0x7f7a16e69d50>, <TextNode: u'" />\n <link href=\'http'>, <django.templatetags.static.StaticNode object at 0x7f7a16e69e10>, <TextNode: u'" as="font" type="font/wo'>, <django.templatetags.static.StaticNode object at 0x7f7a16e69490>, <TextNode: u'" as="style">\n <link h'>, <django.templatetags.static.StaticNode object at 0x7f7a16e69090>, <TextNode: u'" rel="stylesheet" type="'>, <compressor.templatetags.compress.CompressorNode object at 0x7f7a17388150>, <TextNode: u'\n <!--[if lte IE 8]>\n'>, <django.templatetags.static.StaticNode object at 0x7f7a17153e90>, <TextNode: u'" rel="stylesheet" type="'>, <compressor.templatetags.compress.CompressorNode object at 0x7f7a17288290>, <TextNode: u'\n <noscript>\n <'>, <django.templatetags.static.StaticNode object at 0x7f7a17468190>, <TextNode: u'"></script>\n <![endi'>, <Block Node: extraheads. Contents: [<TextNode: u'\n <title>Access Contro'>]>, <TextNode: u'\n</head>\n\n<body>\n\n '>, <Tag: cookielaw_banner>, <TextNode: u'\n\n\n <div itemscope ite'>, <django.template.defaulttags.URLNode object at 0x7f7a17468f90>, <TextNode: u'" class="btn blightgreen '>, <django.template.defaulttags.URLNode object at 0x7f7a17468790>, <TextNode: u'" class="btn blightred b'>, <django.template.defaulttags.URLNode object at 0x7f7a17468c90>, <TextNode: u'" class="btn blightred b'>, <IfNode>, <TextNode: u'\n </di'>, <django.template.loader_tags.IncludeNode object at 0x7f7a17468390>, <TextNode: u'\n </header>\n\n '>, <Block Node: carousel. Contents: [<TextNode: u'\n\n '>]>, <TextNode: u'\n\n </div>\n\n '>, <Block Node: content. Contents: [<TextNode: u'\n\n '>]>, <TextNode: u'\n </div>\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7f7a173dcfd0>, <TextNode: u'\n\n </footer>\n <'>, <Block Node: jsfiles-down. Contents: [<TextNode: u'\n '>]>, <TextNode: u'\n <!-- JS -->\n</body>\n'>] |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
e | NoReverseMatch(u"Reverse for 'product-detail-view' with keyword arguments '{u'pk': u'IDX81570 '}' not found. 1 pattern(s) tried: ['shopping/product/(?P<pk>IDX\\\\w+)/$']",) |
self | <Block Node: content. Contents: [<TextNode: u'\n\n '>]> |
/home/idxtra/projects/idxtra_website/env/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 |
---|---|
block | <Block Node: content. Contents: [<TextNode: u'\n\n <div class="page-he'>, <Block Node: main_shop. Contents: [<TextNode: u'\n '>]>, <TextNode: u'\n </div>\n </div'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f7a1688c950> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
push | <Block Node: content. Contents: [<TextNode: u'\n\n <div class="page-he'>, <Block Node: main_shop. Contents: [<TextNode: u'\n '>]>, <TextNode: u'\n </div>\n </div'>]> |
self | <Block Node: content. Contents: [<TextNode: u'\n\n '>]> |
/home/idxtra/projects/idxtra_website/env/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 = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | u'\n\n <div class="page-heading blightblue">\n <div class="container">\n <div class="row">\n <div class="col-md-12">\n <h1 class="pull-left">Shop</h1>\n <div class="pull-right heading-meta">View the <span class="lightblue">products & services</span> we\n can offer\n </div>\n </div>\n </div>\n </div>\n </div>\n <!--<div class="container">\n <div class="row">\n <div class="col-md-12">\n <script>\n (function() {\n var cx = \'009617957495393474732:j9-vftmmfxq\';\n var gcse = document.createElement(\'script\');\n gcse.type = \'text/javascript\';\n gcse.async = true;\n gcse.src = (document.location.protocol == \'https:\' ? \'https:\' : \'http:\') +\n \'//www.google.com/cse/cse.js?cx=\' + cx;\n var s = document.getElementsByTagName(\'script\')[0];\n s.parentNode.insertBefore(gcse, s);\n })();\n</script>\n<gcse:search></gcse:search>\n </div>\n </div>\n </div>-->\n\n\n <div class="content">\n <div class="container">\n <div class="row lp">\n\n </div>\n\n\n ' |
bits | [u'\n\n <div class="page-heading blightblue">\n <div class="container">\n <div class="row">\n <div class="col-md-12">\n <h1 class="pull-left">Shop</h1>\n <div class="pull-right heading-meta">View the <span class="lightblue">products & services</span> we\n can offer\n </div>\n </div>\n </div>\n </div>\n </div>\n <!--<div class="container">\n <div class="row">\n <div class="col-md-12">\n <script>\n (function() {\n var cx = \'009617957495393474732:j9-vftmmfxq\';\n var gcse = document.createElement(\'script\');\n gcse.type = \'text/javascript\';\n gcse.async = true;\n gcse.src = (document.location.protocol == \'https:\' ? \'https:\' : \'http:\') +\n \'//www.google.com/cse/cse.js?cx=\' + cx;\n var s = document.getElementsByTagName(\'script\')[0];\n s.parentNode.insertBefore(gcse, s);\n })();\n</script>\n<gcse:search></gcse:search>\n </div>\n </div>\n </div>-->\n\n\n <div class="content">\n <div class="container">\n <div class="row lp">\n\n </div>\n\n\n '] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
node | <Block Node: main_shop. Contents: [<TextNode: u'\n '>]> |
self | [<TextNode: u'\n\n <div class="page-he'>, <Block Node: main_shop. Contents: [<TextNode: u'\n '>]>, <TextNode: u'\n </div>\n </div'>] |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
e | NoReverseMatch(u"Reverse for 'product-detail-view' with keyword arguments '{u'pk': u'IDX81570 '}' not found. 1 pattern(s) tried: ['shopping/product/(?P<pk>IDX\\\\w+)/$']",) |
self | <Block Node: main_shop. Contents: [<TextNode: u'\n '>]> |
/home/idxtra/projects/idxtra_website/env/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 |
---|---|
block | <Block Node: main_shop. Contents: [<TextNode: u'\n <div class="page-hea'>, <IfNode>, <TextNode: u'\n </h1>\n </div>'>, <IfNode>, <TextNode: u'\n </p>\n\n <div class'>, <For Node: for product in products, tail_len: 25>, <TextNode: u'\n</div>\n\n <script>\n '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f7a1688c950> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
push | <Block Node: main_shop. Contents: [<TextNode: u'\n <div class="page-hea'>, <IfNode>, <TextNode: u'\n </h1>\n </div>'>, <IfNode>, <TextNode: u'\n </p>\n\n <div class'>, <For Node: for product in products, tail_len: 25>, <TextNode: u'\n</div>\n\n <script>\n '>]> |
self | <Block Node: main_shop. Contents: [<TextNode: u'\n '>]> |
/home/idxtra/projects/idxtra_website/env/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 = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | u'\n </p>\n\n <div class="spacer" style="clear: both;margin-bottom: 10px;"></div>\n\n <div class=\'products\'>\n\n ' |
bits | [u'\n <div class="page-header header-default no-border">\n <h1>\n ', u'\n Fargo \n ', u'\n </h1>\n </div>\n <p>\n ', u'', u'\n </p>\n\n <div class="spacer" style="clear: both;margin-bottom: 10px;"></div>\n\n <div class=\'products\'>\n\n '] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
node | <For Node: for product in products, tail_len: 25> |
self | [<TextNode: u'\n <div class="page-hea'>, <IfNode>, <TextNode: u'\n </h1>\n </div>'>, <IfNode>, <TextNode: u'\n </p>\n\n <div class'>, <For Node: for product in products, tail_len: 25>, <TextNode: u'\n</div>\n\n <script>\n '>] |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
e | NoReverseMatch(u"Reverse for 'product-detail-view' with keyword arguments '{u'pk': u'IDX81570 '}' not found. 1 pattern(s) tried: ['shopping/product/(?P<pk>IDX\\\\w+)/$']",) |
self | <For Node: for product in products, tail_len: 25> |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/template/defaulttags.py
in render
unpacked_vars = dict(zip(self.loopvars, item))
pop_context = True
context.update(unpacked_vars)
else:
context[self.loopvars[0]] = item
for node in self.nodelist_loop:
nodelist.append(node.render_annotated(context))...
if pop_context:
# The loop variables were pushed on to the context so pop them
# off again. This is necessary because the tag lets the length
# of loopvars differ to the length of each set of items and we
# don't want to leave any vars from the previous loop on the
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
i | 15 |
item | <Product: Thermal Printhead (configured for field replacement)> |
len_values | 20 |
loop_dict | {u'counter': 16, u'counter0': 15, u'first': False, u'last': False, u'parentloop': {}, u'revcounter': 5, u'revcounter0': 4} |
node | <IfNode> |
nodelist | [u"\n <!-- template to show a product -->\n <div class='product-wrapper'>\n <div class='title-price'>\n <h2 class='product'>", u'LED Fluorescent UV Light (Key Chain)', u'</h2>\n <div class="price-div text-error"><strong>\xa3<span\n id="', u'LEDFluorescentUVLight(KeyChain)', u'Price">', u'6.91', u"</span></strong></div>\n </div>\n\n <!-- Display image and desc in the same line -->\n\n <div class='image-desc-wrapper'>\n ", u"\n <div class='product-desc-no-image'>\n ", u'\n\n ', u'<p>For use with 6-panel fluorescing ribbon (P/N 44239). Available on Print Security Suite.</p>\n', u'\n <br><strong>Pack quantity: </strong>', u'1', u'\n <br><strong>MSRP:</strong> \xa3', u'6.91', u'\n <br><strong>Part No:</strong> ', u'IDX82123 ', u'\n ', u'', u'\n </div>\n\n </div>\n\n <!-- Display more details button and form to buy the product -->\n <div class=\'product-shopping\'>\n <div class=\'form-product\'>\n <form method="POST" action="', u'/shopping/cart/add/', u'" class="quantity-form">\n <input id="id_id" name="id" type="hidden" value=', u'IDX82123 ', u'>\n ', u'\n\n<form method="post" > <input type=\'hidden\' name=\'csrfmiddlewaretoken\' value=\'EJXxMsqOmmn8bhUyglDMOHTFJl7KYuw14S9ffdiz06ha32YCVLLQW0SpmoIRXCHM\' /> <div \n >\n Quantity* <input type="text" name="quantity" value="1" class="tquantity-margin" id="id_quantity" /> <br><br><input type="submit"\n name="addproduct"\n value="Add Product"\n \n class="btn btn-primary"\n id="submit-id-addproduct"\n \n \n />\n\n</div> </form>\n', u'\n </form>\n </div>\n </div>\n </div>\n ', u"\n <!-- template to show a product -->\n <div class='product-wrapper'>\n <div class='title-price'>\n <h2 class='product'>", u'USB Interface Cable', u'</h2>\n <div class="price-div text-error"><strong>\xa3<span\n id="', u'USBInterfaceCable', u'Price">', u'10.89', u"</span></strong></div>\n </div>\n\n <!-- Display image and desc in the same line -->\n\n <div class='image-desc-wrapper'>\n ", u"\n <div class='product-desc-no-image'>\n ", u'\n\n ', u'USB Interface Cable, length 6 feet\n', u'\n <br><strong>Pack quantity: </strong>', u'1', u'\n <br><strong>MSRP:</strong> \xa3', u'10.89', u'\n <br><strong>Part No:</strong> ', u'IDX41090 ', u'\n ', u'', u'\n </div>\n\n </div>\n\n <!-- Display more details button and form to buy the product -->\n <div class=\'product-shopping\'>\n <div class=\'form-product\'>\n <form method="POST" action="', u'/shopping/cart/add/', u'" class="quantity-form">\n <input id="id_id" name="id" type="hidden" value=', u'IDX41090 ', u'>\n ', u'\n\n<form method="post" > <input type=\'hidden\' name=\'csrfmiddlewaretoken\' value=\'EJXxMsqOmmn8bhUyglDMOHTFJl7KYuw14S9ffdiz06ha32YCVLLQW0SpmoIRXCHM\' /> <div \n >\n Quantity* <input type="text" name="quantity" value="1" class="tquantity-margin" id="id_quantity" /> <br><br><input type="submit"\n name="addproduct"\n value="Add Product"\n \n class="btn btn-primary"\n id="submit-id-addproduct"\n \n \n />\n\n</div> </form>\n', u'\n </form>\n </div>\n </div>\n </div>\n ', u"\n <!-- template to show a product -->\n <div class='product-wrapper'>\n <div class='title-price'>\n <h2 class='product'>", u'Extra SmartGuard Access Card', u'</h2>\n <div class="price-div text-error"><strong>\xa3... <trimmed 29268 bytes string> |
num_loopvars | 1 |
parentloop | {} |
pop_context | False |
self | <For Node: for product in products, tail_len: 25> |
unpack | False |
values | <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]> |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
e | NoReverseMatch(u"Reverse for 'product-detail-view' with keyword arguments '{u'pk': u'IDX81570 '}' not found. 1 pattern(s) tried: ['shopping/product/(?P<pk>IDX\\\\w+)/$']",) |
self | <IfNode> |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class LoremNode(Node):
def __init__(self, count, method, common):
Variable | Value |
---|---|
condition | (literal <django.template.base.FilterExpression object at 0x7f7a1746fd50>) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
match | True |
nodelist | [<TextNode: u'\n <div cla'>, <Variable Node: product.title>, <TextNode: u'-images" class="carousel '>, <IfNode>, <TextNode: u'\n '>, <Variable Node: product.image1>, <TextNode: u'" class=\'image-prudct\'\n '>, <IfNode>, <TextNode: u'\n '>, <IfNode>, <TextNode: u'\n '>] |
self | <IfNode> |
/home/idxtra/projects/idxtra_website/env/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 = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | u'-images" class="carousel slide" data-ride="carousel">\n\n <!-- Wrapper for slides -->\n <div class="carousel-inner">\n <div class="item active">\n ' |
bits | [u'\n <div class=\'product-image\'>\n\n <div id="', u'Thermal Printhead (configured for field replacement)', u'-images" class="carousel slide" data-ride="carousel">\n\n <!-- Wrapper for slides -->\n <div class="carousel-inner">\n <div class="item active">\n '] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
node | <IfNode> |
self | [<TextNode: u'\n <div cla'>, <Variable Node: product.title>, <TextNode: u'-images" class="carousel '>, <IfNode>, <TextNode: u'\n '>, <Variable Node: product.image1>, <TextNode: u'" class=\'image-prudct\'\n '>, <IfNode>, <TextNode: u'\n '>, <IfNode>, <TextNode: u'\n '>] |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
e | NoReverseMatch(u"Reverse for 'product-detail-view' with keyword arguments '{u'pk': u'IDX81570 '}' not found. 1 pattern(s) tried: ['shopping/product/(?P<pk>IDX\\\\w+)/$']",) |
self | <IfNode> |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class LoremNode(Node):
def __init__(self, count, method, common):
Variable | Value |
---|---|
condition | None |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
match | True |
nodelist | [<TextNode: u'\n '>, <django.template.defaulttags.URLNode object at 0x7f7a1746fa50>, <TextNode: u'">\n '>] |
self | <IfNode> |
/home/idxtra/projects/idxtra_website/env/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 = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | u'\n <a href="' |
bits | [u'\n <a href="'] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
node | <django.template.defaulttags.URLNode object at 0x7f7a1746fa50> |
self | [<TextNode: u'\n '>, <django.template.defaulttags.URLNode object at 0x7f7a1746fa50>, <TextNode: u'">\n '>] |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
e | NoReverseMatch(u"Reverse for 'product-detail-view' with keyword arguments '{u'pk': u'IDX81570 '}' not found. 1 pattern(s) tried: ['shopping/product/(?P<pk>IDX\\\\w+)/$']",) |
self | <django.template.defaulttags.URLNode object at 0x7f7a1746fa50> |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/template/defaulttags.py
in render
current_app = context.request.resolver_match.namespace
except AttributeError:
current_app = None
# Try to look up the URL. If it fails, raise NoReverseMatch unless the
# {% url ... as var %} construct is used, in which case return nothing.
url = ''
try:
url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app)...
except NoReverseMatch:
if self.asvar is None:
raise
if self.asvar:
context[self.asvar] = url
Variable | Value |
---|---|
NoReverseMatch | <class 'django.urls.exceptions.NoReverseMatch'> |
args | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'models': <QuerySet [{'model': None, 'model__name': None}]>, 'model': None, 'products': <QuerySet [<Product: LED Fluorescent UV Light (Key Chain)>, <Product: USB Interface Cable>, <Product: Extra SmartGuard Access Card>, <Product: Extra Card Weight>, <Product: Clear Vinyl PouchesHorizontal orientation, CR-80 card size.>, <Product: Clear Vinyl Pouches>, <Product: Clear Vinyl Pouches>, <Product: Green Laser Pen>, <Product: Lighted Loupe>, <Product: 32MB Memory, field-installable upgrade>, <Product: 16MB Memory Upgrade Kit>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead.>, <Product: Thermal Printhead>, <Product: External Print Server>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>, <Product: Thermal Printhead (configured for field replacement)>]>, 'subcategory': <ProdSubCategory: Fargo>, 'form': <ProductForm bound=False, valid=False, fields=(id;service;option;quantity;colour)>}] |
current_app | u'' |
kwargs | {u'pk': u'IDX81570 '} |
reverse | <function reverse at 0x7f7a1bb1dcd0> |
self | <django.template.defaulttags.URLNode object at 0x7f7a1746fa50> |
url | u'' |
view_name | u'product-detail-view' |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/urls/base.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():
Variable | Value |
---|---|
args | [] |
current_app | u'' |
current_path | None |
kwargs | {u'pk': u'IDX81570 '} |
ns_pattern | u'' |
parts | [u'product-detail-view'] |
path | [] |
prefix | u'/' |
resolved_path | [] |
resolver | <RegexURLResolver 'idxtra.urls' (None:None) ^/> |
urlconf | 'idxtra.urls' |
view | u'product-detail-view' |
viewname | u'product-detail-view' |
/home/idxtra/projects/idxtra_website/env/lib/python2.7/site-packages/django/urls/resolvers.py
in _reverse_with_prefix
(lookup_view_s, arg_msg, len(patterns), patterns)
)
else:
msg = (
"Reverse for '%(view)s' not found. '%(view)s' is not "
"a valid view function or pattern name." % {'view': lookup_view_s}
)
raise NoReverseMatch(msg)...
class LocaleRegexURLResolver(RegexURLResolver):
"""
A URL resolver that always matches the active language code as URL prefix.
Variable | Value |
---|---|
_prefix | u'/' |
arg_msg | u"keyword arguments '{u'pk': u'IDX81570 '}'" |
args | () |
candidate_pat | u'/shopping/product/%(pk)s/' |
candidate_subs | {u'pk': u'IDX81570 '} |
defaults | {} |
kwargs | {u'pk': u'IDX81570 '} |
lookup_view | u'product-detail-view' |
lookup_view_s | u'product-detail-view' |
m | None |
matches | True |
msg | u"Reverse for 'product-detail-view' with keyword arguments '{u'pk': u'IDX81570 '}' not found. 1 pattern(s) tried: ['shopping/product/(?P<pk>IDX\\\\w+)/$']" |
n | None |
params | [u'pk'] |
pattern | 'shopping/product/(?P<pk>IDX\\w+)/$' |
patterns | ['shopping/product/(?P<pk>IDX\\w+)/$'] |
possibilities | [([(u'shopping/product/%(pk)s/', [u'pk'])], 'shopping/product/(?P<pk>IDX\\w+)/$', {})] |
possibility | [(u'shopping/product/%(pk)s/', [u'pk'])] |
result | u'shopping/product/%(pk)s/' |
self | <RegexURLResolver 'idxtra.urls' (None:None) ^/> |
text_args | [] |
text_kwargs | {u'pk': u'IDX81570 '} |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CSRF_COOKIE | u'scdWXmVSGJmqa2dmp0sU0GjXSEe27Y9VSlpEq7NDktgs2Nhq4qAY8ZiHvHP966kG' |
CSRF_COOKIE_USED | True |
HTTP_ACCEPT | '*/*' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | '127.0.0.1:8000' |
HTTP_REFERER | 'http://www.idxtra.com/shopping/list/products/accesories-fargo/' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_HOST | 'localhost' |
HTTP_X_REAL_IP | '35.170.66.78' |
PATH_INFO | u'/shopping/list/products/accesories-fargo/' |
QUERY_STRING | '' |
RAW_URI | '/shopping/list/products/accesories-fargo/' |
REMOTE_ADDR | '127.0.0.1' |
REMOTE_PORT | '43572' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | u'' |
SERVER_NAME | '127.0.0.1' |
SERVER_PORT | '8000' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/19.6.0' |
gunicorn.socket | <socket._socketobject object at 0x7f7a172f8520> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f7a1688c590> |
wsgi.file_wrapper | '' |
wsgi.input | <gunicorn.http.body.Body object at 0x7f7a16bf9e90> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
idxtra.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | () |
ALLOWED_HOSTS | ['*', 'idxtra.webfactional.com', 'idxtra.com', 'www.idxtra.com', 'www.idxtra.co.uk', 'idxtra.co.uk'] |
ALLOWED_HOST_CONF | ['*', 'idxtra.webfactional.com', 'idxtra.com', 'www.idxtra.com', 'www.idxtra.co.uk', 'idxtra.co.uk'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | [u'django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | u'auth.User' |
CACHES | {u'default': {u'BACKEND': u'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | u'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CAPTCHA_CHALLENGE_FUNCT | 'captcha.helpers.math_challenge' |
CAPTCHA_LENGTH | 5 |
CAPTCHA_LETTER_ROTATION | None |
CAPTCHA_NOISE_FUNCTIONS | [] |
CKEDITOR_CONFIGS | {'default': {'height': 300, 'toolbar': [['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo', '-', 'Bold', 'Italic', 'Underline', '-', 'Link', 'Unlink', 'Anchor', '-', 'Format', '-', 'SpellChecker', 'Scayt', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', '-', 'Maximize'], ['HorizontalRule', '-', 'Image', 'Flash', 'Table', '-', 'BulletedList', 'NumberedList', '-', 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'SpecialChar', '-', 'Source', '-', 'Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField']], 'toolbarCanCollapse': False, 'width': 840}} |
CKEDITOR_PATH | '/home/idxtra/projects/idxtra_website/static_production/upload/' |
CKEDITOR_UPLOAD_PATH | '/home/idxtra/projects/idxtra_website/static_production/upload/' |
CKEDITOR_UPLOAD_PREFIX | 'http://www.idxtra.com/media/' |
COMPRESS_CACHEABLE_PRECOMPILERS | () |
COMPRESS_CACHE_BACKEND | u'default' |
COMPRESS_CACHE_KEY_FUNCTION | u'********************' |
COMPRESS_CLEAN_CSS_ARGUMENTS | u'' |
COMPRESS_CLEAN_CSS_BINARY | u'cleancss' |
COMPRESS_CLOSURE_COMPILER_ARGUMENTS | u'' |
COMPRESS_CLOSURE_COMPILER_BINARY | u'java -jar compiler.jar' |
COMPRESS_CSSTIDY_ARGUMENTS | u'--template=highest' |
COMPRESS_CSSTIDY_BINARY | u'csstidy' |
COMPRESS_CSS_COMPRESSOR | u'compressor.css.CssCompressor' |
COMPRESS_CSS_FILTERS | [u'compressor.filters.css_default.CssAbsoluteFilter'] |
COMPRESS_CSS_HASHING_METHOD | u'mtime' |
COMPRESS_DATA_URI_MAX_SIZE | 1024 |
COMPRESS_DEBUG_TOGGLE | None |
COMPRESS_ENABLED | False |
COMPRESS_JINJA2_GET_ENVIRONMENT | <function JINJA2_GET_ENVIRONMENT at 0x7f7a18a41dd0> |
COMPRESS_JS_COMPRESSOR | u'compressor.js.JsCompressor' |
COMPRESS_JS_FILTERS | [u'compressor.filters.jsmin.JSMinFilter'] |
COMPRESS_MINT_DELAY | 30 |
COMPRESS_MTIME_DELAY | 10 |
COMPRESS_OFFLINE | False |
COMPRESS_OFFLINE_CONTEXT | {u'STATIC_URL': 'https://www.idxtra.com/static/'} |
COMPRESS_OFFLINE_MANIFEST | u'manifest.json' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
COMPRESS_OUTPUT_DIR | u'CACHE' |
COMPRESS_PARSER | u'compressor.parser.AutoSelectParser' |
COMPRESS_PRECOMPILERS | () |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
COMPRESS_ROOT | '/home/idxtra/projects/idxtra_website/static_production' |
COMPRESS_STORAGE | u'compressor.storage.CompressorFileStorage' |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {u'STATIC_URL': 'https://www.idxtra.com/static/'} |
COMPRESS_URL | 'https://www.idxtra.com/static/' |
COMPRESS_VERBOSE | False |
COMPRESS_YUGLIFY_BINARY | u'yuglify' |
COMPRESS_YUGLIFY_CSS_ARGUMENTS | u'--terminal' |
COMPRESS_YUGLIFY_JS_ARGUMENTS | u'--terminal' |
COMPRESS_YUI_BINARY | u'java -jar yuicompressor.jar' |
COMPRESS_YUI_CSS_ARGUMENTS | u'' |
COMPRESS_YUI_JS_ARGUMENTS | u'' |
CRISPY_TEMPLATE_PACK | 'bootstrap' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | u'csrftoken' |
CSRF_COOKIE_PATH | u'/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | u'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | u'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'idxtra', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': 5432, 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'idxtra'}} |
DATABASE_ENGINE | 'django.db.backends.postgresql_psycopg2' |
DATABASE_NAME | 'idxtra' |
DATABASE_PASSWORD | u'********************' |
DATABASE_POOL_ARGS | {'max_overflow': 10, 'pool_size': 3, 'recycle': 300} |
DATABASE_PORT | 5432 |
DATABASE_ROUTERS | [] |
DATABASE_USER | 'idxtra' |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | u'N j, Y, P' |
DATETIME_INPUT_FORMATS | [u'%Y-%m-%d %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d', u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M', u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y %H:%M', u'%m/%d/%y'] |
DATE_FORMAT | u'N j, Y' |
DATE_INPUT_FORMATS | [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y'] |
DEBUG | True |
DEBUG_CONF | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DEBUG_TOOLBAR_CONFIG | {'ENABLE_STACKTRACES': True, 'HIDE_DJANGO_SQL': False, 'INTERCEPT_REDIRECTS': False, 'TAG': 'div'} |
DEBUG_TOOLBAR_PANELS | ['debug_toolbar.panels.versions.VersionsPanel', 'debug_toolbar.panels.timer.TimerPanel', 'debug_toolbar.panels.settings.SettingsPanel', 'debug_toolbar.panels.headers.HeadersPanel', 'debug_toolbar.panels.request.RequestPanel', 'debug_toolbar.panels.sql.SQLPanel', 'debug_toolbar.panels.staticfiles.StaticFilesPanel', 'debug_toolbar.panels.templates.TemplatesPanel', 'debug_toolbar.panels.cache.CachePanel', 'debug_toolbar.panels.signals.SignalsPanel', 'debug_toolbar.panels.logging.LoggingPanel', 'debug_toolbar.panels.redirects.RedirectsPanel'] |
DECIMAL_SEPARATOR | u'.' |
DEFAULT_CHARSET | u'utf-8' |
DEFAULT_CONTENT_TYPE | u'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | u'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | u'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'website@idxtra.com' |
DEFAULT_FROM_EMAIL_CONF | 'website@idxtra.com' |
DEFAULT_INDEX_TABLESPACE | u'' |
DEFAULT_TABLESPACE | u'' |
DISALLOWED_USER_AGENTS | [] |
DJORM_POOL_OPTIONS | {'max_overflow': 0, 'pool_size': 5, 'recycle': 3600} |
EMAIL_BACKEND | u'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'cas.messageexchange.com' |
EMAIL_HOST_CONF | 'cas.messageexchange.com' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_PASSWORD_CONF | u'********************' |
EMAIL_HOST_USER | 'website@idxtra.com' |
EMAIL_HOST_USER_CONF | 'website@idxtra.com' |
EMAIL_PORT | 25 |
EMAIL_PORT_CONF | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
FILE_CHARSET | u'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | u'django.forms.renderers.DjangoTemplates' |
GOOGLE_RECAPTCHA_SECRET_KEY | u'********************' |
HTML_MINIFY | True |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'django.contrib.flatpages', 'django.contrib.sitemaps', 'contact', 'ckeditor', 'sections', 'django.contrib.admin', 'crispy_forms', 'news', 'users', 'shopping', 'support', 'widget_tweaks', 'captcha', 'django.contrib.admindocs', 'compressor', 'sortedm2m', 'cookielaw', 'carousel', 'events', 'printer_hire') |
INTERNAL_IPS | ('127.0.0.1',) |
LANGUAGES | [(u'af', u'Afrikaans'), (u'ar', u'Arabic'), (u'ast', u'Asturian'), (u'az', u'Azerbaijani'), (u'bg', u'Bulgarian'), (u'be', u'Belarusian'), (u'bn', u'Bengali'), (u'br', u'Breton'), (u'bs', u'Bosnian'), (u'ca', u'Catalan'), (u'cs', u'Czech'), (u'cy', u'Welsh'), (u'da', u'Danish'), (u'de', u'German'), (u'dsb', u'Lower Sorbian'), (u'el', u'Greek'), (u'en', u'English'), (u'en-au', u'Australian English'), (u'en-gb', u'British English'), (u'eo', u'Esperanto'), (u'es', u'Spanish'), (u'es-ar', u'Argentinian Spanish'), (u'es-co', u'Colombian Spanish'), (u'es-mx', u'Mexican Spanish'), (u'es-ni', u'Nicaraguan Spanish'), (u'es-ve', u'Venezuelan Spanish'), (u'et', u'Estonian'), (u'eu', u'Basque'), (u'fa', u'Persian'), (u'fi', u'Finnish'), (u'fr', u'French'), (u'fy', u'Frisian'), (u'ga', u'Irish'), (u'gd', u'Scottish Gaelic'), (u'gl', u'Galician'), (u'he', u'Hebrew'), (u'hi', u'Hindi'), (u'hr', u'Croatian'), (u'hsb', u'Upper Sorbian'), (u'hu', u'Hungarian'), (u'ia', u'Interlingua'), (u'id', u'Indonesian'), (u'io', u'Ido'), (u'is', u'Icelandic'), (u'it', u'Italian'), (u'ja', u'Japanese'), (u'ka', u'Georgian'), (u'kk', u'Kazakh'), (u'km', u'Khmer'), (u'kn', u'Kannada'), (u'ko', u'Korean'), (u'lb', u'Luxembourgish'), (u'lt', u'Lithuanian'), (u'lv', u'Latvian'), (u'mk', u'Macedonian'), (u'ml', u'Malayalam'), (u'mn', u'Mongolian'), (u'mr', u'Marathi'), (u'my', u'Burmese'), (u'nb', u'Norwegian Bokm\xe5l'), (u'ne', u'Nepali'), (u'nl', u'Dutch'), (u'nn', u'Norwegian Nynorsk'), (u'os', u'Ossetic'), (u'pa', u'Punjabi'), (u'pl', u'Polish'), (u'pt', u'Portuguese'), (u'pt-br', u'Brazilian Portuguese'), (u'ro', u'Romanian'), (u'ru', u'Russian'), (u'sk', u'Slovak'), (u'sl', u'Slovenian'), (u'sq', u'Albanian'), (u'sr', u'Serbian'), (u'sr-latn', u'Serbian Latin'), (u'sv', u'Swedish'), (u'sw', u'Swahili'), (u'ta', u'Tamil'), (u'te', u'Telugu'), (u'th', u'Thai'), (u'tr', u'Turkish'), (u'tt', u'Tatar'), (u'udm', u'Udmurt'), (u'uk', u'Ukrainian'), (u'ur', u'Urdu'), (u'vi', u'Vietnamese'), (u'zh-hans', u'Simplified Chinese'), (u'zh-hant', u'Traditional Chinese')] |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LOCALE_PATHS | [] |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/admin2/' |
LOGIN_URL | u'/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | () |
MEDIA_ROOT | '/home/idxtra/projects/idxtra_website/static_production/upload/' |
MEDIA_ROOT_PATH | '/home/idxtra/projects/idxtra_website/static_production/upload/' |
MEDIA_URL | '/static/upload/' |
MEDIA_URL_CONF | '/static/upload/' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | None |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware', 'htmlmin.middleware.HtmlMinifyMiddleware', 'htmlmin.middleware.MarkRequestMiddleware') |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | u'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PREPEND_WWW | False |
RECIPIENT_EMAILS | ('website@idxtra.com', 'service@idxtra.com') |
RECIPIENT_EMAILS_CONF | ('website@idxtra.com', 'service@idxtra.com') |
REDIS_PORT | 10271 |
REDIS_PORT_CONF | 10271 |
ROOT_URLCONF | 'idxtra.urls' |
SECRET_KEY | u'********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'website@idxtra.com' |
SERVER_EMAIL_CONF | 'website@idxtra.com' |
SESSION_CACHE_ALIAS | u'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | u'sessionid' |
SESSION_COOKIE_PATH | u'/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | u'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | u'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'idxtra.settings' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
STATICFILES_DIRS | ('/home/idxtra/projects/idxtra_website/idxtra/static/',) |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'compressor.finders.CompressorFinder') |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_PATH | '/home/idxtra/projects/idxtra_website/idxtra/static/' |
STATIC_ROOT | '/home/idxtra/projects/idxtra_website/static_production/' |
STATIC_ROOT_PATH | '/home/idxtra/projects/idxtra_website/static_production/' |
STATIC_URL | 'https://www.idxtra.com/static/' |
STATIC_URL_CONF | 'https://www.idxtra.com/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ('/home/idxtra/projects/idxtra_website/static_production/templates/',), 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'shopping.middleware.categories_product', 'shopping.middleware.cart', 'shopping.middleware.products', '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', 'django.template.context_processors.request']}}] |
TEMPLATES_PATH | '/home/idxtra/projects/idxtra_website/static_production/templates/' |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'shopping.middleware.categories_product', 'shopping.middleware.cart', 'shopping.middleware.products', 'news.middleware.news', 'contact.middleware.contact_form', 'django.core.context_processors.request') |
TEMPLATE_DEBUG | True |
TEMPLATE_DIRS | ('/home/idxtra/projects/idxtra_website/static_production/templates/',) |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | u',' |
TIME_FORMAT | u'P' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'GMT' |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'idxtra.wsgi.application' |
X_FRAME_OPTIONS | u'SAMEORIGIN' |
YEAR_MONTH_FORMAT | u'F Y' |
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.