Reverse for 'add-procart' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []
Request Method: | GET |
---|---|
Request URL: | http://bergeitalia.com/p/3874/tracollina-tonda-in-pelle/ |
Django Version: | 1.9.7 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'add-procart' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: [] |
Exception Location: | /usr/local/lib/python2.7/site-packages/django/core/urlresolvers.py in _reverse_with_prefix, line 508 |
Python Executable: | /usr/local/bin/python |
Python Version: | 2.7.13 |
Python Path: | ['/code', '/usr/local/lib/python27.zip', '/usr/local/lib/python2.7', '/usr/local/lib/python2.7/plat-linux2', '/usr/local/lib/python2.7/lib-tk', '/usr/local/lib/python2.7/lib-old', '/usr/local/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/site-packages'] |
Server time: | Fri, 29 Mar 2024 14:58:03 +0000 |
In template /code/sito/templates/prodotto.html
, error at line 29
19 | $( "#tabs" ).tabs(); |
---|---|
20 | } ); |
21 | </script> |
22 | {% endblock %} |
23 | |
24 | {% block content %} |
25 | |
26 | <section id="prodotto"> |
27 | {% if pro.active_shop = True %} |
28 | |
29 | <form id="myform" action="{% if pro.composition_set.all %}{% url 'add-cart' %}{% else %}{% url 'add-procart' %}{% endif %}" method="GET">{% csrf_token %} |
30 | |
31 | <!-- hidden fields --> |
32 | <input type="hidden" name="product_id" value="{{pro.id}}"> |
33 | |
34 | <div class="container"> |
35 | <div class="row"> |
36 | <div class="col-xs-12 col-sm-7"> |
37 | <div class="col-xs-12"> |
38 | {% if pro.embedded %} |
39 | {% include 'components/video_product_detail.html' %} |
/usr/local/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 |
---|---|
e | NoReverseMatch(u"Reverse for 'add-procart' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",) |
callback_args | () |
resolver_match | ResolverMatch(func=product.views.product_detail, args=(), kwargs={'post_id': u'3874', 'slug': u'tracollina-tonda-in-pelle'}, url_name=prodotto, app_names=[], namespaces=[]) |
response_is_rendered | False |
middleware_method | <bound method MessageMiddleware.process_request of <django.contrib.messages.middleware.MessageMiddleware object at 0x7fc95a88e910>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fc9602df6d0> |
request | <WSGIRequest: GET '/p/3874/tracollina-tonda-in-pelle/'> |
callback | <function product_detail at 0x7fc95abb0aa0> |
wrapped_callback | <function product_detail at 0x7fc95abb0aa0> |
resolver | <RegexURLResolver 'djangocommerce.urls' (None:None) ^/> |
callback_kwargs | {'post_id': u'3874', 'slug': u'tracollina-tonda-in-pelle'} |
response | None |
urlconf | 'djangocommerce.urls' |
/usr/local/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 |
---|---|
e | NoReverseMatch(u"Reverse for 'add-procart' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",) |
callback_args | () |
resolver_match | ResolverMatch(func=product.views.product_detail, args=(), kwargs={'post_id': u'3874', 'slug': u'tracollina-tonda-in-pelle'}, url_name=prodotto, app_names=[], namespaces=[]) |
response_is_rendered | False |
middleware_method | <bound method MessageMiddleware.process_request of <django.contrib.messages.middleware.MessageMiddleware object at 0x7fc95a88e910>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fc9602df6d0> |
request | <WSGIRequest: GET '/p/3874/tracollina-tonda-in-pelle/'> |
callback | <function product_detail at 0x7fc95abb0aa0> |
wrapped_callback | <function product_detail at 0x7fc95abb0aa0> |
resolver | <RegexURLResolver 'djangocommerce.urls' (None:None) ^/> |
callback_kwargs | {'post_id': u'3874', 'slug': u'tracollina-tonda-in-pelle'} |
response | None |
urlconf | 'djangocommerce.urls' |
/code/product/views.py
in product_detail
context = {'pro':pro,
'filer_list':filer_list,
'lunghezzacinture_list':lunghezzacinture_list,
'tagliascarpe_list':tagliascarpe_list,
'comp':comp,
'color_list':color_list,
'composition_list': composition_list}
return render_to_response('prodotto.html', context, context_instance=RequestContext(request))...
def product_promo(request):
product_list = Product.objects.filter(promo_shop=True).filter(active_shop=True).order_by('-pub_date')
context = {'product_list':product_list}
return render_to_response('prodotti.html', context, context_instance=RequestContext(request))
Variable | Value |
---|---|
pro | <Product: TRACOLLINA TONDA IN PELLE> |
comp | [] |
color_list | [] |
request | <WSGIRequest: GET '/p/3874/tracollina-tonda-in-pelle/'> |
filer_list | [] |
tagliascarpe_list | [<TagliaScarpe: 34>, <TagliaScarpe: 35>, <TagliaScarpe: 36>, <TagliaScarpe: 36.5>, <TagliaScarpe: 37>, <TagliaScarpe: 37.5>, <TagliaScarpe: 38>, <TagliaScarpe: 39>, <TagliaScarpe: 39.5>, <TagliaScarpe: 40>, <TagliaScarpe: 41>, <TagliaScarpe: 41.5>, <TagliaScarpe: 42>] |
post_id | u'3874' |
composition_list | [] |
context | {'color_list': [], 'comp': [], 'composition_list': [], 'filer_list': [], 'lunghezzacinture_list': [<CintureLunghezza: 75>, <CintureLunghezza: 80>, <CintureLunghezza: 85>, <CintureLunghezza: 90>, <CintureLunghezza: 95>, <CintureLunghezza: 100>, <CintureLunghezza: 105>, <CintureLunghezza: 70>, <CintureLunghezza: 65>, <CintureLunghezza: 9494>, <CintureLunghezza: 519m/191>], 'pro': <Product: TRACOLLINA TONDA IN PELLE>, 'tagliascarpe_list': [<TagliaScarpe: 34>, <TagliaScarpe: 35>, <TagliaScarpe: 36>, <TagliaScarpe: 36.5>, <TagliaScarpe: 37>, <TagliaScarpe: 37.5>, <TagliaScarpe: 38>, <TagliaScarpe: 39>, <TagliaScarpe: 39.5>, <TagliaScarpe: 40>, <TagliaScarpe: 41>, <TagliaScarpe: 41.5>, <TagliaScarpe: 42>]} |
lunghezzacinture_list | [<CintureLunghezza: 75>, <CintureLunghezza: 80>, <CintureLunghezza: 85>, <CintureLunghezza: 90>, <CintureLunghezza: 95>, <CintureLunghezza: 100>, <CintureLunghezza: 105>, <CintureLunghezza: 70>, <CintureLunghezza: 65>, <CintureLunghezza: 9494>, <CintureLunghezza: 519m/191>] |
slug | u'tracollina-tonda-in-pelle' |
/usr/local/lib/python2.7/site-packages/django/shortcuts.py
in render_to_response
# No deprecated arguments were passed - use the new code path
content = loader.render_to_string(template_name, context, using=using)
else:
# Some deprecated arguments were passed - use the legacy code path
content = loader.render_to_string(
template_name, context, context_instance, dirs, dictionary,
using=using)...
return HttpResponse(content, content_type, status)
def render(request, template_name, context=None,
context_instance=_context_instance_undefined,
Variable | Value |
---|---|
dirs | <object object at 0x7fc95e8d6220> |
status | None |
content_type | None |
dictionary | <object object at 0x7fc95e8d6210> |
template_name | 'prodotto.html' |
context_instance | [{'False': False, 'None': None, 'True': True}, {}, {}] |
context | {'color_list': [], 'comp': [], 'composition_list': [], 'filer_list': [], 'lunghezzacinture_list': [<CintureLunghezza: 75>, <CintureLunghezza: 80>, <CintureLunghezza: 85>, <CintureLunghezza: 90>, <CintureLunghezza: 95>, <CintureLunghezza: 100>, <CintureLunghezza: 105>, <CintureLunghezza: 70>, <CintureLunghezza: 65>, <CintureLunghezza: 9494>, <CintureLunghezza: 519m/191>], 'pro': <Product: TRACOLLINA TONDA IN PELLE>, 'tagliascarpe_list': [<TagliaScarpe: 34>, <TagliaScarpe: 35>, <TagliaScarpe: 36>, <TagliaScarpe: 36.5>, <TagliaScarpe: 37>, <TagliaScarpe: 37.5>, <TagliaScarpe: 38>, <TagliaScarpe: 39>, <TagliaScarpe: 39.5>, <TagliaScarpe: 40>, <TagliaScarpe: 41>, <TagliaScarpe: 41.5>, <TagliaScarpe: 42>]} |
using | None |
/usr/local/lib/python2.7/site-packages/django/template/loader.py
in render_to_string
if isinstance(engine, DjangoTemplates):
if request is not None:
raise ValueError(
"render_to_string doesn't support the request argument "
"when some deprecated arguments are passed.")
# Hack -- use the internal Engine instance of DjangoTemplates.
return engine.engine.render_to_string(
template_name, context, context_instance, dirs, dictionary)...
elif context_instance is not _context_instance_undefined:
warnings.warn(
"Skipping template backend %s because its render_to_string "
"method doesn't support the context_instance argument." %
engine.name, stacklevel=2)
elif dirs is not _dirs_undefined:
Variable | Value |
---|---|
engine | <django.template.backends.django.DjangoTemplates object at 0x7fc95ab73910> |
dirs | <object object at 0x7fc95e8d6220> |
chain | [] |
dictionary | <object object at 0x7fc95e8d6210> |
template_name | 'prodotto.html' |
request | None |
context_instance | [{'False': False, 'None': None, 'True': True}, {}, {}] |
context | {'color_list': [], 'comp': [], 'composition_list': [], 'filer_list': [], 'lunghezzacinture_list': [<CintureLunghezza: 75>, <CintureLunghezza: 80>, <CintureLunghezza: 85>, <CintureLunghezza: 90>, <CintureLunghezza: 95>, <CintureLunghezza: 100>, <CintureLunghezza: 105>, <CintureLunghezza: 70>, <CintureLunghezza: 65>, <CintureLunghezza: 9494>, <CintureLunghezza: 519m/191>], 'pro': <Product: TRACOLLINA TONDA IN PELLE>, 'tagliascarpe_list': [<TagliaScarpe: 34>, <TagliaScarpe: 35>, <TagliaScarpe: 36>, <TagliaScarpe: 36.5>, <TagliaScarpe: 37>, <TagliaScarpe: 37.5>, <TagliaScarpe: 38>, <TagliaScarpe: 39>, <TagliaScarpe: 39.5>, <TagliaScarpe: 40>, <TagliaScarpe: 41>, <TagliaScarpe: 41.5>, <TagliaScarpe: 42>]} |
using | None |
/usr/local/lib/python2.7/site-packages/django/template/engine.py
in render_to_string
else:
return t.render(Context(context))
if not context:
return t.render(context_instance)
# Add the context to the context stack, ensuring it gets removed again
# to keep the context_instance in the same state it started in.
with context_instance.push(context):
return t.render(context_instance)...
def select_template(self, template_name_list, dirs=_dirs_undefined):
"""
Given a list of template names, returns the first that can be loaded.
"""
if dirs is _dirs_undefined:
Variable | Value |
---|---|
dirs | <object object at 0x7fc95e8d6220> |
dictionary | None |
template_name | 'prodotto.html' |
self | <django.template.engine.Engine object at 0x7fc95ab80050> |
t | <django.template.base.Template object at 0x7fc95a7c04d0> |
context | {'color_list': [], 'comp': [], 'composition_list': [], 'filer_list': [], 'lunghezzacinture_list': [<CintureLunghezza: 75>, <CintureLunghezza: 80>, <CintureLunghezza: 85>, <CintureLunghezza: 90>, <CintureLunghezza: 95>, <CintureLunghezza: 100>, <CintureLunghezza: 105>, <CintureLunghezza: 70>, <CintureLunghezza: 65>, <CintureLunghezza: 9494>, <CintureLunghezza: 519m/191>], 'pro': <Product: TRACOLLINA TONDA IN PELLE>, 'tagliascarpe_list': [<TagliaScarpe: 34>, <TagliaScarpe: 35>, <TagliaScarpe: 36>, <TagliaScarpe: 36.5>, <TagliaScarpe: 37>, <TagliaScarpe: 37.5>, <TagliaScarpe: 38>, <TagliaScarpe: 39>, <TagliaScarpe: 39.5>, <TagliaScarpe: 40>, <TagliaScarpe: 41>, <TagliaScarpe: 41.5>, <TagliaScarpe: 42>]} |
context_instance | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)...
else:
return self._render(context)
finally:
context.render_context.pop()
def compile_nodelist(self):
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7fc95a7c04d0> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7fc95a7c04d0> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = 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 |
---|---|
node | <ExtendsNode: extends 'base.html'> |
self | [<ExtendsNode: extends 'base.html'>] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/usr/local/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.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
self | <ExtendsNode: extends 'base.html'> |
e | NoReverseMatch(u"Reverse for 'add-procart' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/usr/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
blocks = {n.name: n for n in
compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
return compiled_parent._render(context)...
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, **kwargs):
Variable | Value |
---|---|
node | <django.template.defaulttags.LoadNode object at 0x7fc95984bcd0> |
blocks | {u'content': <Block Node: content. Contents: [<TextNode: u'\n '>]>, u'custom': <Block Node: custom. Contents: []>, u'extra': <Block Node: extra. Contents: []>, u'facebook': <Block Node: facebook. Contents: []>, u'footer': <Block Node: footer. Contents: []>} |
block_context | <django.template.loader_tags.BlockContext object at 0x7fc95a7cf910> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
compiled_parent | <django.template.base.Template object at 0x7fc9581f1610> |
self | <ExtendsNode: extends 'base.html'> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7fc9581f1610> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = 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 |
---|---|
node | <Block Node: content. Contents: [<TextNode: u'\n '>]> |
bit | u'\n\n ' |
bits | [u'<!DOCTYPE html>', u'', u'\n<html lang="en">\n <head>\n <meta charset="utf-8">\n <meta http-equiv="X-UA-Compatible" content="IE=edge">\n <meta name="viewport" content="width=device-width, initial-scale=1">\n <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->\n <title>Berge Italia - Shop</title>\n\n <!-- get jQuery from the google apis -->\n <!--script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.js"></script-->\n <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>\n <!--google--> <meta name="google-site-verification" content="F6f0yjT4tO5wfuSiO_WzzV6YwXvQrL-qfwAqmow8ur8" />\n\t<!--bing--><meta name="msvalidate.01" content="EF3319714CFF0BA37B974E70882DE8A2" />\n\t<!--pinterest--><meta name="p:domain_verify" content="14ee2de83976764090971502b0dfab3b"/>\n\n <script src="https://js.hcaptcha.com/1/api.js" async defer></script>\n\n <link rel="apple-touch-icon" sizes="57x57" href="/static/favicon/apple-icon-57x57.png">\n <link rel="apple-touch-icon" sizes="60x60" href="/static/favicon/apple-icon-60x60.png">\n <link rel="apple-touch-icon" sizes="72x72" href="/static/favicon/apple-icon-72x72.png">\n <link rel="apple-touch-icon" sizes="76x76" href="/static/favicon/apple-icon-76x76.png">\n <link rel="apple-touch-icon" sizes="114x114" href="/static/favicon/apple-icon-114x114.png">\n <link rel="apple-touch-icon" sizes="120x120" href="/static/favicon/apple-icon-120x120.png">\n <link rel="apple-touch-icon" sizes="144x144" href="/static/favicon/apple-icon-144x144.png">\n <link rel="apple-touch-icon" sizes="152x152" href="/static/favicon/apple-icon-152x152.png">\n <link rel="apple-touch-icon" sizes="180x180" href="/static/favicon/apple-icon-180x180.png">\n <link rel="icon" type="image/png" sizes="192x192" href="/static/favicon/android-icon-192x192.png">\n <link rel="icon" type="image/png" sizes="32x32" href="/static/favicon/favicon-32x32.png">\n <link rel="icon" type="image/png" sizes="96x96" href="/static/favicon/favicon-96x96.png">\n <link rel="icon" type="image/png" sizes="16x16" href="/static/favicon/favicon-16x16.png">\n <link rel="manifest" href="/static/favicon/manifest.json">\n <meta name="msapplication-TileColor" content="#ffffff">\n <meta name="msapplication-TileImage" content="/static/favicon/ms-icon-144x144.png">\n <meta name="theme-color" content="#ffffff">\n\n <!-- jquery cookies popup -->\n <link rel="stylesheet" type="text/css" href="', u'/static/css/jquery-eu-cookie-law-popup.css', u'"/>\n <script src="', u'/static/js/jquery-eu-cookie-law-popup.js', u'"></script>\n\n <!-- SLIDER REVOLUTION -->\n <link rel="stylesheet" type="text/css" href="', u'/static/rs-plugin/css/style.css', u'" media="screen" />\n <script type="text/javascript" src="', u'/static/rs-plugin/js/jquery.themepunch.plugins.min.js', u'"></script>\n <script type="text/javascript" src="', u'/static/rs-plugin/js/jquery.themepunch.revolution.min.js', u'"></script>\n <!-- SLIDER REVOLUTION 4.x CSS SETTINGS -->\n <link rel="stylesheet" type="text/css" href="', u'/static/rs-plugin/css/settings.css', u'" media="screen" />\n\n <!-- UNITE GALLERY -->\n <script type=\'text/javascript\' src="', u'/static/unitegallery/js/unitegallery.js', u'"></script>\n <link rel=\'stylesheet\' href="', u'/static/unitegallery/css/unite-gallery.css', u'" type=\'text/css\' />\n <link rel=\'stylesheet\' href="', u'/static/unitegallery/themes/default/ug-theme-default.css', u'" type=\'text/css\' />\n <script type=\'text/javascript\' src="', u'/static/unitegallery/themes/tiles/ug-theme-tiles.js', u'"></script>\n\n <!-- lightbox -->\n <link rel="stylesheet" href="', u'/static/css/lightbox.css', u'" media="screen"/>\n\n <!-- font -->\n <link rel="stylesheet" href="', u'/static/font-awesome/css/font-awesome.min.css', u'">\n <link href="https://fonts.googleapis.com/css?family=Sintony" rel... <trimmed 21209 bytes string> |
self | [<TextNode: u'<!DOCTYPE html>'>, <django.template.defaulttags.LoadNode object at 0x7fc95984bcd0>, <TextNode: u'\n<html lang="en">\n <head'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fc95984bad0>, <TextNode: u'"/>\n <script src="'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fc95984bd90>, <TextNode: u'"></script>\n\n <!-- SLI'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fc95a6e0a90>, <TextNode: u'" media="screen" />\n <'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fc95a6e0110>, <TextNode: u'"></script>\n <script t'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fc95a6e0a50>, <TextNode: u'"></script>\n <!-- SLID'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fc958503090>, <TextNode: u'" media="screen" />\n\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fc958503650>, <TextNode: u'"></script>\n <link rel'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fc958503fd0>, <TextNode: u'" type=\'text/css\' />\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fc959a49fd0>, <TextNode: u'" type=\'text/css\' />\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fc959a496d0>, <TextNode: u'"></script>\n\n <!-- lig'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fc959a49790>, <TextNode: u'" media="screen"/>\n\n <'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fc959a49e90>, <TextNode: u'">\n <link href="https:'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fc95981ff90>, <TextNode: u'" rel="stylesheet">\n <'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fc95981f550>, <TextNode: u'" rel="stylesheet">\n\n '>, <Block Node: custom. Contents: []>, <TextNode: u'\n\n\n </head>\n <body clas'>, <Block Node: facebook. Contents: []>, <TextNode: u'\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7fc95981fb10>, <TextNode: u'\n\n\n<!-- mPopup box -->\n<d'>, <django.template.defaulttags.URLNode object at 0x7fc95981f1d0>, <TextNode: u'" method="POST">'>, <django.template.defaulttags.CsrfTokenNode object at 0x7fc95981f8d0>, <TextNode: u'\n <div cla'>, <IfNode>, <TextNode: u'\n </button'>, <django.template.loader_tags.IncludeNode object at 0x7fc95a7de390>, <TextNode: u'\n\n '>, <Block Node: content. Contents: [<TextNode: u'\n '>]>, <TextNode: u'\n\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7fc95a7de690>, <TextNode: u'\n\n\n '>, <Block Node: extra. Contents: []>, <TextNode: u'\n\n\n\n\n <!-- Smartsupp L'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fc95a7dee90>, <TextNode: u'"></script>\n <script s'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fc95a7de290>, <TextNode: u'"></script>\n\n\n\n <!-- /'>, <Block Node: footer. Contents: []>, <TextNode: u'\n\n </body>\n</html>\n'>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/usr/local/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.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
self | <Block Node: content. Contents: [<TextNode: u'\n '>]> |
e | NoReverseMatch(u"Reverse for 'add-procart' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/usr/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
push | <Block Node: content. Contents: [<TextNode: u'\n\n<section id="prodotto">'>, <IfNode>, <TextNode: u'\n</section><!-- /section '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7fc95a7cf910> |
block | <Block Node: content. Contents: [<TextNode: u'\n\n<section id="prodotto">'>, <IfNode>, <TextNode: u'\n</section><!-- /section '>]> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
self | <Block Node: content. Contents: [<TextNode: u'\n '>]> |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = 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 |
---|---|
node | <IfNode> |
bit | u'\n\n<section id="prodotto">\n' |
bits | [u'\n\n<section id="prodotto">\n'] |
self | [<TextNode: u'\n\n<section id="prodotto">'>, <IfNode>, <TextNode: u'\n</section><!-- /section '>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/usr/local/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.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
self | <IfNode> |
e | NoReverseMatch(u"Reverse for 'add-procart' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/usr/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class LoremNode(Node):
def __init__(self, count, method, common):
Variable | Value |
---|---|
self | <IfNode> |
match | True |
nodelist | [<TextNode: u'\n\n<form id="myform" actio'>, <IfNode>, <TextNode: u'" method="GET">'>, <django.template.defaulttags.CsrfTokenNode object at 0x7fc9588ee690>, <TextNode: u'\n\n\t<!-- hidden fields -->'>, <Variable Node: pro.id>, <TextNode: u'">\n\n\t<div class="containe'>, <IfNode>, <TextNode: u'\n\t\t\t\t</div>\n\t\t\t\t<div clas'>, <django.template.loader_tags.IncludeNode object at 0x7fc95984ae90>, <TextNode: u'\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t'>, <Variable Node: pro.code>, <TextNode: u'</p>\n\t\t\t\t\t<p><hr></p>\n\t\t\t'>, <IfNode>, <TextNode: u'</h3>\n\t\t\t\t\t<p><hr></p>\n\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\n\t\t\t\t\t<!-- popup scheda '>, <IfNode>, <TextNode: u'\n\n\t\t\t\t\t<!-- popup richies'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</p>\n\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t</div>\n\n\t\t\t\t<div cla'>, <IfNode>, <TextNode: u'\n\t\t\t\t</div>\n\n\t\t\t\t<div cla'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t</button>\n\t\t\t\t\t<but'>, <IfNode>, <TextNode: u'";\n\t\t\t\t\t\tdocument.getElem'>, <django.template.defaulttags.URLNode object at 0x7fc95b37cb10>, <TextNode: u'";\n\t\t\t\t\t\tdocument.getElem'>] |
condition | (= (literal <django.template.base.FilterExpression object at 0x7fc9588ee990>) (literal <django.template.base.FilterExpression object at 0x7fc9588ee0d0>)) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = 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 |
---|---|
node | <IfNode> |
bit | u'\n\n<form id="myform" action="' |
bits | [u'\n\n<form id="myform" action="'] |
self | [<TextNode: u'\n\n<form id="myform" actio'>, <IfNode>, <TextNode: u'" method="GET">'>, <django.template.defaulttags.CsrfTokenNode object at 0x7fc9588ee690>, <TextNode: u'\n\n\t<!-- hidden fields -->'>, <Variable Node: pro.id>, <TextNode: u'">\n\n\t<div class="containe'>, <IfNode>, <TextNode: u'\n\t\t\t\t</div>\n\t\t\t\t<div clas'>, <django.template.loader_tags.IncludeNode object at 0x7fc95984ae90>, <TextNode: u'\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t'>, <Variable Node: pro.code>, <TextNode: u'</p>\n\t\t\t\t\t<p><hr></p>\n\t\t\t'>, <IfNode>, <TextNode: u'</h3>\n\t\t\t\t\t<p><hr></p>\n\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t'>, <IfNode>, <TextNode: u'\n\n\t\t\t\t\t<!-- popup scheda '>, <IfNode>, <TextNode: u'\n\n\t\t\t\t\t<!-- popup richies'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</p>\n\t\t\t'>, <IfNode>, <TextNode: u'\n\t\t\t\t</div>\n\n\t\t\t\t<div cla'>, <IfNode>, <TextNode: u'\n\t\t\t\t</div>\n\n\t\t\t\t<div cla'>, <IfNode>, <TextNode: u'\n\t\t\t\t\t</button>\n\t\t\t\t\t<but'>, <IfNode>, <TextNode: u'";\n\t\t\t\t\t\tdocument.getElem'>, <django.template.defaulttags.URLNode object at 0x7fc95b37cb10>, <TextNode: u'";\n\t\t\t\t\t\tdocument.getElem'>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/usr/local/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.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
self | <IfNode> |
e | NoReverseMatch(u"Reverse for 'add-procart' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/usr/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class LoremNode(Node):
def __init__(self, count, method, common):
Variable | Value |
---|---|
self | <IfNode> |
match | True |
nodelist | [<django.template.defaulttags.URLNode object at 0x7fc9588eec50>] |
condition | None |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/usr/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = 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 |
---|---|
node | <django.template.defaulttags.URLNode object at 0x7fc9588eec50> |
self | [<django.template.defaulttags.URLNode object at 0x7fc9588eec50>] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/usr/local/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.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
self | <django.template.defaulttags.URLNode object at 0x7fc9588eec50> |
e | NoReverseMatch(u"Reverse for 'add-procart' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/usr/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
args=args, kwargs=kwargs,
current_app=current_app)
except NoReverseMatch:
if self.asvar is None:
# Re-raise the original exception, not the one with
# the path relative to the project. This makes a
# better error message.
six.reraise(*exc_info)...
else:
if self.asvar is None:
raise
if self.asvar:
context[self.asvar] = url
Variable | Value |
---|---|
project_name | u'djangocommerce' |
reverse | <function reverse at 0x7fc95e8f2410> |
url | u'' |
self | <django.template.defaulttags.URLNode object at 0x7fc9588eec50> |
args | [] |
current_app | u'' |
view_name | u'add-procart' |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
kwargs | {} |
exc_info | (<class 'django.core.urlresolvers.NoReverseMatch'>, NoReverseMatch(u"Reverse for 'add-procart' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",), <traceback object at 0x7fc958568680>) |
NoReverseMatch | <class 'django.core.urlresolvers.NoReverseMatch'> |
/usr/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
# Try to look up the URL twice: once given the view name, and again
# relative to what we guess is the "main" app. If they both fail,
# re-raise the NoReverseMatch unless we're using the
# {% url ... as var %} construct in which case return nothing.
url = ''
try:
url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app)...
except NoReverseMatch:
exc_info = sys.exc_info()
if settings.SETTINGS_MODULE:
project_name = settings.SETTINGS_MODULE.split('.')[0]
try:
url = reverse(project_name + '.' + view_name,
Variable | Value |
---|---|
project_name | u'djangocommerce' |
reverse | <function reverse at 0x7fc95e8f2410> |
url | u'' |
self | <django.template.defaulttags.URLNode object at 0x7fc9588eec50> |
args | [] |
current_app | u'' |
view_name | u'add-procart' |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
kwargs | {} |
exc_info | (<class 'django.core.urlresolvers.NoReverseMatch'>, NoReverseMatch(u"Reverse for 'add-procart' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",), <traceback object at 0x7fc958568680>) |
NoReverseMatch | <class 'django.core.urlresolvers.NoReverseMatch'> |
/usr/local/lib/python2.7/site-packages/django/core/urlresolvers.py
in reverse
(key, ':'.join(resolved_path)))
else:
raise NoReverseMatch("%s is not a registered namespace" %
key)
if ns_pattern:
resolver = get_ns_resolver(ns_pattern, resolver)
return force_text(iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs)))...
reverse_lazy = lazy(reverse, six.text_type)
def clear_url_caches():
get_callable.cache_clear()
Variable | Value |
---|---|
ns_pattern | u'' |
current_path | None |
viewname | u'add-procart' |
args | [] |
current_app | u'' |
prefix | u'/' |
parts | [u'add-procart'] |
resolver | <RegexURLResolver 'djangocommerce.urls' (None:None) ^/> |
kwargs | {} |
path | [] |
view | u'add-procart' |
urlconf | 'djangocommerce.urls' |
resolved_path | [] |
/usr/local/lib/python2.7/site-packages/django/core/urlresolvers.py
in _reverse_with_prefix
lookup_view_s = "%s.%s" % (m, n)
else:
lookup_view_s = lookup_view
patterns = [pattern for (possibility, pattern, defaults) in possibilities]
raise NoReverseMatch("Reverse for '%s' with arguments '%s' and keyword "
"arguments '%s' not found. %d pattern(s) tried: %s" %
(lookup_view_s, args, kwargs, len(patterns), patterns))...
class LocaleRegexURLResolver(RegexURLResolver):
"""
A URL resolver that always matches the active language code as URL prefix.
Variable | Value |
---|---|
patterns | [] |
m | None |
self | <RegexURLResolver 'djangocommerce.urls' (None:None) ^/> |
args | () |
_prefix | u'/' |
lookup_view_s | u'add-procart' |
text_args | [] |
n | None |
possibilities | [] |
lookup_view | u'add-procart' |
text_kwargs | {} |
kwargs | {} |
original_lookup | u'add-procart' |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
DB_PORT_3306_TCP_PROTO | 'tcp' |
wsgi.multiprocess | False |
RUN_MAIN | 'true' |
HTTP_REFERER | 'https://bergeitalia.com/p/3874/tracollina-tonda-in-pelle' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'WSGIServer/0.1 Python/2.7.13' |
DB_ENV_GOSU_VERSION | '1.12' |
SCRIPT_NAME | u'' |
DB_PORT | 'tcp://172.17.0.2:3306' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/p/3874/tracollina-tonda-in-pelle/' |
PATH | '/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' |
QUERY_STRING | '' |
HOME | '/root' |
PYTHONUNBUFFERED | '1' |
HTTP_X_REAL_IP | '44.200.144.68' |
LANG | 'C.UTF-8' |
HTTP_USER_AGENT | 'claudebot' |
TZ | 'UTC' |
PYTHON_VERSION | '2.7.13' |
SERVER_NAME | '0cca1d4464d1' |
REMOTE_ADDR | '146.59.34.73' |
PYTHON_PIP_VERSION | '9.0.1' |
wsgi.url_scheme | 'http' |
SERVER_PORT | '8000' |
DB_PORT_3306_TCP_PORT | '3306' |
DB_ENV_MYSQL_VERSION | '5.7.33-1debian10' |
CONTENT_LENGTH | '' |
DB_PORT_3306_TCP_ADDR | '172.17.0.2' |
GPG_KEY | 'C01E1CAD5EA2C4F0B8E3571504C367C218ADD4FF' |
DB_PORT_33060_TCP_PROTO | 'tcp' |
DB_PORT_33060_TCP_ADDR | '172.17.0.2' |
wsgi.input | <socket._fileobject object at 0x7fc95990b650> |
DB_NAME | '/berge_b2c_web_1/db' |
DB_PORT_33060_TCP | 'tcp://172.17.0.2:33060' |
wsgi.multithread | True |
HTTP_CONNECTION | 'close' |
DB_ENV_MYSQL_ROOT_PASSWORD | 'Bs19850221*' |
DB_PORT_33060_TCP_PORT | '33060' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_X_FORWARDED_FOR | '44.200.144.68' |
CSRF_COOKIE | u'EU9PQoVauGoVm10VxB3xVSnkoNXocJ3a' |
wsgi.errors | <open file '<stderr>', mode 'w' at 0x7fc964a851e0> |
HOSTNAME | '0cca1d4464d1' |
HTTP_X_FORWARDED_HOST | 'bergeitalia.com' |
DB_PORT_3306_TCP | 'tcp://172.17.0.2:3306' |
wsgi.run_once | False |
DJANGO_SETTINGS_MODULE | 'djangocommerce.settings' |
DB_ENV_MYSQL_MAJOR | '5.7' |
CONTENT_TYPE | 'text/plain' |
HTTP_HOST | 'bergeitalia.com' |
wsgi.file_wrapper | '' |
REMOTE_HOST | '' |
CSRF_COOKIE_USED | True |
djangocommerce.settings
Setting | Value |
---|---|
CART_PRODUCT_MODEL | 'product.models.Composition' |
SECURE_BROWSER_XSS_FILTER | False |
THUMBNAIL_PROCESSORS | ('image_cropping.thumbnail_processors.crop_corners', 'easy_thumbnails.processors.colorspace', 'easy_thumbnails.processors.autocrop', 'easy_thumbnails.processors.scale_and_crop', 'easy_thumbnails.processors.filters', 'easy_thumbnails.processors.background') |
USE_X_FORWARDED_PORT | False |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'djangocommerce.urls' |
MANAGERS | [] |
BASE_DIR | '/code' |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/code' |
ALLOWED_HOSTS | ['*'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SERVER_EMAIL | 'root@localhost' |
SECURE_HSTS_SECONDS | 0 |
CONTACT_RECIPIENTS | False |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
FILEBROWSER_DIRECTORY | '' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
SECURE_REDIRECT_EXEMPT | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'db', 'NAME': 'berge', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '3306', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'root'}} |
EMAIL_SSL_KEYFILE | u'********************' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
SESSION_COOKIE_PATH | '/' |
EMAIL_HOST_PASSWORD | u'********************' |
SECURE_CONTENT_TYPE_NOSNIFF | False |
IMAGE_CROPPING_JQUERY_URL | 'https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js' |
MIDDLEWARE_CLASSES | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
LOGGING_CONFIG | 'logging.config.dictConfig' |
TEMPLATE_LOADERS | ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'] |
WSGI_APPLICATION | 'djangocommerce.wsgi.application' |
TEMPLATE_DEBUG | False |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
EMAIL_TIMEOUT | None |
SECURE_SSL_HOST | None |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
CSRF_TRUSTED_ORIGINS | [] |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ['grappelli', 'filebrowser', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'taggit', 'tinymce', 'mce_filebrowser', 'easy_thumbnails', 'filer', 'mptt', 'image_cropping', 'carton', 'product', 'cart', 'wishlist', 'order', 'agent', 'customer', 'coupon', 'newsletter', 'django_filters', 'nested_inline', 'sito'] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
USE_L10N | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
STATICFILES_DIRS | ['/code/static'] |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
CSRF_COOKIE_AGE | 31449600 |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
AUTH_USER_MODEL | 'auth.User' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
GRAPPELLI_ADMIN_TITLE | 'Berge Urban Couture' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | [] |
LOCALE_PATHS | [] |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | True |
DIRECTORY | '' |
FIXTURE_DIRS | [] |
EMAIL_HOST | 'smtp.bergeitalia.com' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/code/media/' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | [] |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'shop@bergeitalia.com' |
MEDIA_URL | 'https://bergeitalia.com/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | [] |
DISALLOWED_USER_AGENTS | [] |
ALLOWED_INCLUDE_ROOTS | [] |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'sito.views.CategoryMenuView', 'sito.languages.translation_processor', 'sito.helper.session_status_delivery']}}] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SECURE_SSL_REDIRECT | False |
TIME_ZONE | 'UTC' |
IMAGE_CROPPING_THUMB_SIZE | (1425, 500) |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_USE_SSL | False |
TEMPLATE_CONTEXT_PROCESSORS | ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages'] |
MIGRATION_MODULES | {} |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'djangocommerce.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | [] |
STATIC_URL | '/static/' |
EMAIL_PORT | 587 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
TEST_NON_SERIALIZED_APPS | [] |
PASSWORD_HASHERS | u'********************' |
TINYMCE_DEFAULT_CONFIG | {'cleanup_on_startup': True, 'custom_undo_redo_levels': 10, 'height': '1000px', 'plugins': 'table,spellchecker,paste,searchreplace', 'theme': 'advanced', 'width': '1040px'} |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SSL_CERTFILE | None |
CSRF_COOKIE_HTTPONLY | False |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y'] |
IMAGE_CROPPING_SIZE_WARNING | True |
EMAIL_HOST_USER | 'shop@bergeitalia.com' |
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.