The 'image' attribute has no file associated with it.
Request Method: | GET |
---|---|
Request URL: | https://concept.kg/subscribe/ |
Django Version: | 1.11.2 |
Exception Type: | ValueError |
Exception Value: | The 'image' attribute has no file associated with it. |
Exception Location: | /home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/db/models/fields/files.py in _require_file, line 46 |
Python Executable: | /home/concept/.virtualenvs/concept/bin/uwsgi |
Python Version: | 2.7.6 |
Python Path: | ['/home/concept/.virtualenvs/concept/concept.kg/apps', '.', '', '/home/concept/.virtualenvs/concept/lib/python2.7', '/home/concept/.virtualenvs/concept/lib/python2.7/plat-x86_64-linux-gnu', '/home/concept/.virtualenvs/concept/lib/python2.7/lib-tk', '/home/concept/.virtualenvs/concept/lib/python2.7/lib-old', '/home/concept/.virtualenvs/concept/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/concept/.virtualenvs/concept/local/lib/python2.7/site-packages'] |
Server time: | Пт, 29 Мар 2024 06:41:36 +0600 |
In template /home/concept/.virtualenvs/concept/concept.kg/templates/base.html
, error at line 0
1 | {% load static %} |
---|---|
2 | {% load i18n compress %} |
3 | <!doctype html> |
4 | <html lang="en"> |
5 | <head> |
6 | <title>{% block title %}{% trans 'Kyrgyz Concept – 33 года искренней заботы о путешественниках' %}{% endblock %}</title> |
7 | <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
8 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
9 | <link rel="icon" type="image/png" href="{% static 'images/favicon-32x32.png' %}?v=3" sizes="32x32" /> |
10 | <link rel="icon" type="image/png" href="{% static 'images/favicon-16x16.png' %}?v=3" sizes="16x16" /> |
/home/concept/.virtualenvs/concept/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 | ValueError("The 'image' attribute has no file associated with it.",) |
get_response | <bound method WSGIHandler._legacy_get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f01125e21d0>> |
request | <WSGIRequest: GET '/subscribe/'> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request)...
return response
Variable | Value |
---|---|
middleware_method | <bound method SecurityMiddleware.process_request of <django.middleware.security.SecurityMiddleware object at 0x7f010f9dc610>> |
request | <WSGIRequest: GET '/subscribe/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f01125e21d0> |
/home/concept/.virtualenvs/concept/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 subscribe_page at 0x7f010d4b1a28> |
callback_args | () |
callback_kwargs | {} |
e | ValueError("The 'image' attribute has no file associated with it.",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f010f9ce790>> |
request | <WSGIRequest: GET '/subscribe/'> |
resolver | <RegexURLResolver 'project.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=base.views.subscribe_page, args=(), kwargs={}, url_name=subscribe_page, app_names=[], namespaces=['base']) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f01125e21d0> |
wrapped_callback | <function subscribe_page at 0x7f010d4b1a28> |
/home/concept/.virtualenvs/concept/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 subscribe_page at 0x7f010d4b1a28> |
callback_args | () |
callback_kwargs | {} |
e | ValueError("The 'image' attribute has no file associated with it.",) |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f010f9ce790>> |
request | <WSGIRequest: GET '/subscribe/'> |
resolver | <RegexURLResolver 'project.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=base.views.subscribe_page, args=(), kwargs={}, url_name=subscribe_page, app_names=[], namespaces=['base']) |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f01125e21d0> |
wrapped_callback | <function subscribe_page at 0x7f010d4b1a28> |
/home/concept/.virtualenvs/concept/concept.kg/apps/base/views.py
in subscribe_page
order_form = SubscribeForm()
feedback_form = FeedbackForm()
if feedback_form.is_valid():
feedback_form.save()
feedback_form = FeedbackForm()
subscribe_form = SubscribeForm()
latest_news = News.objects.filter(publish=True)[:3]
return render(request, 'base/subscribe.html', locals())...
def render_to_pdf(template_src, context_dict):
"""
Метод для экспорта информации в формате .pdf.
"""
Variable | Value |
---|---|
feedback_form | <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)> |
latest_news | <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]> |
request | <WSGIRequest: GET '/subscribe/'> |
subscribe_form | <SubscribeForm bound=False, valid=Unknown, fields=(email)> |
/home/concept/.virtualenvs/concept/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 | {'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>, 'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'request': <WSGIRequest: GET '/subscribe/'>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>} |
request | <WSGIRequest: GET '/subscribe/'> |
status | None |
template_name | 'base/subscribe.html' |
using | None |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/template/loader.py
in render_to_string
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)...
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>, 'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'request': <WSGIRequest: GET '/subscribe/'>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>} |
request | <WSGIRequest: GET '/subscribe/'> |
template | <django.template.backends.django.Template object at 0x7f010654f950> |
template_name | 'base/subscribe.html' |
using | None |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/template/backends/django.py
in render
@property
def origin(self):
return self.template.origin
def render(self, context=None, request=None):
context = make_context(context, request, autoescape=self.backend.engine.autoescape)
try:
return self.template.render(context)...
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
request | <WSGIRequest: GET '/subscribe/'> |
self | <django.template.backends.django.Template object at 0x7f010654f950> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)...
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
self | <django.template.base.Template object at 0x7f010654f550> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/test/utils.py
in instrumented_test_render
def instrumented_test_render(self, context):
"""
An instrumented Template render method, providing a signal
that can be intercepted by the test system Client
"""
template_rendered.send(sender=self, template=self, context=context)
return self.nodelist.render(context)...
class _TestState(object):
pass
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
self | <django.template.base.Template object at 0x7f010654f550> |
/home/concept/.virtualenvs/concept/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 |
---|---|
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
node | <ExtendsNode: extends 'layout.html'> |
self | [<ExtendsNode: extends 'layout.html'>] |
/home/concept/.virtualenvs/concept/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.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
e | ValueError("The 'image' attribute has no file associated with it.",) |
self | <ExtendsNode: extends 'layout.html'> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)...
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7f01060e22d0> |
compiled_parent | <django.template.base.Template object at 0x7f01060e2310> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
node | <ExtendsNode: extends 'base.html'> |
self | <ExtendsNode: extends 'layout.html'> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/test/utils.py
in instrumented_test_render
def instrumented_test_render(self, context):
"""
An instrumented Template render method, providing a signal
that can be intercepted by the test system Client
"""
template_rendered.send(sender=self, template=self, context=context)
return self.nodelist.render(context)...
class _TestState(object):
pass
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
self | <django.template.base.Template object at 0x7f01060e2310> |
/home/concept/.virtualenvs/concept/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 |
---|---|
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
node | <ExtendsNode: extends 'base.html'> |
self | [<ExtendsNode: extends 'base.html'>] |
/home/concept/.virtualenvs/concept/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.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
e | ValueError("The 'image' attribute has no file associated with it.",) |
self | <ExtendsNode: extends 'base.html'> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)...
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7f01060e22d0> |
blocks | {u'additional_meta': <Block Node: additional_meta. Contents: []>, u'body': <Block Node: body. Contents: [<TextNode: u'\n'>]>, u'description': <Block Node: description. Contents: [<django.templatetags.i18n.TranslateNode object at 0x7f0105ecd050>]>, u'extra_css': <Block Node: extra_css. Contents: []>, u'extra_js': <Block Node: extra_js. Contents: [<TextNode: u"\n <script type='text/j">]>, u'footer': <Block Node: footer. Contents: [<TextNode: u'\n'>]>, u'go_top': <Block Node: go_top. Contents: [<TextNode: u'\n <div id="div_go-top-'>]>, u'header': <Block Node: header. Contents: [<TextNode: u'\n'>]>, u'meta_tags': <Block Node: meta_tags. Contents: [<TextNode: u'\n <meta property="'>, <Block Node: og_url. Contents: [<TextNode: u'https://concept.kg'>]>, <TextNode: u'" />\n <meta proper'>, <Block Node: og_title. Contents: [<django.templatetags.i18n.TranslateNode object at 0x7f0105ecdcd0>]>, <TextNode: u'" />\n <meta proper'>, <Block Node: og_description. Contents: [<django.templatetags.i18n.TranslateNode object at 0x7f0105ecda50>]>, <TextNode: u'" />\n <meta proper'>, <Block Node: og_image. Contents: [<IfNode>, <Variable Node: request.get_host>, <django.templatetags.static.StaticNode object at 0x7f0105ecddd0>]>, <TextNode: u'" />\n '>]>, u'og_description': <Block Node: og_description. Contents: [<django.templatetags.i18n.TranslateNode object at 0x7f0105ecda50>]>, u'og_image': <Block Node: og_image. Contents: [<IfNode>, <Variable Node: request.get_host>, <django.templatetags.static.StaticNode object at 0x7f0105ecddd0>]>, u'og_title': <Block Node: og_title. Contents: [<django.templatetags.i18n.TranslateNode object at 0x7f0105ecdcd0>]>, u'og_url': <Block Node: og_url. Contents: [<TextNode: u'https://concept.kg'>]>, u'rel_canonical': <Block Node: rel_canonical. Contents: []>, u'title': <Block Node: title. Contents: [<django.templatetags.i18n.TranslateNode object at 0x7f0105ecdd90>]>} |
compiled_parent | <django.template.base.Template object at 0x7f010cdddd90> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
node | <django.template.defaulttags.LoadNode object at 0x7f0105ecdc90> |
self | <ExtendsNode: extends 'base.html'> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/test/utils.py
in instrumented_test_render
def instrumented_test_render(self, context):
"""
An instrumented Template render method, providing a signal
that can be intercepted by the test system Client
"""
template_rendered.send(sender=self, template=self, context=context)
return self.nodelist.render(context)...
class _TestState(object):
pass
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
self | <django.template.base.Template object at 0x7f010cdddd90> |
/home/concept/.virtualenvs/concept/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 |
---|---|
bit | u'\n\n' |
bits | [u'', u'\n', u'', u'\n<!doctype html>\n<html lang="en">\n<head>\n <title>', u'\u041f\u043e\u0434\u043f\u0438\u0448\u0438\u0442\u0435\u0441\u044c \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0443\u044e \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0443 \u043e\u0442 Kyrgyz Concept!', u'</title>\n <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">\n <meta name="viewport" content="width=device-width, initial-scale=1">\n <link rel="icon" type="image/png" href="', u'/static/images/favicon-32x32.png', u'?v=3" sizes="32x32" />\n <link rel="icon" type="image/png" href="', u'/static/images/favicon-16x16.png', u'?v=3" sizes="16x16" />\n <meta name="description" content="', u'4 \u043f\u0438\u0441\u044c\u043c\u0430 \u0432 \u043c\u0435\u0441\u044f\u0446, \u0430\u0444\u0438\u0448\u0430 \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u0439, \u0441\u043e\u0432\u0435\u0442\u044b \u043f\u0443\u0442\u0435\u0448\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u0438\u043a\u0430\u043c, \u043d\u043e\u0432\u043e\u0441\u0442\u0438 \u0438 \u0430\u043a\u0446\u0438\u0438. \u0422\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f!', u'">\n <meta name="facebook-domain-verification" content="yfy83des8p69f0mzx5dht5m65rvrkr" />\n ', u'', u'\n ', u'\n <meta property="og:url" content="https://concept.kg/subscribe/" />\n <meta property="og:type" content="website" />\n <meta property="og:title" content="\u041f\u043e\u0434\u043f\u0438\u0448\u0438\u0442\u0435\u0441\u044c \u043d\u0430 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u0443\u044e \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0443 \u043e\u0442 Kyrgyz Concept!" />\n <meta property="og:description" content="4 \u043f\u0438\u0441\u044c\u043c\u0430 \u0432 \u043c\u0435\u0441\u044f\u0446, \u0430\u0444\u0438\u0448\u0430 \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u0439, \u0441\u043e\u0432\u0435\u0442\u044b \u043f\u0443\u0442\u0435\u0448\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u0438\u043a\u0430\u043c, \u043d\u043e\u0432\u043e\u0441\u0442\u0438 \u0438 \u0430\u043a\u0446\u0438\u0438. \u0422\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f!" />\n <meta property="og:image" content="https://concept.kg/static/img/kc-logo.jpg" />\n ', u'\n ', u'', u'\n\n <link href=\'https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,400italic&subset=latin,cyrillic\' rel=\'stylesheet\' type=\'text/css\'>\n <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">\n ', u'<link rel="stylesheet" href="/static/CACHE/css/31a2ed3fa0ff.css" type="text/css" />', u'\n ', u'', u'\n ', u'\n <script type="text/javascript">\n (function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){\n (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),\n m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)\n })(window,document,\'script\',\'https://www.google-analytics.com/analytics.js\',\'ga\');\n\n ga(\'create\', \'UA-91115615-1\', \'auto\');\n ga(\'send\', \'pageview\');\n </script>\n <!-- Yandex.Metrika counter -->\n <script type="text/javascript">\n (function (d, w, c) {\n (w[c] = w[c] || []).push(function() {\n try {\n w.yaCounter44692096 = new Ya.Metrika({\n id:44692096,\n clickmap:true,\n trackLinks:true,\n accurateTrackBounce:true\n });\n } catch(e) { }\n });\n\n var n = d.getElementsByTagName("script")[0],\n s = d.createElement("script"),\n f = function () { n.parentNode.insertBefore(s, n); };\n s.type = "text/javascr... <trimmed 59238 bytes string> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
node | <Block Node: body. Contents: [<TextNode: u'\n'>]> |
self | [<django.template.defaulttags.LoadNode object at 0x7f0105ecdc90>, <TextNode: u'\n'>, <django.template.defaulttags.LoadNode object at 0x7f0105ecd690>, <TextNode: u'\n<!doctype html>\n<html la'>, <Block Node: title. Contents: [<django.templatetags.i18n.TranslateNode object at 0x7f0105ecdd90>]>, <TextNode: u'</title>\n <meta http-e'>, <django.templatetags.static.StaticNode object at 0x7f0105ecd910>, <TextNode: u'?v=3" sizes="32x32" />\n '>, <django.templatetags.static.StaticNode object at 0x7f0105ecdd50>, <TextNode: u'?v=3" sizes="16x16" />\n '>, <Block Node: description. Contents: [<django.templatetags.i18n.TranslateNode object at 0x7f0105ecd050>]>, <TextNode: u'">\n <meta name="facebo'>, <Block Node: rel_canonical. Contents: []>, <TextNode: u'\n '>, <Block Node: meta_tags. Contents: [<TextNode: u'\n <meta property="'>, <Block Node: og_url. Contents: [<TextNode: u'https://concept.kg'>]>, <TextNode: u'" />\n <meta proper'>, <Block Node: og_title. Contents: [<django.templatetags.i18n.TranslateNode object at 0x7f0105ecdcd0>]>, <TextNode: u'" />\n <meta proper'>, <Block Node: og_description. Contents: [<django.templatetags.i18n.TranslateNode object at 0x7f0105ecda50>]>, <TextNode: u'" />\n <meta proper'>, <Block Node: og_image. Contents: [<IfNode>, <Variable Node: request.get_host>, <django.templatetags.static.StaticNode object at 0x7f0105ecddd0>]>, <TextNode: u'" />\n '>]>, <TextNode: u'\n '>, <Block Node: additional_meta. Contents: []>, <TextNode: u"\n\n <link href='https:/">, <compressor.templatetags.compress.CompressorNode object at 0x7f01069e1850>, <TextNode: u'\n '>, <Block Node: extra_css. Contents: []>, <TextNode: u'\n '>, <IfNode>, <TextNode: u'\n</head>\n<body class="kc-'>, <Block Node: header. Contents: [<TextNode: u'\n'>]>, <TextNode: u'\n\n'>, <Block Node: body. Contents: [<TextNode: u'\n'>]>, <TextNode: u'\n\n'>, <Block Node: footer. Contents: [<TextNode: u'\n'>]>, <TextNode: u'\n\n'>, <Block Node: go_top. Contents: [<TextNode: u'\n <div id="div_go-top-'>]>, <TextNode: u'\n'>, <compressor.templatetags.compress.CompressorNode object at 0x7f0107982a50>, <TextNode: u'\n'>, <compressor.templatetags.compress.CompressorNode object at 0x7f0107982390>, <TextNode: u'\n\n\n'>, <Block Node: extra_js. Contents: [<TextNode: u"\n <script type='text/j">]>, <TextNode: u"\n<script type='text/javas">, <django.template.defaulttags.URLNode object at 0x7f0106984650>, <TextNode: u'",\n data: {"em'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106984390>, <TextNode: u'");\n }else{\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0106984a90>, <TextNode: u'");\n }\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0106984b90>, <TextNode: u'");\n });\n });\n\n'>, <django.template.defaulttags.URLNode object at 0x7f0106984990>, <TextNode: u'",\n data: {"em'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106707690>, <TextNode: u'");\n }else{\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0106707f90>, <TextNode: u'");\n }\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0106707550>, <TextNode: u'");\n });\n\n });\n'>, <django.template.defaulttags.URLNode object at 0x7f0106707950>, <TextNode: u'",\n data: {"ph'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106707c90>, <TextNode: u'");\n callback_'>, <TextNode: u'\n <!-- BEGIN JIVOSITE '>, <TextNode: u'\n\n var SEO_TEXT_MORE ='>, <django.templatetags.i18n.TranslateNode object at 0x7f0106707790>, <TextNode: u"';\n var SEO_TEXT_LESS ">, <django.templatetags.i18n.TranslateNode object at 0x7f0106707bd0>, <TextNode: u"';\n $('.seo-text-more'">] |
/home/concept/.virtualenvs/concept/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.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
e | ValueError("The 'image' attribute has no file associated with it.",) |
self | <Block Node: body. Contents: [<TextNode: u'\n'>]> |
/home/concept/.virtualenvs/concept/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 |
---|---|
block | <Block Node: body. Contents: [<TextNode: u'\n <!-- Begin of Trp he'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0bf90>, <TextNode: u'</h1>\n </d'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0b4d0>, <TextNode: u'" data-content="'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0b250>, <TextNode: u'">\n <span class='>, <django.templatetags.static.StaticNode object at 0x7f0106c0bc90>, <TextNode: u'" alt="">\n </spa'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0be90>, <TextNode: u'</span>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0bf10>, <TextNode: u'" data-content="'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0ba90>, <TextNode: u'">\n <span class='>, <django.templatetags.static.StaticNode object at 0x7f0106c0b490>, <TextNode: u'" alt="">\n </spa'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0b910>, <TextNode: u'</span>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0b510>, <TextNode: u'" data-content="'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0b790>, <TextNode: u'">\n <span class='>, <django.templatetags.static.StaticNode object at 0x7f0106c0be50>, <TextNode: u'" alt="">\n </spa'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0b1d0>, <TextNode: u'</span>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0be10>, <TextNode: u'" data-content="'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4ed0>, <TextNode: u'">\n <span class='>, <django.templatetags.static.StaticNode object at 0x7f01071e4f10>, <TextNode: u'" alt="">\n </spa'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4350>, <TextNode: u'</span>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4910>, <TextNode: u'" data-content="'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4f90>, <TextNode: u'">\n <span class='>, <django.templatetags.static.StaticNode object at 0x7f01071e4e90>, <TextNode: u'" alt="">\n </spa'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4a90>, <TextNode: u'</span>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4110>, <TextNode: u'" data-content="'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e45d0>, <TextNode: u'">\n <span class='>, <django.templatetags.static.StaticNode object at 0x7f01071e4d90>, <TextNode: u'" alt="">\n </spa'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4b10>, <TextNode: u'</span>\n '>, <django.template.loader_tags.IncludeNode object at 0x7f01071e4ad0>, <TextNode: u'\n\n\n <section class="kc'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e47d0>, <TextNode: u'</h2>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4d10>, <TextNode: u'</h4>\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f01071e4c10>, <TextNode: u'\n <div'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4150>, <TextNode: u'</h2>\n </d'>, <For Node: for item in latest_news, tail_len: 13>, <TextNode: u'\n </div>\n\n '>, <django.template.defaulttags.URLNode object at 0x7f010685b5d0>, <TextNode: u'" class="btn btn-outline-'>, <django.templatetags.i18n.TranslateNode object at 0x7f01060e2a50>, <TextNode: u'<i class="cs-arrow-right"'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f01060e22d0> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
push | <Block Node: body. Contents: [<TextNode: u'\n <!-- Begin of Trp he'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0bf90>, <TextNode: u'</h1>\n </d'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0b4d0>, <TextNode: u'" data-content="'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0b250>, <TextNode: u'">\n <span class='>, <django.templatetags.static.StaticNode object at 0x7f0106c0bc90>, <TextNode: u'" alt="">\n </spa'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0be90>, <TextNode: u'</span>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0bf10>, <TextNode: u'" data-content="'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0ba90>, <TextNode: u'">\n <span class='>, <django.templatetags.static.StaticNode object at 0x7f0106c0b490>, <TextNode: u'" alt="">\n </spa'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0b910>, <TextNode: u'</span>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0b510>, <TextNode: u'" data-content="'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0b790>, <TextNode: u'">\n <span class='>, <django.templatetags.static.StaticNode object at 0x7f0106c0be50>, <TextNode: u'" alt="">\n </spa'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0b1d0>, <TextNode: u'</span>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0be10>, <TextNode: u'" data-content="'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4ed0>, <TextNode: u'">\n <span class='>, <django.templatetags.static.StaticNode object at 0x7f01071e4f10>, <TextNode: u'" alt="">\n </spa'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4350>, <TextNode: u'</span>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4910>, <TextNode: u'" data-content="'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4f90>, <TextNode: u'">\n <span class='>, <django.templatetags.static.StaticNode object at 0x7f01071e4e90>, <TextNode: u'" alt="">\n </spa'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4a90>, <TextNode: u'</span>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4110>, <TextNode: u'" data-content="'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e45d0>, <TextNode: u'">\n <span class='>, <django.templatetags.static.StaticNode object at 0x7f01071e4d90>, <TextNode: u'" alt="">\n </spa'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4b10>, <TextNode: u'</span>\n '>, <django.template.loader_tags.IncludeNode object at 0x7f01071e4ad0>, <TextNode: u'\n\n\n <section class="kc'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e47d0>, <TextNode: u'</h2>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4d10>, <TextNode: u'</h4>\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f01071e4c10>, <TextNode: u'\n <div'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4150>, <TextNode: u'</h2>\n </d'>, <For Node: for item in latest_news, tail_len: 13>, <TextNode: u'\n </div>\n\n '>, <django.template.defaulttags.URLNode object at 0x7f010685b5d0>, <TextNode: u'" class="btn btn-outline-'>, <django.templatetags.i18n.TranslateNode object at 0x7f01060e2a50>, <TextNode: u'<i class="cs-arrow-right"'>]> |
self | <Block Node: body. Contents: [<TextNode: u'\n'>]> |
/home/concept/.virtualenvs/concept/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 |
---|---|
bit | u'</h2>\n </div>\n </div>\n\n <div class="row">\n ' |
bits | [u'\n <!-- Begin of Trp hero -->\n <section class="kc-subscribe-hero">\n <div class="container">\n <div class="row">\n <div class="col-xs-12 text-center">\n <h1>', u'\u041d\u0430\u0448\u0430 \u0440\u0430\u0441\u0441\u044b\u043b\u043a\u0430 \u044d\u0442\u043e', u'</h1>\n </div>\n </div>\n <div class="row">\n <div class="col-md-2 col-sm-3 col-xs-6">\n <a class="kc-subscribe-hero-item" tabindex="0" data-toggle="popover" data-trigger="focus" data-placement="bottom" title="', u'4 \u043f\u0438\u0441\u044c\u043c\u0430 \u0432 \u043c\u0435\u0441\u044f\u0446', u'" data-content="', u'\u0412\u0441\u0435\u0433\u043e 1 \u0440\u0430\u0437 \u0432 \u043d\u0435\u0434\u0435\u043b\u044e, \u043a\u0430\u0436\u0434\u044b\u0439 \u0447\u0435\u0442\u0432\u0435\u0440\u0433 \u043c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c 1 \u043f\u0438\u0441\u044c\u043c\u043e. \u0425\u043e\u0442\u0438\u0442\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u0430\u043b\u044c\u043d\u043e \u0443\u0437\u043d\u0430\u0432\u0430\u0442\u044c \u043e \u0432\u0441\u0435\u0445 \u043d\u0430\u0448\u0438\u0445 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445? \u0422\u043e\u0433\u0434\u0430 \u043f\u043e\u0434\u043f\u0438\u0441\u044b\u0432\u0430\u0439\u0442\u0435\u0441\u044c \u043d\u0430 \u043d\u0430\u0441 \u0432 \u0441\u043e\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0435\u0442\u044f\u0445 \u0438\u043b\u0438 \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u043e \u0441\u0432\u043e\u0438\u0445 \u043f\u043e\u0436\u0435\u043b\u0430\u043d\u0438\u044f\u0445 \u043d\u0438\u0436\u0435, \u043c\u044b \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430\u0439\u0434\u0435\u043c \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u0434\u043b\u044f \u0432\u0430\u0441 \u0441\u043f\u043e\u0441\u043e\u0431 \u0441\u0432\u044f\u0437\u0438', u'">\n <span class="kc-subscribe-hero-item--icon">\n <img src="', u'/static/images/icons/subscribe/mail.svg', u'" alt="">\n </span>\n <span class="kc-subscribe-hero-item--text">', u'4 \u043f\u0438\u0441\u044c\u043c\u0430 \u0432 \u043c\u0435\u0441\u044f\u0446', u'</span>\n </a>\n </div>\n <div class="col-md-2 col-sm-3 col-xs-6">\n <a class="kc-subscribe-hero-item" tabindex="0" data-toggle="popover" data-trigger="focus" data-placement="bottom" title="', u'\u0410\u0444\u0438\u0448\u0430', u'" data-content="', u'\u0414\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043f\u0438\u0441\u044c\u043c\u0430 \u043d\u0430\u0448\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u043f\u043e\u0434\u0431\u0438\u0440\u0430\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u0435 \u0438 \u043f\u043e\u0437\u043d\u0430\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u044f \u043d\u0430 \u043f\u0440\u0435\u0434\u0441\u0442\u043e\u044f\u0449\u0443\u044e \u043d\u0435\u0434\u0435\u043b\u044e \u0432 \u0411\u0438\u0448\u043a\u0435\u043a\u0435', u'">\n <span class="kc-subscribe-hero-item--icon">\n <img src="', u'/static/images/icons/subscribe/events.svg', u'" alt="">\n </span>\n <span class="kc-subscribe-hero-item--text">', u'\u0410\u0444\u0438\u0448\u0430', u'</span>\n </a>\n </div>\n <div class="col-md-2 col-sm-3 col-xs-6">\n <a class="kc-subscribe-hero-item" tabindex="0" data-toggle="popover" data-trigger="focus" data-placement="bottom" title="', u'\u0421\u043e\u0432\u0435\u0442\u044b \u043f\u0443\u0442\u0435\u0448\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u0438\u043a\u0430\u043c', u'" data-content="', u'\u041f\u043e\u043b\u0435\u0437\u043d\u044b\u0435 \u0441\u043e\u0432\u0435\u0442\u044b \u043e\u0442 \u043d\u0430\u0448\u0438\u0445 \u044d\u... <trimmed 16529 bytes string> |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
node | <For Node: for item in latest_news, tail_len: 13> |
self | [<TextNode: u'\n <!-- Begin of Trp he'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0bf90>, <TextNode: u'</h1>\n </d'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0b4d0>, <TextNode: u'" data-content="'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0b250>, <TextNode: u'">\n <span class='>, <django.templatetags.static.StaticNode object at 0x7f0106c0bc90>, <TextNode: u'" alt="">\n </spa'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0be90>, <TextNode: u'</span>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0bf10>, <TextNode: u'" data-content="'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0ba90>, <TextNode: u'">\n <span class='>, <django.templatetags.static.StaticNode object at 0x7f0106c0b490>, <TextNode: u'" alt="">\n </spa'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0b910>, <TextNode: u'</span>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0b510>, <TextNode: u'" data-content="'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0b790>, <TextNode: u'">\n <span class='>, <django.templatetags.static.StaticNode object at 0x7f0106c0be50>, <TextNode: u'" alt="">\n </spa'>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0b1d0>, <TextNode: u'</span>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f0106c0be10>, <TextNode: u'" data-content="'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4ed0>, <TextNode: u'">\n <span class='>, <django.templatetags.static.StaticNode object at 0x7f01071e4f10>, <TextNode: u'" alt="">\n </spa'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4350>, <TextNode: u'</span>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4910>, <TextNode: u'" data-content="'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4f90>, <TextNode: u'">\n <span class='>, <django.templatetags.static.StaticNode object at 0x7f01071e4e90>, <TextNode: u'" alt="">\n </spa'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4a90>, <TextNode: u'</span>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4110>, <TextNode: u'" data-content="'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e45d0>, <TextNode: u'">\n <span class='>, <django.templatetags.static.StaticNode object at 0x7f01071e4d90>, <TextNode: u'" alt="">\n </spa'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4b10>, <TextNode: u'</span>\n '>, <django.template.loader_tags.IncludeNode object at 0x7f01071e4ad0>, <TextNode: u'\n\n\n <section class="kc'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e47d0>, <TextNode: u'</h2>\n '>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4d10>, <TextNode: u'</h4>\n </d'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f01071e4c10>, <TextNode: u'\n <div'>, <django.templatetags.i18n.TranslateNode object at 0x7f01071e4150>, <TextNode: u'</h2>\n </d'>, <For Node: for item in latest_news, tail_len: 13>, <TextNode: u'\n </div>\n\n '>, <django.template.defaulttags.URLNode object at 0x7f010685b5d0>, <TextNode: u'" class="btn btn-outline-'>, <django.templatetags.i18n.TranslateNode object at 0x7f01060e2a50>, <TextNode: u'<i class="cs-arrow-right"'>] |
/home/concept/.virtualenvs/concept/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.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
e | ValueError("The 'image' attribute has no file associated with it.",) |
self | <For Node: for item in latest_news, tail_len: 13> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
unpacked_vars = dict(zip(self.loopvars, item))
pop_context = True
context.update(unpacked_vars)
else:
context[self.loopvars[0]] = item
for node in self.nodelist_loop:
nodelist.append(node.render_annotated(context))...
if pop_context:
# The loop variables were pushed on to the context so pop them
# off again. This is necessary because the tag lets the length
# of loopvars differ to the length of each set of items and we
# don't want to leave any vars from the previous loop on the
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
i | 1 |
item | <News: Выставка Образования за Рубежом 2023!> |
len_values | 3 |
loop_dict | {u'counter': 2, u'counter0': 1, u'first': False, u'last': False, u'parentloop': {}, u'revcounter': 2, u'revcounter0': 1} |
node | <Variable Node: item.image.url> |
nodelist | [u'\n <div class="col-md-4 col-sm-6 col-xs-12">\n <a href="', u'/news/2/', u'" class="panel-news-detailed">\n <span class="img-wrapper">\n <img src="', u'/media/news/2016/10/%D0%91%D0%B5%D0%B7%D1%8B%D0%BC%D1%8F%D0%BD%D0%BD%D1%8B%D0%B8-9-01-01.jpg', u'" alt="', u'\u041a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0438\u0439 \u043a\u0443\u0440\u0441', u'">\n <span class="news-date">', u'28 \u043c\u0430\u0440\u0442\u0430 2024 \u0433. 9:12', u'</span>\n </span>\n <span class="news-type">', u'', u'</span>\n <span class="news-title">', u'\u041a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0438\u0439 \u043a\u0443\u0440\u0441', u'</span>\n </a>\n </div>\n ', u'\n <div class="col-md-4 col-sm-6 col-xs-12">\n <a href="', u'/news/445/', u'" class="panel-news-detailed">\n <span class="img-wrapper">\n <img src="'] |
num_loopvars | 1 |
parentloop | {} |
pop_context | False |
self | <For Node: for item in latest_news, tail_len: 13> |
unpack | False |
values | <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]> |
/home/concept/.virtualenvs/concept/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.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
e | ValueError("The 'image' attribute has no file associated with it.",) |
self | <Variable Node: item.image.url> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/template/base.py
in render
self.filter_expression = filter_expression
def __repr__(self):
return "<Variable Node: %s>" % self.filter_expression
def render(self, context):
try:
output = self.filter_expression.resolve(context)...
except UnicodeDecodeError:
# Unicode conversion can fail sometimes for reasons out of our
# control (e.g. exception rendering). In that case, we fail
# quietly.
return ''
return render_value_in_context(output, context)
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
self | <Variable Node: item.image.url> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/template/base.py
in resolve
self.filters = filters
self.var = var_obj
def resolve(self, context, ignore_failures=False):
if isinstance(self.var, Variable):
try:
obj = self.var.resolve(context)...
except VariableDoesNotExist:
if ignore_failures:
obj = None
else:
string_if_invalid = context.template.engine.string_if_invalid
if string_if_invalid:
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
ignore_failures | False |
self | <django.template.base.FilterExpression object at 0x7f010cddd990> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/template/base.py
in resolve
var)
self.lookups = tuple(var.split(VARIABLE_ATTRIBUTE_SEPARATOR))
def resolve(self, context):
"""Resolve this variable against a given context."""
if self.lookups is not None:
# We're dealing with a variable that needs to be resolved
value = self._resolve_lookup(context)...
else:
# We're dealing with a literal, so it's already been "resolved"
value = self.literal
if self.translate:
is_safe = isinstance(value, SafeData)
msgid = value.replace('%', '%%')
Variable | Value |
---|---|
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
self | <Variable: u'item.image.url'> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/template/base.py
in _resolve_lookup
# ValueError/IndexError are for numpy.array lookup on
# numpy < 1.9 and 1.9+ respectively
except (TypeError, AttributeError, KeyError, ValueError, IndexError):
try: # attribute lookup
# Don't return class attributes if the class is the context:
if isinstance(current, BaseContext) and getattr(type(current), bit):
raise AttributeError
current = getattr(current, bit)...
except (TypeError, AttributeError):
# Reraise if the exception was raised by a @property
if not isinstance(current, BaseContext) and bit in dir(current):
raise
try: # list-index lookup
current = current[int(bit)]
Variable | Value |
---|---|
bit | u'url' |
context | [{'False': False, 'None': None, 'True': True}, {}, {}, {'latest_news': <MultilingualQuerySet [<News: Коммерческий курс>, <News: Выставка Образования за Рубежом 2023!>, <News: Бизнес-тур в Сингапур с 24 по 30 сентября!>]>, 'subscribe_form': <SubscribeForm bound=False, valid=Unknown, fields=(email)>, 'request': <WSGIRequest: GET '/subscribe/'>, 'compressed': {'name': None}, 'feedback_form': <FeedbackForm bound=False, valid=Unknown, fields=(name;phone_email;comment)>}] |
current | <ImageFieldFile: None> |
e | ValueError("The 'image' attribute has no file associated with it.",) |
self | <Variable: u'item.image.url'> |
template_name | 'base/subscribe.html' |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/db/models/fields/files.py
in url
@property
def path(self):
self._require_file()
return self.storage.path(self.name)
@property
def url(self):
self._require_file()...
return self.storage.url(self.name)
@property
def size(self):
self._require_file()
if not self._committed:
Variable | Value |
---|---|
self | <ImageFieldFile: None> |
/home/concept/.virtualenvs/concept/local/lib/python2.7/site-packages/django/db/models/fields/files.py
in _require_file
# The standard File contains most of the necessary properties, but
# FieldFiles can be instantiated without a name, so that needs to
# be checked for here.
def _require_file(self):
if not self:
raise ValueError("The '%s' attribute has no file associated with it." % self.field.name)...
def _get_file(self):
self._require_file()
if not hasattr(self, '_file') or self._file is None:
self._file = self.storage.open(self.name, 'rb')
return self._file
Variable | Value |
---|---|
self | <ImageFieldFile: None> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTENT_LENGTH | '' |
CONTENT_TYPE | '' |
CSRF_COOKIE | u'k0A8kMTTlsWN401jL6BHB5qE89z4jUNs5PM9yc8Xr8f68mvEdMw6js5JxR89GjSl' |
CSRF_COOKIE_USED | True |
DOCUMENT_ROOT | '/usr/share/nginx/html' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'concept.kg' |
HTTP_REFERER | 'https://concept.kg/ru/subscribe/' |
HTTP_USER_AGENT | 'claudebot' |
PATH_INFO | u'/subscribe/' |
QUERY_STRING | '' |
REMOTE_ADDR | '54.144.81.21' |
REMOTE_PORT | '57048' |
REQUEST_METHOD | 'GET' |
REQUEST_URI | '/subscribe/' |
SCRIPT_NAME | u'' |
SERVER_NAME | 'concept.kg' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
UWSGI_SCHEME | 'https' |
uwsgi.node | 'concept.kg' |
uwsgi.version | '2.0.10' |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x7f010fb75f60> |
wsgi.file_wrapper | '' |
wsgi.input | <uwsgi._Input object at 0x7f010741ffc0> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
project.settings.settings_local
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ACCOUNT_AUTHENTICATION_METHOD | 'email' |
ACCOUNT_USER_MODEL_USERNAME_FIELD | None |
ADMINS | [] |
ALLOWED_HOSTS | ['.concept.kg'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | [u'django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | u'********************' |
AUTH_USER_MODEL | 'profiles.KCUser' |
BASE_DIR | '/home/concept/.virtualenvs/concept/concept.kg/project' |
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 |
COMPRESS_CACHEABLE_PRECOMPILERS | () |
COMPRESS_CACHE_BACKEND | u'default' |
COMPRESS_CACHE_KEY_FUNCTION | u'********************' |
COMPRESS_CLEAN_CSS_ARGUMENTS | u'' |
COMPRESS_CLEAN_CSS_BINARY | u'cleancss' |
COMPRESS_CLOSURE_COMPILER_ARGUMENTS | u'' |
COMPRESS_CLOSURE_COMPILER_BINARY | u'java -jar compiler.jar' |
COMPRESS_CSS_COMPRESSOR | u'compressor.css.CssCompressor' |
COMPRESS_CSS_FILTERS | [u'compressor.filters.css_default.CssAbsoluteFilter'] |
COMPRESS_CSS_HASHING_METHOD | u'mtime' |
COMPRESS_DATA_URI_MAX_SIZE | 1024 |
COMPRESS_DEBUG_TOGGLE | None |
COMPRESS_ENABLED | True |
COMPRESS_JINJA2_GET_ENVIRONMENT | <function JINJA2_GET_ENVIRONMENT at 0x7f010ff49848> |
COMPRESS_JS_COMPRESSOR | u'compressor.js.JsCompressor' |
COMPRESS_JS_FILTERS | [u'compressor.filters.jsmin.JSMinFilter'] |
COMPRESS_MINT_DELAY | 30 |
COMPRESS_MTIME_DELAY | 10 |
COMPRESS_OFFLINE | False |
COMPRESS_OFFLINE_CONTEXT | {u'STATIC_URL': '/static/'} |
COMPRESS_OFFLINE_MANIFEST | u'manifest.json' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
COMPRESS_OUTPUT_DIR | u'CACHE' |
COMPRESS_PARSER | u'compressor.parser.AutoSelectParser' |
COMPRESS_PRECOMPILERS | () |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
COMPRESS_ROOT | '/home/concept/.virtualenvs/concept/concept.kg/assets' |
COMPRESS_STORAGE | u'compressor.storage.CompressorFileStorage' |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {u'STATIC_URL': '/static/'} |
COMPRESS_URL | '/static/' |
COMPRESS_VERBOSE | False |
COMPRESS_YUGLIFY_BINARY | u'yuglify' |
COMPRESS_YUGLIFY_CSS_ARGUMENTS | u'--terminal' |
COMPRESS_YUGLIFY_JS_ARGUMENTS | u'--terminal' |
COMPRESS_YUI_BINARY | u'java -jar yuicompressor.jar' |
COMPRESS_YUI_CSS_ARGUMENTS | u'' |
COMPRESS_YUI_JS_ARGUMENTS | u'' |
CRISPY_TEMPLATE_PACK | 'bootstrap3' |
CSE_ID | '010469371847685056235:cltontutc_a' |
CSE_KEY | u'********************' |
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': 'localhost', 'NAME': 'concept', 'OPTIONS': {'init_command': 'SET foreign_key_checks = 0;'}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'root'}} |
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'' |
DEMIR_BANK_CLIENT_ID | '170000005' |
DEMIR_BANK_CLIENT_MODEL_NAME | 'Client' |
DEMIR_BANK_CLIENT_MODEL_PATH | 'client.models' |
DEMIR_BANK_CLIENT_MODEL_SEARCH_FIELD | 'phone_number' |
DEMIR_BANK_CLIENT_MODEL_UPDATE_BALANCE_METHOD_NAME | 'update_balance_demirbank' |
DEMIR_BANK_CURRENCY_CODE | 417 |
DEMIR_BANK_FAIL_URL | 'http://concept.kg/ru/payment/pay_fail/' |
DEMIR_BANK_INSTALMENT | '' |
DEMIR_BANK_LANG | 'ru' |
DEMIR_BANK_OK_URL | 'http://concept.kg/ru/payment/pay_success/' |
DEMIR_BANK_PAY_ACTION_URL | 'https://entegrasyon.asseco-see.com.tr/fim/est3Dgate' |
DEMIR_BANK_STORE_KEY | u'********************' |
DEMIR_BANK_STORE_TYPE | '3d_Pay_Hosting' |
DEMIR_BANK_TRANSACTION_TYPE | 'Auth' |
DEV | False |
DISALLOWED_USER_AGENTS | [] |
DJANGO_APPS | ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sitemaps', 'django.contrib.sites') |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.gmail.com' |
EMAIL_HOST_PASSWORD | u'********************' |
EMAIL_HOST_USER | 'kcsite@concept.kg' |
EMAIL_PORT | 465 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | u'********************' |
EMAIL_SUBJECT_PREFIX | u'[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | True |
EMAIL_USE_TLS | False |
EXTRA_LANG_INFO | {'kg': {'bidi': False, 'code': 'kg', 'name': 'Kyrgyz', 'name_local': u'\u041a\u044b\u0440\u0433\u044b\u0437 \u0442\u0438\u043b', u'name_translated': u'\u041a\u044b\u0440\u0433\u044b\u0437\u0441\u043a\u0438\u0439'}} |
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 | ('modeltranslation', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sitemaps', 'django.contrib.sites', 'apps.base.apps.BaseConfig', 'client', 'contacts', 'demirbank', 'icon', 'tour', 'vacancy', 'profiles', 'taggit', 'news', 'mice', 'testing', 'trp', 'guests', 'visa', 'flights', 'insurance', 'hotel', 'travelsim', 'academy', 'corporate_management', 'redactor', 'crispy_forms', 'django_filters', 'django_countries', 'rosetta', 'location_field', 'xhtml2pdf', 'autocomplete_light', 'compressor', 'colorful', 'sorl.thumbnail', 'el_pagination') |
INTERNAL_IPS | [] |
LANGUAGES | (('ru', 'Russian'), ('en', 'English'), ('kg', 'Kyrgyz')) |
LANGUAGES_BIDI | [u'he', u'ar', u'fa', u'ur'] |
LANGUAGE_CODE | 'ru' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | u'django_language' |
LANGUAGE_COOKIE_PATH | u'/' |
LANG_INFO | {u'af': {u'bidi': False, u'code': u'af', u'name': u'Afrikaans', u'name_local': u'Afrikaans'}, u'ar': {u'bidi': True, u'code': u'ar', u'name': u'Arabic', u'name_local': u'\u0627\u0644\u0639\u0631\u0628\u064a\u0651\u0629'}, u'ast': {u'bidi': False, u'code': u'ast', u'name': u'Asturian', u'name_local': u'asturianu'}, u'az': {u'bidi': True, u'code': u'az', u'name': u'Azerbaijani', u'name_local': u'Az\u0259rbaycanca'}, u'be': {u'bidi': False, u'code': u'be', u'name': u'Belarusian', u'name_local': u'\u0431\u0435\u043b\u0430\u0440\u0443\u0441\u043a\u0430\u044f'}, u'bg': {u'bidi': False, u'code': u'bg', u'name': u'Bulgarian', u'name_local': u'\u0431\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438'}, u'bn': {u'bidi': False, u'code': u'bn', u'name': u'Bengali', u'name_local': u'\u09ac\u09be\u0982\u09b2\u09be'}, u'br': {u'bidi': False, u'code': u'br', u'name': u'Breton', u'name_local': u'brezhoneg'}, u'bs': {u'bidi': False, u'code': u'bs', u'name': u'Bosnian', u'name_local': u'bosanski'}, u'ca': {u'bidi': False, u'code': u'ca', u'name': u'Catalan', u'name_local': u'catal\xe0'}, u'cs': {u'bidi': False, u'code': u'cs', u'name': u'Czech', u'name_local': u'\u010desky'}, u'cy': {u'bidi': False, u'code': u'cy', u'name': u'Welsh', u'name_local': u'Cymraeg'}, u'da': {u'bidi': False, u'code': u'da', u'name': u'Danish', u'name_local': u'dansk'}, u'de': {u'bidi': False, u'code': u'de', u'name': u'German', u'name_local': u'Deutsch'}, u'dsb': {u'bidi': False, u'code': u'dsb', u'name': u'Lower Sorbian', u'name_local': u'dolnoserbski'}, u'el': {u'bidi': False, u'code': u'el', u'name': u'Greek', u'name_local': u'\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac'}, u'en': {u'bidi': False, u'code': u'en', u'name': u'English', u'name_local': u'English', u'name_translated': u'\u0410\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u0438\u0439'}, u'en-au': {u'bidi': False, u'code': u'en-au', u'name': u'Australian English', u'name_local': u'Australian English'}, u'en-gb': {u'bidi': False, u'code': u'en-gb', u'name': u'British English', u'name_local': u'British English'}, u'eo': {u'bidi': False, u'code': u'eo', u'name': u'Esperanto', u'name_local': u'Esperanto'}, u'es': {u'bidi': False, u'code': u'es', u'name': u'Spanish', u'name_local': u'espa\xf1ol'}, u'es-ar': {u'bidi': False, u'code': u'es-ar', u'name': u'Argentinian Spanish', u'name_local': u'espa\xf1ol de Argentina'}, u'es-co': {u'bidi': False, u'code': u'es-co', u'name': u'Colombian Spanish', u'name_local': u'espa\xf1ol de Colombia'}, u'es-mx': {u'bidi': False, u'code': u'es-mx', u'name': u'Mexican Spanish', u'name_local': u'espa\xf1ol de Mexico'}, u'es-ni': {u'bidi': False, u'code': u'es-ni', u'name': u'Nicaraguan Spanish', u'name_local': u'espa\xf1ol de Nicaragua'}, u'es-ve': {u'bidi': False, u'code': u'es-ve', u'name': u'Venezuelan Spanish', u'name_local': u'espa\xf1ol de Venezuela'}, u'et': {u'bidi': False, u'code': u'et', u'name': u'Estonian', u'name_local': u'eesti'}, u'eu': {u'bidi': False, u'code': u'eu', u'name': u'Basque', u'name_local': u'Basque'}, u'fa': {u'bidi': True, u'code': u'fa', u'name': u'Persian', u'name_local': u'\u0641\u0627\u0631\u0633\u06cc'}, u'fi': {u'bidi': False, u'code': u'fi', u'name': u'Finnish', u'name_local': u'suomi'}, u'fr': {u'bidi': False, u'code': u'fr', u'name': u'French', u'name_local': u'fran\xe7ais'}, u'fy': {u'bidi': False, u'code': u'fy', u'name': u'Frisian', u'name_local': u'frysk'}, u'ga': {u'bidi': False, u'code': u'ga', u'name': u'Irish', u'name_local': u'Gaeilge'}, u'gd': {u'bidi': False, u'code': u'gd', u'name': u'Scottish Gaelic', u'name_local': u'G\xe0idhlig'}, u'gl': {u'bidi': False, u'code': u'gl', u'name': u'Galician', u'name_local': u'galego'}, u'he': {u'bidi': True, u'code': u'he', u'name': u'Hebrew', u'name_local': u'\u05e2\u05d1\u05e8\u05d9\u05ea'}, u'hi': {u'bidi': False, u'code': u'hi', u'name': u'Hindi', u'name_local': u'Hindi'}, u'hr': {u'bidi': False, u'code': u'hr', u'name': u'Croatian', u'name_local': u'Hrvatski'}, u'hsb': {u'bidi': False, u'code': u'hsb', u'name': u'Upper Sorbian', u'name_local': u'hornjoserbsce'}, u'hu': {u'bidi': False, u'code': u'hu', u'name': u'Hungarian', u'name_local': u'Magyar'}, u'ia': {u'bidi': False, u'code': u'ia', u'name': u'Interlingua', u'name_local': u'Interlingua'}, u'id': {u'bidi': False, u'code': u'id', u'name': u'Indonesian', u'name_local': u'Bahasa Indonesia'}, u'io': {u'bidi': False, u'code': u'io', u'name': u'Ido', u'name_local': u'ido'}, u'is': {u'bidi': False, u'code': u'is', u'name': u'Icelandic', u'name_local': u'\xcdslenska'}, u'it': {u'bidi': False, u'code': u'it', u'name': u'Italian', u'name_local': u'italiano'}, u'ja': {u'bidi': False, u'code': u'ja', u'name': u'Japanese', u'name_local': u'\u65e5\u672c\u8a9e'}, u'ka': {u'bidi': False, u'code': u'ka', u'name': u'Georgian', u'name_local': u'\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8'}, 'kg': {'bidi': False, 'code': 'kg', 'name': 'Kyrgyz', 'name_local': u'\u041a\u044b\u0440\u0433\u044b\u0437 \u0442\u0438\u043b', u'name_translated': u'\u041a\u044b\u0440\u0433\u044b\u0437\u0441\u043a\u0438\u0439'}, u'kk': {u'bidi': False, u'code': u'kk', u'name': u'Kazakh', u'name_local': u'\u049a\u0430\u0437\u0430\u049b'}, u'km': {u'bidi': False, u'code': u'km', u'name': u'Khmer', u'name_local': u'Khmer'}, u'kn': {u'bidi': False, u'code': u'kn', u'name': u'Kannada', u'name_local': u'Kannada'}, u'ko': {u'bidi': False, u'code': u'ko', u'name': u'Korean', u'name_local': u'\ud55c\uad6d\uc5b4'}, u'lb': {u'bidi': False, u'code': u'lb', u'name': u'Luxembourgish', u'name_local': u'L\xebtzebuergesch'}, u'lt': {u'bidi': False, u'code': u'lt', u'name': u'Lithuanian', u'name_local': u'Lietuvi\u0161kai'}, u'lv': {u'bidi': False, u'code': u'lv', u'name': u'Latvian', u'name_local': u'latvie\u0161u'}, u'mk': {u'bidi': False, u'code': u'mk', u'name': u'Macedonian', u'name_local': u'\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438'}, u'ml': {u'bidi': False, u'code': u'ml', u'name': u'Malayalam', u'name_local': u'Malayalam'}, u'mn': {u'bidi': False, u'code': u'mn', u'name': u'Mongolian', u'name_local': u'Mongolian'}, u'mr': {u'bidi': False, u'code': u'mr', u'name': u'Marathi', u'name_local': u'\u092e\u0930\u093e\u0920\u0940'}, u'my': {u'bidi': False, u'code': u'my', u'name': u'Burmese', u'name_local': u'\u1019\u103c\u1014\u103a\u1019\u102c\u1018\u102c\u101e\u102c'}, u'nb': {u'bidi': False, u'code': u'nb', u'name': u'Norwegian Bokmal', u'name_local': u'norsk (bokm\xe5l)'}, u'ne': {u'bidi': False, u'code': u'ne', u'name': u'Nepali', u'name_local': u'\u0928\u0947\u092a\u093e\u0932\u0940'}, u'nl': {u'bidi': False, u'code': u'nl', u'name': u'Dutch', u'name_local': u'Nederlands'}, u'nn': {u'bidi': False, u'code': u'nn', u'name': u'Norwegian Nynorsk', u'name_local': u'norsk (nynorsk)'}, u'no': {u'bidi': False, u'code': u'no', u'name': u'Norwegian', u'name_local': u'norsk'}, u'os': {u'bidi': False, u'code': u'os', u'name': u'Ossetic', u'name_local': u'\u0418\u0440\u043e\u043d'}, u'pa': {u'bidi': False, u'code': u'pa', u'name': u'Punjabi', u'name_local': u'Punjabi'}, u'pl': {u'bidi': False, u'code': u'pl', u'name': u'Polish', u'name_local': u'polski'}, u'pt': {u'bidi': False, u'code': u'pt', u'name': u'Portuguese', u'name_local': u'Portugu\xeas'}, u'pt-br': {u'bidi': False, u'code': u'pt-br', u'name': u'Brazilian Portuguese', u'name_local': u'Portugu\xeas Brasileiro'}, u'ro': {u'bidi': False, u'code': u'ro', u'name': u'Romanian', u'name_local': u'Rom\xe2n\u0103'}, u'ru': {u'bidi': False, u'code': u'ru', u'name': u'Russian', u'name_local': u'\u0420\u0443\u0441\u0441\u043a\u0438\u0439', u'name_translated': u'\u0420\u0443\u0441\u0441\u043a\u0438\u0439'}, u'sk': {u'bidi': False, u'code': u'sk', u'name': u'Slovak', u'name_local': u'Slovensky'}, u'sl': {u'bidi': False, u'code': u'sl', u'name': u'Slovenian', u'name_local': u'Sloven\u0161\u010dina'}, u'sq': {u'bidi': False, u'code': u'sq', u'name': u'Albanian', u'name_local': u'shqip'}, u'sr': {u'bidi': False, u'code': u'sr', u'name': u'Serbian', u'name_local': u'\u0441\u0440\u043f\u0441\u043a\u0438'}, u'sr-latn': {u'bidi': False, u'code': u'sr-latn', u'name': u'Serbian Latin', u'name_local': u'srpski (latinica)'}, u'sv': {u'bidi': False, u'code': u'sv', u'name': u'Swedish', u'name_local': u'svenska'}, u'sw': {u'bidi': False, u'code': u'sw', u'name': u'Swahili', u'name_local': u'Kiswahili'}, u'ta': {u'bidi': False, u'code': u'ta', u'name': u'Tamil', u'name_local': u'\u0ba4\u0bae\u0bbf\u0bb4\u0bcd'}, u'te': {u'bidi': False, u'code': u'te', u'name': u'Telugu', u'name_local': u'\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41'}, u'th': {u'bidi': False, u'code': u'th', u'name': u'Thai', u'name_local': u'\u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22'}, u'tr': {u'bidi': False, u'code': u'tr', u'name': u'Turkish', u'name_local': u'T\xfcrk\xe7e'}, u'tt': {u'bidi': False, u'code': u'tt', u'name': u'Tatar', u'name_local': u'\u0422\u0430\u0442\u0430\u0440\u0447\u0430'}, u'udm': {u'bidi': False, u'code': u'udm', u'name': u'Udmurt', u'name_local': u'\u0423\u0434\u043c\u0443\u0440\u0442'}, u'uk': {u'bidi': False, u'code': u'uk', u'name': u'Ukrainian', u'name_local': u'\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430'}, u'ur': {u'bidi': True, u'code': u'ur', u'name': u'Urdu', u'name_local': u'\u0627\u0631\u062f\u0648'}, u'vi': {u'bidi': False, u'code': u'vi', u'name': u'Vietnamese', u'name_local': u'Ti\xea\u0301ng Vi\xea\u0323t'}, u'zh-cn': {u'fallback': [u'zh-hans']}, u'zh-hans': {u'bidi': False, u'code': u'zh-hans', u'name': u'Simplified Chinese', u'name_local': u'\u7b80\u4f53\u4e2d\u6587'}, u'zh-hant': {u'bidi': False, u'code': u'zh-hant', u'name': u'Traditional Chinese', u'name_local': u'\u7e41\u9ad4\u4e2d\u6587'}, u'zh-hk': {u'fallback': [u'zh-hant']}, u'zh-mo': {u'fallback': [u'zh-hant']}, u'zh-my': {u'fallback': [u'zh-hans']}, u'zh-sg': {u'fallback': [u'zh-hans']}, u'zh-tw': {u'fallback': [u'zh-hant']}} |
LOCALE_PATHS | ('/home/concept/.virtualenvs/concept/concept.kg/project/locale',) |
LOCAL_APPS | ('apps.base.apps.BaseConfig', 'client', 'contacts', 'demirbank', 'icon', 'tour', 'vacancy', 'profiles', 'taggit', 'news', 'mice', 'testing', 'trp', 'guests', 'visa', 'flights', 'insurance', 'hotel', 'travelsim', 'academy', 'corporate_management') |
LOGGING | {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}, 'require_debug_true': {'()': 'django.utils.log.RequireDebugTrue'}}, 'formatters': {'main_formatter': {'datefmt': '%Y-%m-%d %H:%M:%S', 'format': '%(levelname)s|%(name)s: %(message)s (%(asctime)s; %(filename)s:%(lineno)d)'}}, 'handlers': {'console': {'class': 'logging.StreamHandler', 'filters': ['require_debug_true'], 'formatter': 'main_formatter', 'level': 'DEBUG'}, 'debug_file': {'backupCount': 7, 'class': 'logging.handlers.RotatingFileHandler', 'filename': 'logs/main_debug.log', 'filters': ['require_debug_true'], 'formatter': 'main_formatter', 'level': 'DEBUG', 'maxBytes': 5242880}, 'null': {'class': 'logging.NullHandler'}, 'production_file': {'backupCount': 7, 'class': 'logging.handlers.RotatingFileHandler', 'filename': 'logs/main.log', 'filters': ['require_debug_false'], 'formatter': 'main_formatter', 'level': 'INFO', 'maxBytes': 5242880}}, 'loggers': {'': {'handlers': ['console', 'production_file', 'debug_file'], 'level': 'DEBUG'}, 'django': {'handlers': ['null']}, 'django.request': {'handlers': ['console'], 'level': 'ERROR', 'propagate': True}, 'py.warnings': {'handlers': ['null']}}, 'version': 1} |
LOGGING_CONFIG | u'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | u'/accounts/profile/' |
LOGIN_URL | Error in formatting: NoReverseMatch: Reverse for 'django.contrib.auth.views.login' not found. 'django.contrib.auth.views.login' is not a valid view function or pattern name. |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/home/concept/.virtualenvs/concept/concept.kg/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | u'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | None |
MIDDLEWARE_CLASSES | ('django.contrib.sessions.middleware.SessionMiddleware', 'solid_i18n.middleware.SolidLocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.middleware.cache.UpdateCacheMiddleware') |
MIGRATION_MODULES | {} |
MODELTRANSLATION_DEFAULT_LANGUAGE | 'ru' |
MONTH_DAY_FORMAT | u'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
PREPEND_WWW | False |
REDACTOR_OPTIONS | {'imagePosition': True, 'imageResizable': True, 'lang': 'en', 'plugins': ['source', 'alignment', 'table', 'video', 'fullscreen', 'fontcolor', 'fontsize']} |
ROOT_URLCONF | 'project.urls' |
ROSETTA_STORAGE_CLASS | 'rosetta.storage.SessionRosettaStorage' |
ROSETTA_UWSGI_AUTO_RELOAD | True |
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 | 'django.contrib.sessions.serializers.PickleSerializer' |
SETTINGS_MODULE | 'project.settings.settings_local' |
SHORT_DATETIME_FORMAT | u'm/d/Y P' |
SHORT_DATE_FORMAT | u'm/d/Y' |
SIGNING_BACKEND | u'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
SITE_NAME | 'project' |
SITE_ROOT | '/home/concept/.virtualenvs/concept/concept.kg' |
SOLID_I18N_DEFAULT_PREFIX_REDIRECT | True |
SOLID_I18N_USE_REDIRECTS | False |
STATICFILES_DIRS | ('/home/concept/.virtualenvs/concept/concept.kg/staticfiles',) |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'compressor.finders.CompressorFinder') |
STATICFILES_STORAGE | u'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/home/concept/.virtualenvs/concept/concept.kg/assets' |
STATIC_URL | '/static/' |
TEMPLATES | [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/concept/.virtualenvs/concept/concept.kg/templates'], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.media', 'django.template.context_processors.request', 'django.template.context_processors.i18n', 'django.template.context_processors.static', 'django.template.context_processors.csrf', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages', 'apps.base.context_processors.ip_address_processor'], 'loaders': ['admin_tools.template_loaders.Loader', 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader']}}] |
TEMPLATE_DEBUG | False |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | u'django.test.runner.DiscoverRunner' |
THIRD_PARTY_APPS | ('redactor', 'crispy_forms', 'django_filters', 'django_countries', 'rosetta', 'location_field', 'xhtml2pdf', 'autocomplete_light', 'compressor', 'colorful', 'sorl.thumbnail', 'el_pagination') |
THOUSAND_SEPARATOR | u',' |
TIME_FORMAT | u'P' |
TIME_INPUT_FORMATS | [u'%H:%M:%S', u'%H:%M:%S.%f', u'%H:%M'] |
TIME_ZONE | 'Asia/Bishkek' |
UNISENDER_API_KEY | u'********************' |
UNISENDER_LIST_ID | 5363938 |
UNISENDER_LIST_ID_EN | 8755447 |
UNISENDER_LIST_ID_KG | 8755499 |
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 | 'project.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.