Reverse for 'beer' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []
Request Method: | GET |
---|---|
Request URL: | http://127.0.0.1/beer-stock/ |
Django Version: | 1.9 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'beer' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: [] |
Exception Location: | /home/bearbeer/bear_env/lib/python2.7/site-packages/django/core/urlresolvers.py in _reverse_with_prefix, line 508 |
Python Executable: | /home/bearbeer/bear_env/bin/python |
Python Version: | 2.7.5 |
Python Path: | ['/home/bearbeer/public_html', '/home/bearbeer/bear_env/bin', '/usr/lib64/python27.zip', '/usr/lib64/python2.7', '/usr/lib64/python2.7/plat-linux2', '/usr/lib64/python2.7/lib-tk', '/usr/lib64/python2.7/lib-old', '/usr/lib64/python2.7/lib-dynload', '/home/bearbeer/bear_env/lib64/python2.7/site-packages', '/home/bearbeer/bear_env/lib/python2.7/site-packages'] |
Server time: | Чт, 28 Мар 2024 19:10:08 +0000 |
In template /home/bearbeer/public_html/templates/index-landing-shares.html
, error at line 337
327 | <div class="row"> |
---|---|
328 | <div class="line"> |
329 | <div class="pull-left"> |
330 | <a href=""> |
331 | <img src="{% static 'img/beer-landing/png/logof.png' %}" alt=""> |
332 | </a> |
333 | </div> |
334 | </div> |
335 | |
336 | <div class="col-md-3 link"> |
337 | <p><a href="{% url 'beer' %}">Пиво</a></p> |
338 | <p><a href="{% url 'reconstruction' %}">Технологии</a></p> |
339 | <p><a href="{% url 'history' %}">О компании</a></p> |
340 | <p><a href="">Bear Beer</a></p> |
341 | </div> |
342 | <div class="col-md-3 phone"> |
343 | <p><a>+996 3134 58088</a></p> |
344 | <p><a>+996 770 881 860</a></p> |
345 | <p><a>+996 770 881 858</a></p> |
346 | <p><a>+996 770 055 707</a></p> |
347 | </div> |
/home/bearbeer/bear_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 |
---|---|
e | NoReverseMatch(u"Reverse for 'beer' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",) |
callback_args | () |
resolver_match | ResolverMatch(func=main.views.share_view, args=(), kwargs={}, url_name=beer_share, app_names=[], namespaces=[]) |
response_is_rendered | False |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fd8b2c96190>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fd8b48794d0> |
request | <WSGIRequest: GET '/beer-stock/'> |
callback | <function share_view at 0x7fd8b1b5f398> |
wrapped_callback | <function share_view at 0x7fd8b1b5f398> |
resolver | <RegexURLResolver 'bear.urls' (None:None) ^/> |
callback_kwargs | {} |
response | None |
urlconf | 'bear.urls' |
/home/bearbeer/bear_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 |
---|---|
e | NoReverseMatch(u"Reverse for 'beer' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",) |
callback_args | () |
resolver_match | ResolverMatch(func=main.views.share_view, args=(), kwargs={}, url_name=beer_share, app_names=[], namespaces=[]) |
response_is_rendered | False |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7fd8b2c96190>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fd8b48794d0> |
request | <WSGIRequest: GET '/beer-stock/'> |
callback | <function share_view at 0x7fd8b1b5f398> |
wrapped_callback | <function share_view at 0x7fd8b1b5f398> |
resolver | <RegexURLResolver 'bear.urls' (None:None) ^/> |
callback_kwargs | {} |
response | None |
urlconf | 'bear.urls' |
/home/bearbeer/public_html/main/views.py
in share_view
return render(request, template, context)
def share_view(request):
context = {}
template = 'index-landing-shares.html'
return render(request, template, context)...
def share_view_tommi(request):
item = WinnersTommi.objects.all()
context = {"winners": item}
template = 'tommi-landing-shares.html'
Variable | Value |
---|---|
request | <WSGIRequest: GET '/beer-stock/'> |
template | 'index-landing-shares.html' |
context | {} |
/home/bearbeer/bear_env/lib/python2.7/site-packages/django/shortcuts.py
in render
if (context_instance is _context_instance_undefined
and current_app is _current_app_undefined
and dirs is _dirs_undefined
and dictionary is _dictionary_undefined):
# No deprecated arguments were passed - use the new code path
# In Django 1.10, request should become a positional argument.
content = loader.render_to_string(
template_name, context, request=request, using=using)...
else:
# Some deprecated arguments were passed - use the legacy code path
if context_instance is not _context_instance_undefined:
if current_app is not _current_app_undefined:
raise ValueError('If you provide a context_instance you must '
Variable | Value |
---|---|
dirs | <object object at 0x7fd8b3f73110> |
status | None |
content_type | None |
dictionary | <object object at 0x7fd8b3f73100> |
template_name | 'index-landing-shares.html' |
current_app | <object object at 0x7fd8b3f730c0> |
request | <WSGIRequest: GET '/beer-stock/'> |
context_instance | <object object at 0x7fd8b3f730e0> |
context | {} |
using | None |
/home/bearbeer/bear_env/lib/python2.7/site-packages/django/template/loader.py
in render_to_string
and dirs is _dirs_undefined
and dictionary is _dictionary_undefined):
# No deprecated arguments were passed - use the new code path
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)...
else:
chain = []
# Some deprecated arguments were passed - use the legacy code path
for engine in _engine_list(using):
try:
Variable | Value |
---|---|
dirs | <object object at 0x7fd8b3f73110> |
template | <django.template.backends.django.Template object at 0x7fd8b1a89f90> |
dictionary | <object object at 0x7fd8b3f73100> |
template_name | 'index-landing-shares.html' |
request | <WSGIRequest: GET '/beer-stock/'> |
context_instance | <object object at 0x7fd8b3f730e0> |
context | {} |
using | None |
/home/bearbeer/bear_env/lib/python2.7/site-packages/django/template/backends/django.py
in render
"render() must be called with a dict, not a Context.",
RemovedInDjango110Warning, stacklevel=2)
else:
context = make_context(context, request)
try:
return self.template.render(context)...
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def reraise(exc, backend):
"""
Variable | Value |
---|---|
self | <django.template.backends.django.Template object at 0x7fd8b1a89f90> |
request | <WSGIRequest: GET '/beer-stock/'> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/bearbeer/bear_env/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 0x7fd8b196c190> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/bearbeer/bear_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"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7fd8b196c190> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/bearbeer/bear_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 |
---|---|
node | <ExtendsNode: extends 'base_beer.html'> |
self | [<ExtendsNode: extends 'base_beer.html'>] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/bearbeer/bear_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.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
self | <ExtendsNode: extends 'base_beer.html'> |
e | NoReverseMatch(u"Reverse for 'beer' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/bearbeer/bear_env/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 0x7fd8b1abf450> |
blocks | {u'content': <Block Node: content. Contents: [<TextNode: u'\n\n\n\n'>]>, u'scripts': <Block Node: scripts. Contents: [<TextNode: u'\n\n'>]>} |
block_context | <django.template.loader_tags.BlockContext object at 0x7fd8b1abbd10> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
compiled_parent | <django.template.base.Template object at 0x7fd8b1abb6d0> |
self | <ExtendsNode: extends 'base_beer.html'> |
/home/bearbeer/bear_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"
context.render_context.push()
try:
if context.template is None:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7fd8b1abb6d0> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/bearbeer/bear_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 |
---|---|
node | <Block Node: content. Contents: [<TextNode: u'\n\n\n\n'>]> |
bit | u'">\n <!--[if IE 9]>\n <script>\n window.location = "oldbrowser/index.html";\n </script>\n <![endif]-->\n</head>\n\n\n<body class="landing-bear">\n' |
bits | [u'', u'\n\n<!DOCTYPE html>\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, maximum-scale=1">\n <meta property="og:image" content="path/to/image.jpg">\n <link rel="shortcut icon" href="', u'/static/img/favicon/favicon-bear.ico', u'" type="image/x-icon">\n <meta name="description" content="">\n <meta name="keywords" content="">\n <meta name="author" content="">\n <title>Bear</title>\n\n <link rel="stylesheet" type="text/css" href="', u'/static/css/bootstrap.min.css', u'">\n <link rel="stylesheet" type="text/css" href="', u'/static/css/owl.carousel.min.css', u'">\n <link rel="stylesheet" type="text/css" href="', u'/static/css/fonts.min.css', u'">\n <link rel="stylesheet" type="text/css" href="', u'/static/css/font-awesome.min.css', u'">\n <link rel="stylesheet" type="text/css" href="', u'/static/css/lightgallery.min.css', u'">\n <link rel="stylesheet" type="text/css" href="', u'/static/css/main.min.css', u'">\n <!--[if IE 9]>\n <script>\n window.location = "oldbrowser/index.html";\n </script>\n <![endif]-->\n</head>\n\n\n<body class="landing-bear">\n'] |
self | [<django.template.defaulttags.LoadNode object at 0x7fd8b1abf450>, <TextNode: u'\n\n<!DOCTYPE html>\n<html l'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abfa90>, <TextNode: u'" type="image/x-icon">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abfdd0>, <TextNode: u'">\n <link rel="stylesh'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abf890>, <TextNode: u'">\n <link rel="stylesh'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abf310>, <TextNode: u'">\n <link rel="stylesh'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abf1d0>, <TextNode: u'">\n <link rel="stylesh'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abf8d0>, <TextNode: u'">\n <link rel="stylesh'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abf210>, <TextNode: u'">\n <!--[if IE 9]>\n '>, <Block Node: content. Contents: [<TextNode: u'\n\n\n\n'>]>, <TextNode: u'\n\n\n\n\n<!--[if lt IE 9]>\n<s'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b19b6a10>, <TextNode: u'"></script>\n<script type='>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b19b6310>, <TextNode: u'"></script>\n<script type='>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b19b6e90>, <TextNode: u'"></script>\n<script type='>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b19b68d0>, <TextNode: u'"></script>\n<script type='>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b19b6290>, <TextNode: u'"></script>\n<script type='>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b19b6150>, <TextNode: u'"></script>\n<script type='>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b19b6550>, <TextNode: u'"></script>\n<script type='>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b19b6cd0>, <TextNode: u'"></script>\n\n'>, <Block Node: scripts. Contents: [<TextNode: u'\n\n'>]>, <TextNode: u'\n\n</body>\n</html>\n'>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/bearbeer/bear_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.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
self | <Block Node: content. Contents: [<TextNode: u'\n\n\n\n'>]> |
e | NoReverseMatch(u"Reverse for 'beer' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/bearbeer/bear_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 |
---|---|
push | <Block Node: content. Contents: [<TextNode: u'\n\n <nav class="navbar '>, <django.template.defaulttags.URLNode object at 0x7fd8b1af1710>, <TextNode: u'">\n <i'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1af1ad0>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1af10d0>, <TextNode: u'" class="img-responsive" '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1af1090>, <TextNode: u'" class="img-responsive" '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1af1f50>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abec10>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abe090>, <TextNode: u'" alt="">0770 777\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abe650>, <TextNode: u'" alt="">0770 777\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1aced90>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1aceb50>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1acee10>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1ace790>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1911cd0>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1a308d0>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1b2c390>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1b2c6d0>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1b2c510>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1b2cc90>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1b2c910>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb350>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abbc90>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb750>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abbdd0>, <TextNode: u') center\n no-r'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb910>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abba50>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb250>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb210>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb090>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb050>, <TextNode: u'" alt="">\n '>, <django.contrib.static... <trimmed 5066 bytes string> |
block_context | <django.template.loader_tags.BlockContext object at 0x7fd8b1abbd10> |
block | <Block Node: content. Contents: [<TextNode: u'\n\n <nav class="navbar '>, <django.template.defaulttags.URLNode object at 0x7fd8b1af1710>, <TextNode: u'">\n <i'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1af1ad0>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1af10d0>, <TextNode: u'" class="img-responsive" '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1af1090>, <TextNode: u'" class="img-responsive" '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1af1f50>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abec10>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abe090>, <TextNode: u'" alt="">0770 777\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abe650>, <TextNode: u'" alt="">0770 777\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1aced90>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1aceb50>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1acee10>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1ace790>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1911cd0>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1a308d0>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1b2c390>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1b2c6d0>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1b2c510>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1b2cc90>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1b2c910>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb350>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abbc90>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb750>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abbdd0>, <TextNode: u') center\n no-r'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb910>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abba50>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb250>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb210>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb090>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb050>, <TextNode: u'" alt="">\n '>, <django.contrib.static... <trimmed 5066 bytes string> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
self | <Block Node: content. Contents: [<TextNode: u'\n\n\n\n'>]> |
/home/bearbeer/bear_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 |
---|---|
node | <django.template.defaulttags.URLNode object at 0x7fd8b1abb5d0> |
bit | u'" alt="">\n </a>\n </div>\n </div>\n\n <div class="col-md-3 link">\n <p><a href="' |
bits | [u'\n\n <nav class="navbar navbar-fixed-top">\n <div class="container">\n <!-- Brand and toggle get grouped for better mobile display -->\n <div class="navbar-header">\n <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"\n data-target="#bs-example-navbar-collapse-1" aria-expanded="false">\n <span class="sr-only">Toggle navigation</span>\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n </button>\n\n </div>\n\n <!-- Collect the nav links, forms, and other content for toggling -->\n <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">\n\n <ul class="nav navbar-nav">\n <li><a href="#pivo">\u041f\u0418\u0412\u041e</a></li>\n <li><a href="#tech">\u0422\u0415\u0425\u041d\u041e\u041b\u041e\u0413\u0418\u0418</a></li>\n </ul>\n\n <a class="navbar-brand" href="', u'/', u'">\n <img src="', u'/static/img/beer-landing/png/logo.png', u'" alt="">\n </a>\n\n <ul class="nav navbar-nav navbar-right">\n <li><a href="#about">\u041e \u041a\u041e\u041c\u041f\u0410\u041d\u0418\u0418</a></li>\n <li><a href="#cont">\u041a\u041e\u041d\u0422\u0410\u041a\u0422\u042b</a></li>\n </ul>\n\n </div><!-- /.navbar-collapse -->\n </div><!-- /.container-fluid -->\n </nav>\n\n <section class="section banner-shares">\n <img src="', u'/static/img/beer-landing/car-share.png', u'" class="img-responsive" alt="">\n </section>\n\n <section class="section banner-shares -m-margin-top-mobile">\n <img src="', u'/static/img/beer-landing/banner2.jpg', u'" class="img-responsive" alt="">\n </section>\n\n <section class="procedure-receiving-prizes">\n <div class="container">\n <div class="row">\n <h2>\u043f\u043e\u0440\u044f\u0434\u043e\u043a \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0437\u043e\u0432</h2>\n <div class="col-md-3">\n <div class="img-wrapper">\n <img src="', u'/static/img/beer-landing/procedure-receiving-prizes1.png', u'" alt="">\n </div>\n <h4>\u041c\u041e\u041c\u0415\u041d\u0422\u0410\u041b\u042c\u041d\u042b\u0419 \u041f\u0420\u0418\u0417</h4>\n <p>\u041d\u0430\u0439\u0434\u0438 \u043f\u043e\u0434 \u043a\u0440\u044b\u0448\u043a\u043e\u0439 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\n \u043c\u043e\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u0437\u0430 </p>\n <p><strong>\xab\u0431\u0443\u0442\u044b\u043b\u043a\u0430 \u043f\u0438\u0432\u0430 \u0411\u0438\u0448\u043a\u0435\u043a\u0441\u043a\u043e\u0435 \u0411\u0430\u0440\u043d\u043e\u0435\xbb\n 0,5\u043b \u0441\u0442\u0435\u043a\u043b\u043e</strong></p>\n <p>\u041e\u0431\u043c\u0435\u043d\u044f\u0439 \u043a\u0440\u044b\u0448\u043a\u0443 \u043d\u0430 \u043f\u0440\u0438\u0437 \u0432 \u0442\u043e\u0440\u0433\u043e\u0432\u044b\u0445 \u0442\u043e\u0447\u043a\u0430\u0445,\n \u0433\u0434\u0435 \u043f\u0440\u043e\u0434\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0434\u0443\u043a\u0446\u0438\u044f \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0438\n <strong>\xabBear Beer\xbb</strong>\n </p>\n </div>\n <div class="col-md-3">\n <div class="img-wrapper">\n <img src="', u'/static/img/beer-landing/procedure-receiving-prizes2.png', u'" alt="">\n </div>\n <h4>\u041e\u0421\u0422\u0410\u041b\u042c\u041d\... <trimmed 38855 bytes string> |
self | [<TextNode: u'\n\n <nav class="navbar '>, <django.template.defaulttags.URLNode object at 0x7fd8b1af1710>, <TextNode: u'">\n <i'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1af1ad0>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1af10d0>, <TextNode: u'" class="img-responsive" '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1af1090>, <TextNode: u'" class="img-responsive" '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1af1f50>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abec10>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abe090>, <TextNode: u'" alt="">0770 777\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abe650>, <TextNode: u'" alt="">0770 777\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1aced90>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1aceb50>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1acee10>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1ace790>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1911cd0>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1a308d0>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1b2c390>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1b2c6d0>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1b2c510>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1b2cc90>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1b2c910>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb350>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abbc90>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb750>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abbdd0>, <TextNode: u') center\n no-r'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb910>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abba50>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb250>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb210>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb090>, <TextNode: u'" alt="">\n '>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0x7fd8b1abb050>, <TextNode: u'" alt="">\n ... <trimmed 5105 bytes string> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/bearbeer/bear_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.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
self | <django.template.defaulttags.URLNode object at 0x7fd8b1abb5d0> |
e | NoReverseMatch(u"Reverse for 'beer' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
/home/bearbeer/bear_env/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'bear' |
reverse | <function reverse at 0x7fd8b3f58e60> |
url | u'' |
self | <django.template.defaulttags.URLNode object at 0x7fd8b1abb5d0> |
args | [] |
current_app | u'' |
view_name | u'beer' |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
kwargs | {} |
exc_info | (<class 'django.core.urlresolvers.NoReverseMatch'>, NoReverseMatch(u"Reverse for 'beer' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",), <traceback object at 0x7fd8b1a88830>) |
NoReverseMatch | <class 'django.core.urlresolvers.NoReverseMatch'> |
/home/bearbeer/bear_env/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'bear' |
reverse | <function reverse at 0x7fd8b3f58e60> |
url | u'' |
self | <django.template.defaulttags.URLNode object at 0x7fd8b1abb5d0> |
args | [] |
current_app | u'' |
view_name | u'beer' |
context | [{'False': False, 'None': None, 'True': True}, {}, {}] |
kwargs | {} |
exc_info | (<class 'django.core.urlresolvers.NoReverseMatch'>, NoReverseMatch(u"Reverse for 'beer' with arguments '()' and keyword arguments '{}' not found. 0 pattern(s) tried: []",), <traceback object at 0x7fd8b1a88830>) |
NoReverseMatch | <class 'django.core.urlresolvers.NoReverseMatch'> |
/home/bearbeer/bear_env/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'beer' |
args | [] |
current_app | u'' |
prefix | u'/' |
parts | [u'beer'] |
resolver | <RegexURLResolver 'bear.urls' (None:None) ^/> |
kwargs | {} |
path | [] |
view | u'beer' |
urlconf | 'bear.urls' |
resolved_path | [] |
/home/bearbeer/bear_env/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 'bear.urls' (None:None) ^/> |
args | () |
_prefix | u'/' |
lookup_view_s | u'beer' |
text_args | [] |
n | None |
possibilities | [] |
lookup_view | u'beer' |
text_kwargs | {} |
kwargs | {} |
original_lookup | u'beer' |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_X_FORWARDED_SERVER | 'bearbeer.kg, bearbeer.kg' |
SERVER_SOFTWARE | 'gunicorn/19.8.1' |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/beer-stock/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
HTTP_X_REAL_IP | '3.239.119.159' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_CONNECTION | 'Keep-Alive' |
SERVER_NAME | '127.0.0.1' |
REMOTE_ADDR | '' |
wsgi.url_scheme | 'http' |
SERVER_PORT | '80' |
HTTP_X_FORWARDED_PROTO | 'http' |
wsgi.input | <gunicorn.http.body.Body object at 0x7fd8b1b2df90> |
HTTP_HOST | '127.0.0.1' |
wsgi.multithread | False |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
RAW_URI | '/beer-stock/' |
wsgi.run_once | False |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fd8b1b2d690> |
wsgi.multiprocess | True |
HTTP_X_FORWARDED_HOST | 'bearbeer.kg, bearbeer.kg' |
gunicorn.socket | <socket._socketobject object at 0x7fd8b2b7a830> |
HTTP_X_FORWARDED_FOR | '3.239.119.159, 3.239.119.159' |
wsgi.file_wrapper | '' |
bear.settings
Setting | Value |
---|---|
SECURE_BROWSER_XSS_FILTER | False |
USE_X_FORWARDED_PORT | False |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'ru' |
ROOT_URLCONF | 'bear.urls' |
MANAGERS | [] |
BASE_DIR | '/home/bearbeer/public_html' |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
JET_DEFAULT_THEME | 'green' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/home/bearbeer/bear/static/static_root' |
CKEDITOR_UPLOAD_PATH | 'uploads/' |
ALLOWED_HOSTS | ['*'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SERVER_EMAIL | 'root@localhost' |
SECURE_HSTS_SECONDS | 0 |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
SECURE_REDIRECT_EXEMPT | [] |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': '/home/bearbeer/public_html/db.sqlite3', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': ''}} |
EMAIL_SSL_KEYFILE | u'********************' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
LOCALE_PATHS | [] |
DATABASE_ROUTERS | [] |
DEFAULT_TABLESPACE | '' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
SESSION_COOKIE_PATH | '/' |
EMAIL_HOST_PASSWORD | u'********************' |
SECURE_CONTENT_TYPE_NOSNIFF | False |
MIDDLEWARE_CLASSES | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
LOGGING_CONFIG | 'logging.config.dictConfig' |
TEMPLATE_LOADERS | ['django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader'] |
FIRST_DAY_OF_WEEK | 0 |
WSGI_APPLICATION | 'bear.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 | ['jet', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'main', 'ckeditor', 'ckeditor_uploader'] |
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 | ('/home/bearbeer/bear/templates/assets/static_files',) |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
CSRF_COOKIE_AGE | 31449600 |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
AUTH_USER_MODEL | 'auth.User' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
JET_SIDE_MENU_COMPACT | True |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | [] |
MIGRATION_MODULES | {} |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | [] |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/home/bearbeer/bear/static/media' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | [] |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | [] |
CKEDITOR_CONFIGS | {'default': {'height': 300, 'toolbar': 'full', 'width': 800}} |
DISALLOWED_USER_AGENTS | [] |
ALLOWED_INCLUDE_ROOTS | [] |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/bearbeer/public_html/templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages']}}] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SECURE_SSL_REDIRECT | False |
TIME_ZONE | 'UTC' |
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'] |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'bear.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | [] |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
USE_TZ | True |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
TEST_NON_SERIALIZED_APPS | [] |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SSL_CERTFILE | None |
CSRF_COOKIE_HTTPONLY | False |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y'] |
EMAIL_HOST_USER | '' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.