Could not parse the remainder: '=' from '='
Request Method: | GET |
---|---|
Request URL: | http://www.gochs09.ru/c/opov.html |
Django Version: | 1.11.4 |
Exception Type: | TemplateSyntaxError |
Exception Value: | Could not parse the remainder: '=' from '=' |
Exception Location: | /home/b/biz090w9/gochs09.ru/public_html/venv/local/lib/python2.7/site-packages/django/template/base.py in parse, line 515 |
Python Executable: | /home/b/biz090w9/gochs09.ru/public_html/venv/bin/python |
Python Version: | 2.7.17 |
Python Path: | ['/home/b/biz090w9/gochs09.ru/public_html/HelloDjango/HelloDjango', '/opt/passenger40/helper-scripts', '/home/b/biz090w9/gochs09.ru/public_html/venv/lib/python2.7', '/home/b/biz090w9/gochs09.ru/public_html/venv/lib/python2.7/plat-x86_64-linux-gnu', '/home/b/biz090w9/gochs09.ru/public_html/venv/lib/python2.7/lib-tk', '/home/b/biz090w9/gochs09.ru/public_html/venv/lib/python2.7/lib-old', '/home/b/biz090w9/gochs09.ru/public_html/venv/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/home/b/biz090w9/gochs09.ru/public_html/venv/local/lib/python2.7/site-packages', '/home/b/biz090w9/gochs09.ru/public_html/venv/lib/python2.7/site-packages', '/home/b/biz090w9/gochs09.ru/public_html/HelloDjango', '/home/b/biz090w9/gochs09.ru/public_html/venv/lib/python2.7/site-packages'] |
Server time: | Вт, 19 Мар 2024 08:36:12 +0300 |
In template /home/b/biz090w9/gochs09.ru/public_html/HelloDjango/DATA/templates/home.html
, error at line 19
9 | interval: 4000, |
---|---|
10 | velocity: 0.5, |
11 | animation: 'fade', |
12 | dots: false |
13 | }); |
14 | }); |
15 | </script> |
16 | {% endblock %} |
17 | |
18 | {% block slider %} |
19 | {% if current = 'glavnaia' %} |
20 | <div class="skitter skitter-large"> |
21 | <ul> |
22 | {% for i in SLIDER %} |
23 | {% if i.image %} |
24 | <li> |
25 | {% thumbnail i.image "1100x400" crop="center" as img %} |
26 | <img src="{{ img.url }}" class="cut" /> |
27 | {% endthumbnail %} |
28 | <div class="label_text"> |
29 | <p>{{ i.title }}. <a href="/news/{{ i.alt_name }}.html" class="btn btn-xs btn-warning">Подробнее</a></p> |
/home/b/biz090w9/gochs09.ru/public_html/venv/local/lib/python2.7/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request)...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | TemplateSyntaxError(u"Could not parse the remainder: '=' from '='",) |
get_response | <bound method WSGIHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f5e28190450>> |
request | <WSGIRequest: GET '/c/opov.html'> |
/home/b/biz090w9/gochs09.ru/public_html/venv/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 |
---|---|
callback | <function cat_page at 0x7f5e24495250> |
callback_args | () |
callback_kwargs | {'alt_name': u'opov'} |
e | TemplateSyntaxError(u"Could not parse the remainder: '=' from '='",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5e244cf150>> |
request | <WSGIRequest: GET '/c/opov.html'> |
resolver | <RegexURLResolver 'HelloDjango.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=HelloDjango.views.cat_page, args=(), kwargs={'alt_name': u'opov'}, url_name=None, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f5e28190450> |
wrapped_callback | <function cat_page at 0x7f5e24495250> |
/home/b/biz090w9/gochs09.ru/public_html/venv/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 |
---|---|
callback | <function cat_page at 0x7f5e24495250> |
callback_args | () |
callback_kwargs | {'alt_name': u'opov'} |
e | TemplateSyntaxError(u"Could not parse the remainder: '=' from '='",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f5e244cf150>> |
request | <WSGIRequest: GET '/c/opov.html'> |
resolver | <RegexURLResolver 'HelloDjango.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=HelloDjango.views.cat_page, args=(), kwargs={'alt_name': u'opov'}, url_name=None, app_names=[], namespaces=[]) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f5e28190450> |
wrapped_callback | <function cat_page at 0x7f5e24495250> |
/home/b/biz090w9/gochs09.ru/public_html/HelloDjango/HelloDjango/views.py
in cat_page
def cat_page(request,alt_name):
cat = category.objects.get(alt_name=alt_name)
data = dict(
posts = post.objects.filter(chernovik=False,rm_from_feed=False).filter(cat=cat.id).order_by('-id')[:10],
)
return render(request, 'home.html', data)...
Variable | Value |
---|---|
alt_name | u'opov' |
cat | <category: Оповещение и действия населения при ЧС> |
data | {'posts': <QuerySet []>} |
request | <WSGIRequest: GET '/c/opov.html'> |
/home/b/biz090w9/gochs09.ru/public_html/venv/local/lib/python2.7/site-packages/django/shortcuts.py
in render
def render(request, template_name, context=None, content_type=None, status=None, using=None):
"""
Returns a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)...
return HttpResponse(content, content_type, status)
def redirect(to, *args, **kwargs):
"""
Returns an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | {'posts': <QuerySet []>} |
request | <WSGIRequest: GET '/c/opov.html'> |
status | None |
template_name | 'home.html' |
using | None |
/home/b/biz090w9/gochs09.ru/public_html/venv/local/lib/python2.7/site-packages/django/template/loader.py
in render_to_string
Loads a template and renders it with a context. Returns a string.
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)...
return template.render(context, request)
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {'posts': <QuerySet []>} |
request | <WSGIRequest: GET '/c/opov.html'> |
template_name | 'home.html' |
using | None |
/home/b/biz090w9/gochs09.ru/public_html/venv/local/lib/python2.7/site-packages/django/template/loader.py
in get_template
Raises TemplateDoesNotExist if no such template exists.
"""
chain = []
engines = _engine_list(using)
for engine in engines:
try:
return engine.get_template(template_name)...
except TemplateDoesNotExist as e:
chain.append(e)
raise TemplateDoesNotExist(template_name, chain=chain)
Variable | Value |
---|---|
chain | [] |
engine | <django.template.backends.django.DjangoTemplates object at 0x7f5e244822d0> |
engines | [<django.template.backends.django.DjangoTemplates object at 0x7f5e244822d0>] |
template_name | 'home.html' |
using | None |
/home/b/biz090w9/gochs09.ru/public_html/venv/local/lib/python2.7/site-packages/django/template/backends/django.py
in get_template
self.engine = Engine(self.dirs, self.app_dirs, **options)
def from_string(self, template_code):
return Template(self.engine.from_string(template_code), self)
def get_template(self, template_name):
try:
return Template(self.engine.get_template(template_name), self)...
except TemplateDoesNotExist as exc:
reraise(exc, self)
def get_templatetag_libraries(self, custom_libraries):
"""
Return a collation of template tag libraries from installed
Variable | Value |
---|---|
self | <django.template.backends.django.DjangoTemplates object at 0x7f5e244822d0> |
template_name | 'home.html' |
/home/b/biz090w9/gochs09.ru/public_html/venv/local/lib/python2.7/site-packages/django/template/engine.py
in get_template
return Template(template_code, engine=self)
def get_template(self, template_name):
"""
Returns a compiled Template object for the given template name,
handling template inheritance recursively.
"""
template, origin = self.find_template(template_name)...
if not hasattr(template, 'render'):
# template needs to be compiled
template = Template(template, origin, template_name, engine=self)
return template
def render_to_string(self, template_name, context=None):
Variable | Value |
---|---|
self | <django.template.engine.Engine object at 0x7f5e237abed0> |
template_name | 'home.html' |
/home/b/biz090w9/gochs09.ru/public_html/venv/local/lib/python2.7/site-packages/django/template/engine.py
in find_template
def find_template(self, name, dirs=None, skip=None):
tried = []
for loader in self.template_loaders:
if loader.supports_recursion:
try:
template = loader.get_template(
name, template_dirs=dirs, skip=skip,...
)
return template, template.origin
except TemplateDoesNotExist as e:
tried.extend(e.tried)
else:
# RemovedInDjango20Warning: Use old api for non-recursive
Variable | Value |
---|---|
dirs | None |
loader | <django.template.loaders.filesystem.Loader object at 0x7f5e2356fa90> |
name | 'home.html' |
self | <django.template.engine.Engine object at 0x7f5e237abed0> |
skip | None |
tried | [] |
/home/b/biz090w9/gochs09.ru/public_html/venv/local/lib/python2.7/site-packages/django/template/loaders/base.py
in get_template
try:
contents = self.get_contents(origin)
except TemplateDoesNotExist:
tried.append((origin, 'Source does not exist'))
continue
else:
return Template(
contents, origin, origin.template_name, self.engine,...
)
raise TemplateDoesNotExist(template_name, tried=tried)
def load_template(self, template_name, template_dirs=None):
warnings.warn(
Variable | Value |
---|---|
args | ['home.html', None] |
contents | u'{% extends "base.html" %}{% load thumbnail %}\n{% block title %}{{ OPTIONS.site_title }}{% endblock %}\n\n{% block jsready %}\n<script type="text/javascript">\n $(function(){\n $(\'.skitter-large\').skitter({\n navigation: true,\n interval: 4000,\n velocity: 0.5,\n \t animation: \'fade\',\n dots: false\n });\n });\n</script>\n{% endblock %}\n\n{% block slider %}\n{% if current = \'glavnaia\' %}\n<div class="skitter skitter-large">\n <ul>\n {% for i in SLIDER %}\n {% if i.image %}\n <li>\n {% thumbnail i.image "1100x400" crop="center" as img %}\n <img src="{{ img.url }}" class="cut" />\n {% endthumbnail %}\n <div class="label_text">\n <p>{{ i.title }}. <a href="/news/{{ i.alt_name }}.html" class="btn btn-xs btn-warning">\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435</a></p>\n </div>\n </li>\n {% endif %}\n {% endfor %}\n </ul>\n</div>\n{% endif %}\n{% endblock %}\n\n{% block content %}\n\n<div class="col-md-9 center-bl" >\n<div class="wj-title">\u041b\u0435\u043d\u0442\u0430 \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439</div>\n\n {% for i in posts %}\n <div class="row">\n <div class="post-title"><a href="/news/{{ i.alt_name }}.html" class="a1">{{ i.title }}</a></div>\n\n {% if i.image %}\n {% thumbnail i.image "120x70" crop="center" as img %}\n <a href="/news/{{ i.alt_name }}.html"><img style="float:left;margin-right:10px;" src="{{ img.url }}" alt="{{ i.title }}"></a>\n {% endthumbnail %}\n {% endif %}\n\n <div>{{ i.short_story|safe|truncatewords_html:50 }}</div>\n </div><hr>\n {% endfor %}\n\n\n<div class="pagination"><strong>\u0421\u0442\u0440\u0430\u043d\u0438\u0446\u044b: </strong>\n\n {% if posts.has_previous %}\n <a href="?p={{ posts.previous_page_number }}">\u2190</a>\n {% endif %}\n\n {% for num in posts.paginator.page_range %}\n {% if num == posts.number %}\n <span class="current"><b>{{ num }}</b></span>\n {% else %}\n <a href="?p={{ num }}"> {{ num }}</a>\n {% endif %}\n {% endfor %}\n\n {% if posts.has_next %}\n <a href="?p={{ posts.next_page_number }}">\u2192</a>\n {% endif %}\n\n</div>\n\n\n</div>\n\n\n{% endblock %}\n' |
origin | <django.template.base.Origin object at 0x7f5e23017a50> |
self | <django.template.loaders.filesystem.Loader object at 0x7f5e2356fa90> |
skip | None |
template_dirs | None |
template_name | 'home.html' |
tried | [] |
/home/b/biz090w9/gochs09.ru/public_html/venv/local/lib/python2.7/site-packages/django/template/base.py
in __init__
engine = Engine.get_default()
if origin is None:
origin = Origin(UNKNOWN_SOURCE)
self.name = name
self.origin = origin
self.engine = engine
self.source = template_string
self.nodelist = self.compile_nodelist()...
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
Variable | Value |
---|---|
engine | <django.template.engine.Engine object at 0x7f5e237abed0> |
name | 'home.html' |
origin | <django.template.base.Origin object at 0x7f5e23017a50> |
self | <django.template.base.Template object at 0x7f5e230170d0> |
template_string | u'{% extends "base.html" %}{% load thumbnail %}\n{% block title %}{{ OPTIONS.site_title }}{% endblock %}\n\n{% block jsready %}\n<script type="text/javascript">\n $(function(){\n $(\'.skitter-large\').skitter({\n navigation: true,\n interval: 4000,\n velocity: 0.5,\n \t animation: \'fade\',\n dots: false\n });\n });\n</script>\n{% endblock %}\n\n{% block slider %}\n{% if current = \'glavnaia\' %}\n<div class="skitter skitter-large">\n <ul>\n {% for i in SLIDER %}\n {% if i.image %}\n <li>\n {% thumbnail i.image "1100x400" crop="center" as img %}\n <img src="{{ img.url }}" class="cut" />\n {% endthumbnail %}\n <div class="label_text">\n <p>{{ i.title }}. <a href="/news/{{ i.alt_name }}.html" class="btn btn-xs btn-warning">\u041f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435</a></p>\n </div>\n </li>\n {% endif %}\n {% endfor %}\n </ul>\n</div>\n{% endif %}\n{% endblock %}\n\n{% block content %}\n\n<div class="col-md-9 center-bl" >\n<div class="wj-title">\u041b\u0435\u043d\u0442\u0430 \u043d\u043e\u0432\u043e\u0441\u0442\u0435\u0439</div>\n\n {% for i in posts %}\n <div class="row">\n <div class="post-title"><a href="/news/{{ i.alt_name }}.html" class="a1">{{ i.title }}</a></div>\n\n {% if i.image %}\n {% thumbnail i.image "120x70" crop="center" as img %}\n <a href="/news/{{ i.alt_name }}.html"><img style="float:left;margin-right:10px;" src="{{ img.url }}" alt="{{ i.title }}"></a>\n {% endthumbnail %}\n {% endif %}\n\n <div>{{ i.short_story|safe|truncatewords_html:50 }}</div>\n </div><hr>\n {% endfor %}\n\n\n<div class="pagination"><strong>\u0421\u0442\u0440\u0430\u043d\u0438\u0446\u044b: </strong>\n\n {% if posts.has_previous %}\n <a href="?p={{ posts.previous_page_number }}">\u2190</a>\n {% endif %}\n\n {% for num in posts.paginator.page_range %}\n {% if num == posts.number %}\n <span class="current"><b>{{ num }}</b></span>\n {% else %}\n <a href="?p={{ num }}"> {{ num }}</a>\n {% endif %}\n {% endfor %}\n\n {% if posts.has_next %}\n <a href="?p={{ posts.next_page_number }}">\u2192</a>\n {% endif %}\n\n</div>\n\n\n</div>\n\n\n{% endblock %}\n' |
/home/b/biz090w9/gochs09.ru/public_html/venv/local/lib/python2.7/site-packages/django/template/base.py
in compile_nodelist
tokens = lexer.tokenize()
parser = Parser(
tokens, self.engine.template_libraries, self.engine.template_builtins,
self.origin,
)
try:
return parser.parse()...
except Exception as e:
if self.engine.debug:
e.template_debug = self.get_exception_info(e, e.token)
raise
def get_exception_info(self, exception, token):
Variable | Value |
---|---|
e | TemplateSyntaxError(u"Could not parse the remainder: '=' from '='",) |
lexer | <django.template.base.DebugLexer object at 0x7f5e23017ed0> |
parser | <django.template.base.Parser object at 0x7f5e23077910> |
self | <django.template.base.Template object at 0x7f5e230170d0> |
tokens | [<django.template.base.Token object at 0x7f5e28964d90>, <django.template.base.Token object at 0x7f5e28964590>, <django.template.base.Token object at 0x7f5e28964a10>, <django.template.base.Token object at 0x7f5e28964f90>, <django.template.base.Token object at 0x7f5e28964e50>, <django.template.base.Token object at 0x7f5e289642d0>, <django.template.base.Token object at 0x7f5e289641d0>, <django.template.base.Token object at 0x7f5e2446b710>, <django.template.base.Token object at 0x7f5e28964bd0>, <django.template.base.Token object at 0x7f5e2446b8d0>, <django.template.base.Token object at 0x7f5e2446b690>, <django.template.base.Token object at 0x7f5e2446bed0>, <django.template.base.Token object at 0x7f5e2446be10>, <django.template.base.Token object at 0x7f5e2446bf90>, <django.template.base.Token object at 0x7f5e2446bc90>, <django.template.base.Token object at 0x7f5e2446b7d0>, <django.template.base.Token object at 0x7f5e2446bd10>, <django.template.base.Token object at 0x7f5e2446b790>, <django.template.base.Token object at 0x7f5e2446b6d0>, <django.template.base.Token object at 0x7f5e2446bc10>, <django.template.base.Token object at 0x7f5e2446bf10>, <django.template.base.Token object at 0x7f5e2446b650>, <django.template.base.Token object at 0x7f5e2446be50>, <django.template.base.Token object at 0x7f5e2446b950>, <django.template.base.Token object at 0x7f5e2446ba90>, <django.template.base.Token object at 0x7f5e2446b5d0>, <django.template.base.Token object at 0x7f5e2446be90>, <django.template.base.Token object at 0x7f5e2446bbd0>, <django.template.base.Token object at 0x7f5e2446ba10>, <django.template.base.Token object at 0x7f5e2446bfd0>, <django.template.base.Token object at 0x7f5e2446b810>, <django.template.base.Token object at 0x7f5e2446b910>, <django.template.base.Token object at 0x7f5e2446b890>, <django.template.base.Token object at 0x7f5e2446bb10>, <django.template.base.Token object at 0x7f5e2446bcd0>, <django.template.base.Token object at 0x7f5e2446bc50>, <django.template.base.Token object at 0x7f5e2446b9d0>, <django.template.base.Token object at 0x7f5e2446ba50>, <django.template.base.Token object at 0x7f5e2446b850>, <django.template.base.Token object at 0x7f5e2446bd90>, <django.template.base.Token object at 0x7f5e2446b750>, <django.template.base.Token object at 0x7f5e23112f50>, <django.template.base.Token object at 0x7f5e23171210>, <django.template.base.Token object at 0x7f5e23171f50>, <django.template.base.Token object at 0x7f5e231714d0>, <django.template.base.Token object at 0x7f5e23077b90>, <django.template.base.Token object at 0x7f5e23077e50>, <django.template.base.Token object at 0x7f5e23077d90>, <django.template.base.Token object at 0x7f5e23077d50>, <django.template.base.Token object at 0x7f5e230778d0>, <django.template.base.Token object at 0x7f5e23077710>, <django.template.base.Token object at 0x7f5e23077fd0>, <django.template.base.Token object at 0x7f5e23077290>, <django.template.base.Token object at 0x7f5e23077190>, <django.template.base.Token object at 0x7f5e23077790>, <django.template.base.Token object at 0x7f5e23077950>, <django.template.base.Token object at 0x7f5e23077990>, <django.template.base.Token object at 0x7f5e23077c50>, <django.template.base.Token object at 0x7f5e23077a50>, <django.template.base.Token object at 0x7f5e23077750>, <django.template.base.Token object at 0x7f5e23077490>, <django.template.base.Token object at 0x7f5e23077ad0>, <django.template.base.Token object at 0x7f5e23077a10>, <django.template.base.Token object at 0x7f5e230775d0>, <django.template.base.Token object at 0x7f5e23077e90>, <django.template.base.Token object at 0x7f5e23077c10>, <django.template.base.Token object at 0x7f5e230772d0>, <django.template.base.Token object at 0x7f5e23077310>, <django.template.base.Token object at 0x7f5e23077350>, <django.template.base.Token object at 0x7f5e230773d0>, <django.template.base.Token object at 0x7f5e23077390>, <django.template.base.Token object at 0x7f5e230774d0>, <django.template.base.Token object at 0x7f5e23077f10>, <django... <trimmed 4423 bytes string> |
/home/b/biz090w9/gochs09.ru/public_html/venv/local/lib/python2.7/site-packages/django/template/base.py
in parse
except KeyError:
self.invalid_block_tag(token, command, parse_until)
# Compile the callback into a node object and add it to
# the node list.
try:
compiled_result = compile_func(self, token)
except Exception as e:
raise self.error(token, e)...
self.extend_nodelist(nodelist, compiled_result, token)
# Compile success. Remove the token from the command stack.
self.command_stack.pop()
if parse_until:
self.unclosed_block_tag(parse_until)
return nodelist
Variable | Value |
---|---|
command | u'extends' |
compile_func | <function do_extends at 0x7f5e258c4950> |
e | TemplateSyntaxError(u"Could not parse the remainder: '=' from '='",) |
nodelist | [] |
parse_until | [] |
self | <django.template.base.Parser object at 0x7f5e23077910> |
token | <django.template.base.Token object at 0x7f5e23017710> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
DOCUMENT_ROOT | '/home/b/biz090w9/gochs09.ru/public_html' |
GEOIP_ADDR | '107.23.85.179' |
GEOIP_CITY | 'Ashburn' |
GEOIP_CONTINENT_CODE | 'NA' |
GEOIP_COUNTRY_CODE | 'US' |
GEOIP_COUNTRY_NAME | 'United States' |
GEOIP_LATITUDE | '39.04810' |
GEOIP_LONGITUDE | '-77.47280' |
GEOIP_POSTAL_CODE | '20149' |
GEOIP_REGION | 'VA' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'www.gochs09.ru' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_PROTO | 'http' |
HTTP_X_REAL_IP | '107.23.85.179' |
HTTP_X_SERVER_ADDR | '87.236.19.140' |
MMDB_ADDR | '107.23.85.179' |
MMDB_INFO | 'result found' |
PASSENGER_APP_GROUP_NAME | '/home/b/biz090w9/gochs09.ru/public_html/HelloDjango/HelloDjango' |
PASSENGER_APP_ROOT | '/home/b/biz090w9/gochs09.ru/public_html/HelloDjango/HelloDjango' |
PASSENGER_APP_TYPE | 'wsgi' |
PASSENGER_CONNECT_PASSWORD | 'gxly1PKfcKxzUsICSRUgrDPMpphykdZNUBdD3TMGUUW' |
PASSENGER_DEBUGGER | 'false' |
PASSENGER_FRIENDLY_ERROR_PAGES | 'true' |
PASSENGER_GROUP | 'newcustomers' |
PASSENGER_MAX_PRELOADER_IDLE_TIME | '-1' |
PASSENGER_PYTHON | '/home/b/biz090w9/gochs09.ru/public_html/venv/bin/python' |
PASSENGER_RESTART_DIR | '' |
PASSENGER_RUBY | '/opt/ruby/2.2/bin/ruby' |
PASSENGER_SHOW_VERSION_IN_HEADER | 'true' |
PASSENGER_SPAWN_METHOD | 'smart' |
PASSENGER_STATUS_LINE | 'false' |
PASSENGER_STAT_THROTTLE_RATE | '0' |
PASSENGER_USER | 'biz090w9__gochs09xru__6o' |
PATH_INFO | u'/c/opov.html' |
PERL_USE_UNSAFE_INC | '1' |
QUERY_STRING | '' |
REMOTE_ADDR | '127.0.0.1' |
REMOTE_PORT | '35795' |
REQUEST_METHOD | 'GET' |
REQUEST_URI | '/c/opov.html' |
SCRIPT_NAME | u'' |
SERVER_ADDR | '127.70.0.1' |
SERVER_ADMIN | 'webmaster@gochs09.ru' |
SERVER_NAME | 'www.gochs09.ru' |
SERVER_PORT | '80' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'Apache/2.4.55 (Unix)' |
UNIQUE_ID | 'ZfkkTB3zOhrpZiSJFCPyQgAAAAA' |
passenger.hijack | None |
wsgi.errors | <open file '<stderr>', mode 'w' at 0x7f5e29bfe270> |
wsgi.input | <socket._fileobject object at 0x7f5e28204e50> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
HelloDjango.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ADMIN_MEDIA_PREFIX | '/static/admin/' |
ALLOWED_HOSTS | ['gochs09.ru', 'www.gochs09.ru'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | [u'django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | u'auth.User' |
BASE_DIR | '/home/b/biz090w9/gochs09.ru/public_html/HelloDjango' |
CACHES | {u'default': {u'BACKEND': u'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | u'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CAPTCHA_BACKGROUND_COLOR | '#111' |
CAPTCHA_FOREGROUND_COLOR | '#f5f5f5' |
CAPTCHA_LENGTH | 5 |
CKEDITOR_ALLOW_NONIMAGE_FILES | True |
CKEDITOR_CONFIGS | {'default': {'height': 300, 'toolbar': 'full', 'width': 1000}} |
CKEDITOR_IMAGE_BACKEND | 'pillow' |
CKEDITOR_JQUERY_URL | '//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js' |
CKEDITOR_UPLOAD_PATH | 'uploads/' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | u'csrftoken' |
CSRF_COOKIE_PATH | u'/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | u'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | u'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '127.0.0.1', 'NAME': 'biz090w9_dj', 'OPTIONS': {'sql_mode': 'traditional'}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'biz090w9_dj'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | u'N j, Y, P' |
DATETIME_INPUT_FORMATS | [u'%Y-%m-%d %H:%M:%S', u'%Y-%m-%d %H:%M:%S.%f', u'%Y-%m-%d %H:%M', u'%Y-%m-%d', u'%m/%d/%Y %H:%M:%S', u'%m/%d/%Y %H:%M:%S.%f', u'%m/%d/%Y %H:%M', u'%m/%d/%Y', u'%m/%d/%y %H:%M:%S', u'%m/%d/%y %H:%M:%S.%f', u'%m/%d/%y %H:%M', u'%m/%d/%y'] |
DATE_FORMAT | u'N j, Y' |
DATE_INPUT_FORMATS | [u'%Y-%m-%d', u'%m/%d/%Y', u'%m/%d/%y', u'%b %d %Y', u'%b %d, %Y', u'%d %b %Y', u'%d %b, %Y', u'%B %d %Y', u'%B %d, %Y', u'%d %B %Y', u'%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | u'.' |
DEFAULT_CHARSET | u'utf-8' |
DEFAULT_CONTENT_TYPE | u'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | u'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | u'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | u'webmaster@localhost' |
DEFAULT_INDEX_TABLESPACE | u'' |
DEFAULT_TABLESPACE | u'' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | u'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | u'localhost' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | u'' |
EMAIL_PORT | 25 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | False |
FILE_CHARSET | u'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | [u'django.core.files.uploadhandler.MemoryFileUploadHandler', u'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | u'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'mptt', 'ckeditor', 'ckeditor_uploader', 'sorl.thumbnail', 'HelloDjango', 'cfeedback', 'captcha', 'Special') |
INTERNAL_IPS | [] |
LANGUAGES | [(u'af', u'Afrikaans'), (u'ar', u'Arabic'), (u'ast', u'Asturian'), (u'az', u'Azerbaijani'), (u'bg', u'Bulgarian'), (u'be', u'Belarusian'), (u'bn', u'Bengali'), (u'br', u'Breton'), (u'bs', u'Bosnian'), (u'ca', u'Catalan'), (u'cs', u'Czech'), (u'cy', u'Welsh'), (u'da', u'Danish'), (u'de', u'German'), (u'dsb', u'Lower Sorbian'), (u'el', u'Greek'), (u'en', u'English'), (u'en-au', u'Australian English'), (u'en-gb', u'British English'), (u'eo', u'Esperanto'), (u'es', u'Spanish'), (u'es-ar', u'Argentinian Spanish'), (u'es-co', u'Colombian Spanish'), (u'es-mx', u'Mexican Spanish'), (u'es-ni', u'Nicaraguan Spanish'), (u'es-ve', u'Venezuelan Spanish'), (u'et', u'Estonian'), (u'eu', u'Basque'), (u'fa', u'Persian'), (u'fi', u'Finnish'), (u'fr', u'French'), (u'fy', u'Frisian'), (u'ga', u'Irish'), (u'gd', u'Scottish Gaelic'), (u'gl', u'Galician'), (u'he', u'Hebrew'), (u'hi', u'Hindi'), (u'hr', u'Croatian'), (u'hsb', u'Upper Sorbian'), (u'hu', u'Hungarian'), (u'ia', u'Interlingua'), (u'id', u'Indonesian'), (u'io', u'Ido'), (u'is', u'Icelandic'), (u'it', u'Italian'), (u'ja', u'Japanese'), (u'ka', u'Georgian'), (u'kk', u'Kazakh'), (u'km', u'Khmer'), (u'kn', u'Kannada'), (u'ko', u'Korean'), (u'lb', u'Luxembourgish'), (u'lt', u'Lithuanian'), (u'lv', u'Latvian'), (u'mk', u'Macedonian'), (u'ml', u'Malayalam'), (u'mn', u'Mongolian'), (u'mr', u'Marathi'), (u'my', u'Burmese'), (u'nb', u'Norwegian Bokm\xe5l'), (u'ne', u'Nepali'), (u'nl', u'Dutch'), (u'nn', u'Norwegian Nynorsk'), (u'os', u'Ossetic'), (u'pa', u'Punjabi'), (u'pl', u'Polish'), (u'pt', u'Portuguese'), (u'pt-br', u'Brazilian Portuguese'), (u'ro', u'Romanian'), (u'ru', u'Russian'), (u'sk', u'Slovak'), (u'sl', u'Slovenian'), (u'sq', u'Albanian'), (u'sr', u'Serbian'), (u'sr-latn', u'Serbian Latin'), (u'sv', u'Swedish'), (u'sw', u'Swahili'), (u'ta', u'Tamil'), (u'te', u'Telugu'), (u'th', u'Thai'), (u'tr', u'Turkish'), (u'tt', u'Tatar'), (u'udm', u'Udmurt'), (u'uk', u'Ukrainian'), (u'ur', u'Urdu'), (u'vi', u'Vietnamese'), (u'zh-hans', u'Simplified Chinese'), (u'zh-hant', u'Traditional Chinese')] |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'ru-RU' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | u'/accounts/profile/' |
LOGIN_URL | u'/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/home/b/biz090w9/gochs09.ru/public_html/HelloDjango/DATA/media/' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['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'] |
MIDDLEWARE_CLASSES | [u'django.middleware.common.CommonMiddleware', u'django.middleware.csrf.CsrfViewMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | u'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PREPEND_WWW | True |
ROOT_URLCONF | 'HelloDjango.urls' |
SECRET_KEY | u'********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | u'root@localhost' |
SESSION_CACHE_ALIAS | u'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | u'sessionid' |
SESSION_COOKIE_PATH | u'/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | u'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | u'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'HelloDjango.settings' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | ('/home/b/biz090w9/gochs09.ru/public_html/HelloDjango/HelloDjango/static/',) |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/home/b/biz090w9/gochs09.ru/public_html/HelloDjango/DATA/static/' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/b/biz090w9/gochs09.ru/public_html/HelloDjango/DATA/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', 'HelloDjango.context_processors.proc']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | u',' |
THUMBNAIL_DEBUG | True |
TIME_FORMAT | u'P' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'Europe/Moscow' |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'HelloDjango.wsgi.application' |
X_FRAME_OPTIONS | u'SAMEORIGIN' |
YEAR_MONTH_FORMAT | u'F Y' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.