Variable 'contact.photo' is an invalid source.
Request Method: | GET |
---|---|
Request URL: | https://nisarga.center/event/2018-04-29-geografiya-menya/form/ |
Django Version: | 1.11.17 |
Exception Type: | TemplateSyntaxError |
Exception Value: | Variable 'contact.photo' is an invalid source. |
Exception Location: | /home/ubuntu/nisarga/venv/lib/python3.7/site-packages/easy_thumbnails/templatetags/thumbnail.py in render, line 64 |
Python Executable: | /home/ubuntu/uwsgi-2.0.20/uwsgi |
Python Version: | 3.7.17 |
Python Path: | ['.', '', '/home/ubuntu/.pyenv/versions/3.7.17/lib/python37.zip', '/home/ubuntu/.pyenv/versions/3.7.17/lib/python3.7', '/home/ubuntu/.pyenv/versions/3.7.17/lib/python3.7/lib-dynload', '/home/ubuntu/nisarga/venv/lib/python3.7/site-packages'] |
Server time: | Чт, 28 Мар 2024 09:59:12 +0200 |
In template /home/ubuntu/nisarga/templates/base.html
, error at line 16
6 | <meta name="google-site-verification" content="RFWq2Ep6Xj4zp66sMAsr7x6xw0mP9jxog-qg-Na21Xs" /> |
---|---|
7 | {% get_metadata as metadata %}{% if metadata.title.value %} {{ metadata.title }} {% else %}<title>{% block title %} {% endblock title %}{% block site_title %} | Нисарга{% endblock site_title %}</title> {% endif %} |
8 | {% if metadata.description.value %} {{ metadata.description }} {% endif %} |
9 | {% if metadata.keywords.value %} {{ metadata.keywords }} {% endif %} |
10 | {% block extrahead %}<meta property="og:image" content="{% static 'img/nisarga-og-image.jpg' %}" />{% endblock extrahead %} |
11 | <!--<meta property="og:image" content="https://nisarga.center/static/img/vk.jpg" />--> |
12 | <link rel="stylesheet" href="{% static 'libs/iziModal/iziModal.min.css' %}"> |
13 | <link rel="stylesheet" href="{% static 'libs/select2/css/select2.min.css' %}"> |
14 | <link rel="stylesheet" href="{% static 'css/main.css' %}"> |
15 | <link href="{% static 'img/favicon.png' %}" rel="icon" /> |
16 | <meta name="google-site-verification" content="McXcb9FMtAw-X2X5dH9zOZwqdWzvYUTQHYbAv9ZABNM" /> |
17 | <script> |
18 | !function(f,b,e,v,n,t,s) |
19 | {if(f.fbq)return;n=f.fbq=function(){n.callMethod? |
20 | n.callMethod.apply(n,arguments):n.queue.push(arguments)}; |
21 | if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; |
22 | n.queue=[];t=b.createElement(e);t.async=!0; |
23 | t.src=v;s=b.getElementsByTagName(e)[0]; |
24 | s.parentNode.insertBefore(t,s)}(window,document,'script', |
25 | 'https://connect.facebook.net/en_US/fbevents.js'); |
26 | fbq('init', '1618495794990824'); |
/home/ubuntu/nisarga/venv/lib/python3.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("Variable 'contact.photo' is an invalid source.") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f74aafb2750>> |
request | <WSGIRequest: GET '/event/2018-04-29-geografiya-menya/form/'> |
/home/ubuntu/nisarga/venv/lib/python3.7/site-packages/django/core/handlers/base.py
in _get_response
"HttpResponse object. It returned None instead."
% (middleware_method.__self__.__class__.__name__)
)
try:
response = response.render()
except Exception as e:
response = self.process_exception_by_middleware(e, request)...
return response
def process_exception_by_middleware(self, exception, request):
"""
Pass the exception to the exception middleware. If no middleware
Variable | Value |
---|---|
callback | <function ParticipantFormView at 0x7f74aabf0440> |
callback_args | () |
callback_kwargs | {'slug': '2018-04-29-geografiya-menya'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f74aaf4ee50>> |
request | <WSGIRequest: GET '/event/2018-04-29-geografiya-menya/form/'> |
resolver | <RegexURLResolver 'nisarga.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=events.views.ParticipantFormView, args=(), kwargs={'slug': '2018-04-29-geografiya-menya'}, url_name=form, app_names=[], namespaces=[]) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f74aafb2750> |
wrapped_callback | <function ParticipantFormView at 0x7f74aabf0440> |
/home/ubuntu/nisarga/venv/lib/python3.7/site-packages/django/core/handlers/base.py
in _get_response
raise ValueError(
"%s.process_template_response didn't return an "
"HttpResponse object. It returned None instead."
% (middleware_method.__self__.__class__.__name__)
)
try:
response = response.render()...
except Exception as e:
response = self.process_exception_by_middleware(e, request)
return response
def process_exception_by_middleware(self, exception, request):
Variable | Value |
---|---|
callback | <function ParticipantFormView at 0x7f74aabf0440> |
callback_args | () |
callback_kwargs | {'slug': '2018-04-29-geografiya-menya'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f74aaf4ee50>> |
request | <WSGIRequest: GET '/event/2018-04-29-geografiya-menya/form/'> |
resolver | <RegexURLResolver 'nisarga.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=events.views.ParticipantFormView, args=(), kwargs={'slug': '2018-04-29-geografiya-menya'}, url_name=form, app_names=[], namespaces=[]) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f74aafb2750> |
wrapped_callback | <function ParticipantFormView at 0x7f74aabf0440> |
/home/ubuntu/nisarga/venv/lib/python3.7/site-packages/django/template/response.py
in render
If the content has already been rendered, this is a no-op.
Returns the baked response instance.
"""
retval = self
if not self._is_rendered:
self.content = self.rendered_content...
for post_callback in self._post_render_callbacks:
newretval = post_callback(retval)
if newretval is not None:
retval = newretval
return retval
Variable | Value |
---|---|
retval | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
/home/ubuntu/nisarga/venv/lib/python3.7/site-packages/django/template/response.py
in rendered_content
This *does not* set the final content of the response. To set the
response content, you must either call render(), or set the
content explicitly using the value of this property.
"""
template = self.resolve_template(self.template_name)
context = self.resolve_context(self.context_data)
content = template.render(context, self._request)...
return content
def add_post_render_callback(self, callback):
"""Adds a new post-rendering callback.
If the response has already been rendered,
Variable | Value |
---|---|
context | {'contact': <Contact: Антон - Екатеринбург>, 'curr_etype': 'seminar_gm', 'event': <Event: 2018-04-29-Свердловск: География Меня>, 'form': <ParticipantForm bound=False, valid=Unknown, fields=(photo;name;name_en;city;country;phone;skype;email;social;birth_date;birth_place;tshirt_size;prev_nisarga_events;prev_trainings;life_changes;what_to_want;health_status;utm_source)>, 'view': <events.views.ParticipantFormView object at 0x7f74a74dcf10>} |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | <django.template.backends.django.Template object at 0x7f74a63974d0> |
/home/ubuntu/nisarga/venv/lib/python3.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 | [{'True': True, 'False': False, 'None': None, 'metadata': <djangoseo.base.FormattedMetadata object at 0x7f74a78011d0>}, {}, {}, {'form': <ParticipantForm bound=False, valid=Unknown, fields=(photo;name;name_en;city;country;phone;skype;email;social;birth_date;birth_place;tshirt_size;prev_nisarga_events;prev_trainings;life_changes;what_to_want;health_status;utm_source)>, 'view': <events.views.ParticipantFormView object at 0x7f74a74dcf10>, 'event': <Event: 2018-04-29-Свердловск: География Меня>, 'curr_etype': 'seminar_gm', 'contact': <Contact: Антон - Екатеринбург>}] |
request | <WSGIRequest: GET '/event/2018-04-29-geografiya-menya/form/'> |
self | <django.template.backends.django.Template object at 0x7f74a63974d0> |
/home/ubuntu/nisarga/venv/lib/python3.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 | [{'True': True, 'False': False, 'None': None, 'metadata': <djangoseo.base.FormattedMetadata object at 0x7f74a78011d0>}, {}, {}, {'form': <ParticipantForm bound=False, valid=Unknown, fields=(photo;name;name_en;city;country;phone;skype;email;social;birth_date;birth_place;tshirt_size;prev_nisarga_events;prev_trainings;life_changes;what_to_want;health_status;utm_source)>, 'view': <events.views.ParticipantFormView object at 0x7f74a74dcf10>, 'event': <Event: 2018-04-29-Свердловск: География Меня>, 'curr_etype': 'seminar_gm', 'contact': <Contact: Антон - Екатеринбург>}] |
self | <django.template.base.Template object at 0x7f74a6397a90> |
/home/ubuntu/nisarga/venv/lib/python3.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None, 'metadata': <djangoseo.base.FormattedMetadata object at 0x7f74a78011d0>}, {}, {}, {'form': <ParticipantForm bound=False, valid=Unknown, fields=(photo;name;name_en;city;country;phone;skype;email;social;birth_date;birth_place;tshirt_size;prev_nisarga_events;prev_trainings;life_changes;what_to_want;health_status;utm_source)>, 'view': <events.views.ParticipantFormView object at 0x7f74a74dcf10>, 'event': <Event: 2018-04-29-Свердловск: География Меня>, 'curr_etype': 'seminar_gm', 'contact': <Contact: Антон - Екатеринбург>}] |
self | <django.template.base.Template object at 0x7f74a6397a90> |
/home/ubuntu/nisarga/venv/lib/python3.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 | [{'True': True, 'False': False, 'None': None, 'metadata': <djangoseo.base.FormattedMetadata object at 0x7f74a78011d0>}, {}, {}, {'form': <ParticipantForm bound=False, valid=Unknown, fields=(photo;name;name_en;city;country;phone;skype;email;social;birth_date;birth_place;tshirt_size;prev_nisarga_events;prev_trainings;life_changes;what_to_want;health_status;utm_source)>, 'view': <events.views.ParticipantFormView object at 0x7f74a74dcf10>, 'event': <Event: 2018-04-29-Свердловск: География Меня>, 'curr_etype': 'seminar_gm', 'contact': <Contact: Антон - Екатеринбург>}] |
node | <ExtendsNode: extends "base_page.html"> |
self | [<ExtendsNode: extends "base_page.html">] |
/home/ubuntu/nisarga/venv/lib/python3.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 | [{'True': True, 'False': False, 'None': None, 'metadata': <djangoseo.base.FormattedMetadata object at 0x7f74a78011d0>}, {}, {}, {'form': <ParticipantForm bound=False, valid=Unknown, fields=(photo;name;name_en;city;country;phone;skype;email;social;birth_date;birth_place;tshirt_size;prev_nisarga_events;prev_trainings;life_changes;what_to_want;health_status;utm_source)>, 'view': <events.views.ParticipantFormView object at 0x7f74a74dcf10>, 'event': <Event: 2018-04-29-Свердловск: География Меня>, 'curr_etype': 'seminar_gm', 'contact': <Contact: Антон - Екатеринбург>}] |
self | <ExtendsNode: extends "base_page.html"> |
/home/ubuntu/nisarga/venv/lib/python3.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 0x7f74aebb9ed0> |
compiled_parent | <django.template.base.Template object at 0x7f74a73dbb10> |
context | [{'True': True, 'False': False, 'None': None, 'metadata': <djangoseo.base.FormattedMetadata object at 0x7f74a78011d0>}, {}, {}, {'form': <ParticipantForm bound=False, valid=Unknown, fields=(photo;name;name_en;city;country;phone;skype;email;social;birth_date;birth_place;tshirt_size;prev_nisarga_events;prev_trainings;life_changes;what_to_want;health_status;utm_source)>, 'view': <events.views.ParticipantFormView object at 0x7f74a74dcf10>, 'event': <Event: 2018-04-29-Свердловск: География Меня>, 'curr_etype': 'seminar_gm', 'contact': <Contact: Антон - Екатеринбург>}] |
node | <ExtendsNode: extends 'base.html'> |
self | <ExtendsNode: extends "base_page.html"> |
/home/ubuntu/nisarga/venv/lib/python3.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None, 'metadata': <djangoseo.base.FormattedMetadata object at 0x7f74a78011d0>}, {}, {}, {'form': <ParticipantForm bound=False, valid=Unknown, fields=(photo;name;name_en;city;country;phone;skype;email;social;birth_date;birth_place;tshirt_size;prev_nisarga_events;prev_trainings;life_changes;what_to_want;health_status;utm_source)>, 'view': <events.views.ParticipantFormView object at 0x7f74a74dcf10>, 'event': <Event: 2018-04-29-Свердловск: География Меня>, 'curr_etype': 'seminar_gm', 'contact': <Contact: Антон - Екатеринбург>}] |
self | <django.template.base.Template object at 0x7f74a73dbb10> |
/home/ubuntu/nisarga/venv/lib/python3.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 | [{'True': True, 'False': False, 'None': None, 'metadata': <djangoseo.base.FormattedMetadata object at 0x7f74a78011d0>}, {}, {}, {'form': <ParticipantForm bound=False, valid=Unknown, fields=(photo;name;name_en;city;country;phone;skype;email;social;birth_date;birth_place;tshirt_size;prev_nisarga_events;prev_trainings;life_changes;what_to_want;health_status;utm_source)>, 'view': <events.views.ParticipantFormView object at 0x7f74a74dcf10>, 'event': <Event: 2018-04-29-Свердловск: География Меня>, 'curr_etype': 'seminar_gm', 'contact': <Contact: Антон - Екатеринбург>}] |
node | <ExtendsNode: extends 'base.html'> |
self | [<ExtendsNode: extends 'base.html'>] |
/home/ubuntu/nisarga/venv/lib/python3.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 | [{'True': True, 'False': False, 'None': None, 'metadata': <djangoseo.base.FormattedMetadata object at 0x7f74a78011d0>}, {}, {}, {'form': <ParticipantForm bound=False, valid=Unknown, fields=(photo;name;name_en;city;country;phone;skype;email;social;birth_date;birth_place;tshirt_size;prev_nisarga_events;prev_trainings;life_changes;what_to_want;health_status;utm_source)>, 'view': <events.views.ParticipantFormView object at 0x7f74a74dcf10>, 'event': <Event: 2018-04-29-Свердловск: География Меня>, 'curr_etype': 'seminar_gm', 'contact': <Contact: Антон - Екатеринбург>}] |
self | <ExtendsNode: extends 'base.html'> |
/home/ubuntu/nisarga/venv/lib/python3.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 0x7f74aebb9ed0> |
blocks | {'content': <Block Node: content. Contents: [<TextNode: '\n\t'>]>, 'extrahead': <Block Node: extrahead. Contents: [<TextNode: '<meta property="og:image"'>, <django.templatetags.static.StaticNode object at 0x7f74a7499690>, <TextNode: '" />'>]>, 'footer': <Block Node: footer. Contents: [<TextNode: '\n\t<footer>\n\t\t<div class="'>, <django.templatetags.static.StaticNode object at 0x7f74a74ce610>, <TextNode: '" alt="Мы в Facebook">\n\t\t'>, <django.templatetags.static.StaticNode object at 0x7f74a74ce8d0>, <TextNode: '" alt="Мы в Instagram">\n\t'>, <django.templatetags.static.StaticNode object at 0x7f74a74ce2d0>, <TextNode: '" alt="Мы во ВКонтакте">\n'>, <django.templatetags.static.StaticNode object at 0x7f74a74cef10>, <TextNode: '" alt="Мы в YouTube">\n\t\t\t'>, <django.templatetags.static.StaticNode object at 0x7f74a74cee50>, <TextNode: '" alt="Мы в SoudCould">\n\t'>, <django.templatetags.static.StaticNode object at 0x7f74a74ced50>, <TextNode: '" alt="Мы в Telegram">\n\t\t'>, <django.templatetags.static.StaticNode object at 0x7f74a74ceb50>, <TextNode: '" alt="Логотип">\n\t\t\t\t\t<a '>, <django.template.defaulttags.URLNode object at 0x7f74a78fe510>, <TextNode: '"><img src="https://c59e1'>, <django.templatetags.static.StaticNode object at 0x7f74a78feb50>, <TextNode: '" alt="Поблагодарить"> <s'>, <django.template.loader_tags.IncludeNode object at 0x7f74a78fe8d0>, <TextNode: '\n\t'>]>, 'header': <Block Node: header. Contents: [<TextNode: '\n\t<header class="containe'>, <django.templatetags.static.StaticNode object at 0x7f74a7499150>, <TextNode: '" alt="Мы в Facebook">\n\t\t'>, <django.templatetags.static.StaticNode object at 0x7f74a74998d0>, <TextNode: '" alt="Мы в Instagram">\n\t'>, <django.templatetags.static.StaticNode object at 0x7f74a74991d0>, <TextNode: '" alt="ВКонтакте">\n\t\t\t</a'>, <django.templatetags.static.StaticNode object at 0x7f74a76bc250>, <TextNode: '" alt="Мы в YouTube">\n\t\t\t'>, <django.templatetags.static.StaticNode object at 0x7f74a76bc810>, <TextNode: '" alt="Мы в SoudCould">\n\t'>, <django.templatetags.static.StaticNode object at 0x7f74a76bc990>, <TextNode: '" alt="Мы в Telegram">\n\t\t'>, <django.template.defaulttags.URLNode object at 0x7f74a76bc650>, <TextNode: '"><img src="'>, <django.templatetags.static.StaticNode object at 0x7f74a7537190>, <TextNode: '" class="logo_top" alt="Л'>, <django.template.defaulttags.URLNode object at 0x7f74a7537850>, <TextNode: '"><img src="'>, <django.templatetags.static.StaticNode object at 0x7f74a7537490>, <TextNode: '" alt="Логотип"></a>\n\t\t</'>, <django.templatetags.static.StaticNode object at 0x7f74a7537b10>, <TextNode: '" alt="Мы в Facebook">\n\t\t'>, <django.templatetags.static.StaticNode object at 0x7f74a7537450>, <TextNode: '" alt="Мы в Instagram">\n\t'>, <django.templatetags.static.StaticNode object at 0x7f74a7537750>, <TextNode: '" alt="Мы во ВКонтакте">\n'>, <django.templatetags.static.StaticNode object at 0x7f74a75370d0>, <TextNode: '" alt="Мы в YouTube">\n\t\t\t'>, <django.templatetags.static.StaticNode object at 0x7f74a75372d0>, <TextNode: '" alt="Мы в Telegram">\n\t\t'>, <django.template.defaulttags.URLNode object at 0x7f74a7537d10>, <TextNode: '"><img src="'>, <django.templatetags.static.StaticNode object at 0x7f74a7537090>, <TextNode: '" alt="Логотип"></a></li>'>, <IfNode>, <TextNode: ' href="'>, <django.template.defaulttags.URLNode object at 0x7f74a659afd0>, <TextNode: '">Мероприятия</a></li>\n\t\t'>, <IfNode>, <TextNode: ' href="'>, <django.template.defaulttags.URLNode object at 0x7f74a65f0790>, <TextNode: '">Видео</a></li>\n\t\t\t\t<li>'>, <IfNode>, <TextNode: ' href="'>, <django.template.defaulttags.URLNode object at 0x7f74a7362210>, <TextNode: '">О центре</a></li>\n\t\t\t\t<'>, <IfNode>, <TextNode: ' href="'>, <django.template.defaulttags.URLNode object at 0x7f74a7362690>, <TextNode: '">Отзывы</a></li>\n\t\t\t\t<li'>, <IfNode>, <TextNode: ' href="'>, <django.template.defaulttags.URLNode object at 0x7f74a7362090>, <TextNode: '">Контакты</a></li>\n\t\t\t</'>]>, 'html_id': <Block Node: html_id. Contents: []>, 'js': <Block Node: js. Contents:... <trimmed 4448 bytes string> |
compiled_parent | <django.template.base.Template object at 0x7f74a6583650> |
context | [{'True': True, 'False': False, 'None': None, 'metadata': <djangoseo.base.FormattedMetadata object at 0x7f74a78011d0>}, {}, {}, {'form': <ParticipantForm bound=False, valid=Unknown, fields=(photo;name;name_en;city;country;phone;skype;email;social;birth_date;birth_place;tshirt_size;prev_nisarga_events;prev_trainings;life_changes;what_to_want;health_status;utm_source)>, 'view': <events.views.ParticipantFormView object at 0x7f74a74dcf10>, 'event': <Event: 2018-04-29-Свердловск: География Меня>, 'curr_etype': 'seminar_gm', 'contact': <Contact: Антон - Екатеринбург>}] |
node | <django.template.defaulttags.LoadNode object at 0x7f74a753ded0> |
self | <ExtendsNode: extends 'base.html'> |
/home/ubuntu/nisarga/venv/lib/python3.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None, 'metadata': <djangoseo.base.FormattedMetadata object at 0x7f74a78011d0>}, {}, {}, {'form': <ParticipantForm bound=False, valid=Unknown, fields=(photo;name;name_en;city;country;phone;skype;email;social;birth_date;birth_place;tshirt_size;prev_nisarga_events;prev_trainings;life_changes;what_to_want;health_status;utm_source)>, 'view': <events.views.ParticipantFormView object at 0x7f74a74dcf10>, 'event': <Event: 2018-04-29-Свердловск: География Меня>, 'curr_etype': 'seminar_gm', 'contact': <Contact: Антон - Екатеринбург>}] |
self | <django.template.base.Template object at 0x7f74a6583650> |
/home/ubuntu/nisarga/venv/lib/python3.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 | '\n\n\t' |
bits | ['', '<!DOCTYPE html>\n<html lang="ru" id="', 'formpage-page', '">\n' '<head>\n' '\t<meta charset="UTF-8">\n' '\t<meta name="viewport" content="width=device-width, initial-scale=1.0">\n' '\t<meta name="google-site-verification" ' 'content="RFWq2Ep6Xj4zp66sMAsr7x6xw0mP9jxog-qg-Na21Xs" />\n' '\t', '', '<title>Заполнить анкету - География Меня | Нисарга</title> ', '\n\t', '', '\n\t', '', '\n\t', '\n', '\n' '\t<!--<meta property="og:image" ' 'content="https://nisarga.center/static/img/vk.jpg" />-->\n' '\t<link rel="stylesheet" href="', '/static/libs/iziModal/iziModal.min.css', '">\n\t<link rel="stylesheet" href="', '/static/libs/select2/css/select2.min.css', '">\n\t<link rel="stylesheet" href="', '/static/css/main.css', '">\n\t<link href="', '/static/img/favicon.png', '" rel="icon" />\n' '\t<meta name="google-site-verification" ' 'content="McXcb9FMtAw-X2X5dH9zOZwqdWzvYUTQHYbAv9ZABNM" />\n' '\t<script>\n' '\t\t!function(f,b,e,v,n,t,s)\n' '\t\t{if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n' '\t\tn.callMethod.apply(n,arguments):n.queue.push(arguments)};\n' "\t\tif(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n" '\t\tn.queue=[];t=b.createElement(e);t.async=!0;\n' '\t\tt.src=v;s=b.getElementsByTagName(e)[0];\n' "\t\ts.parentNode.insertBefore(t,s)}(window,document,'script',\n" "\t\t'https://connect.facebook.net/en_US/fbevents.js');\n" "\t\tfbq('init', '1618495794990824');\n" "\t\tfbq('track', 'PageView');\n" '\t</script>\n' '</head>\n' '<body>\n' '\t', '\n' '<nav id="page_menu" class="menu">\n' '\t<div class="logo_menu">\n' '\t\t<a href="/"><img src="/static/img/logo-menu.png" alt="Логотип"></a>\n' '\t</div>\n' '\t<div class="social_menu">\n' '\t\t<a href="https://www.facebook.com/groups/nisarga.center/" ' 'onclick="return !window.open(this.href)" rel="nofollow">\n' '\t\t\t<img src="/static/img/icons/facebook-w.svg" alt="Мы в Facebook">\n' '\t\t</a>\n' '\t\t<a href="https://www.instagram.com/cs_nisarga/" onclick="return ' '!window.open(this.href)" rel="nofollow">\n' '\t\t\t<img src="/static/img/icons/instagram-w.svg" alt="Мы в Instagram">\n' '\t\t</a>\n' '\t\t<a href="https://vk.com/nisarga" onclick="return ' '!window.open(this.href)" rel="nofollow">\n' '\t\t\t<img src="/static/img/icons/vkontakte-w.svg" alt="Мы во ВКонтакте">\n' '\t\t</a>\n' '\t\t<a href="https://www.youtube.com/channel/UCau6mdLbcOZgmzv6L-ETUSw" ' 'onclick="return !window.open(this.href)" rel="nofollow">\n' '\t\t\t<img src="/static/img/icons/youtube-w.svg" alt="Мы в YouTube">\n' '\t\t</a>\n' '\t</div>\n' '\t<label for="navbar-checkbox" class="navbar-handle">\n' '\t\t<span class="burger"></span>\n' '\t</label>\n' '\t<input type="checkbox" id="navbar-checkbox" class="mobile-menu-checkbox">\n' '\t<ul>\n' '\t\t<li class="logo-menu"><a href="/"><img src="/static/img/logo-menu.png" ' 'alt="Логотип"></a></li>\n' '\t\t<li><a class="active-menu" href="/events/">Мероприятия</a></li>\n' '\t\t<li><a href="/videos/">Видео</a></li>\n' '\t\t<li><a href="/about/">О центре</a></li>\n' '\t\t<li><a href="/reviews/">Отзывы</a></li>\n' '\t\t<li><a href="/contacts/">Контакты</a></li>\n' '\t</ul>\n' '</nav>\n', '\n\n\t', '\n\t', '\n\n\t', '\n\t\t\n\t', '\n\n\t'] |
context | [{'True': True, 'False': False, 'None': None, 'metadata': <djangoseo.base.FormattedMetadata object at 0x7f74a78011d0>}, {}, {}, {'form': <ParticipantForm bound=False, valid=Unknown, fields=(photo;name;name_en;city;country;phone;skype;email;social;birth_date;birth_place;tshirt_size;prev_nisarga_events;prev_trainings;life_changes;what_to_want;health_status;utm_source)>, 'view': <events.views.ParticipantFormView object at 0x7f74a74dcf10>, 'event': <Event: 2018-04-29-Свердловск: География Меня>, 'curr_etype': 'seminar_gm', 'contact': <Contact: Антон - Екатеринбург>}] |
node | <Block Node: content. Contents: [<TextNode: '\n\t'>]> |
self | [<django.template.defaulttags.LoadNode object at 0x7f74a753ded0>, <TextNode: '<!DOCTYPE html>\n<html lan'>, <Block Node: html_id. Contents: []>, <TextNode: '">\n<head>\n\t<meta charset='>, <djangoseo.templatetags.seo.MetadataNode object at 0x7f74a745a5d0>, <IfNode>, <TextNode: '\n\t'>, <IfNode>, <TextNode: '\n\t'>, <IfNode>, <TextNode: '\n\t'>, <Block Node: extrahead. Contents: [<TextNode: '<meta property="og:image"'>, <django.templatetags.static.StaticNode object at 0x7f74a7499690>, <TextNode: '" />'>]>, <TextNode: '\n\t<!--<meta property="og:'>, <django.templatetags.static.StaticNode object at 0x7f74ac9635d0>, <TextNode: '">\n\t<link rel="stylesheet'>, <django.templatetags.static.StaticNode object at 0x7f74a753d890>, <TextNode: '">\n\t<link rel="stylesheet'>, <django.templatetags.static.StaticNode object at 0x7f74a7499090>, <TextNode: '">\n\t<link href="'>, <django.templatetags.static.StaticNode object at 0x7f74a7499390>, <TextNode: '" rel="icon" />\n\t<meta na'>, <Block Node: header. Contents: [<TextNode: '\n\t<header class="containe'>, <django.templatetags.static.StaticNode object at 0x7f74a7499150>, <TextNode: '" alt="Мы в Facebook">\n\t\t'>, <django.templatetags.static.StaticNode object at 0x7f74a74998d0>, <TextNode: '" alt="Мы в Instagram">\n\t'>, <django.templatetags.static.StaticNode object at 0x7f74a74991d0>, <TextNode: '" alt="ВКонтакте">\n\t\t\t</a'>, <django.templatetags.static.StaticNode object at 0x7f74a76bc250>, <TextNode: '" alt="Мы в YouTube">\n\t\t\t'>, <django.templatetags.static.StaticNode object at 0x7f74a76bc810>, <TextNode: '" alt="Мы в SoudCould">\n\t'>, <django.templatetags.static.StaticNode object at 0x7f74a76bc990>, <TextNode: '" alt="Мы в Telegram">\n\t\t'>, <django.template.defaulttags.URLNode object at 0x7f74a76bc650>, <TextNode: '"><img src="'>, <django.templatetags.static.StaticNode object at 0x7f74a7537190>, <TextNode: '" class="logo_top" alt="Л'>, <django.template.defaulttags.URLNode object at 0x7f74a7537850>, <TextNode: '"><img src="'>, <django.templatetags.static.StaticNode object at 0x7f74a7537490>, <TextNode: '" alt="Логотип"></a>\n\t\t</'>, <django.templatetags.static.StaticNode object at 0x7f74a7537b10>, <TextNode: '" alt="Мы в Facebook">\n\t\t'>, <django.templatetags.static.StaticNode object at 0x7f74a7537450>, <TextNode: '" alt="Мы в Instagram">\n\t'>, <django.templatetags.static.StaticNode object at 0x7f74a7537750>, <TextNode: '" alt="Мы во ВКонтакте">\n'>, <django.templatetags.static.StaticNode object at 0x7f74a75370d0>, <TextNode: '" alt="Мы в YouTube">\n\t\t\t'>, <django.templatetags.static.StaticNode object at 0x7f74a75372d0>, <TextNode: '" alt="Мы в Telegram">\n\t\t'>, <django.template.defaulttags.URLNode object at 0x7f74a7537d10>, <TextNode: '"><img src="'>, <django.templatetags.static.StaticNode object at 0x7f74a7537090>, <TextNode: '" alt="Логотип"></a></li>'>, <IfNode>, <TextNode: ' href="'>, <django.template.defaulttags.URLNode object at 0x7f74a659afd0>, <TextNode: '">Мероприятия</a></li>\n\t\t'>, <IfNode>, <TextNode: ' href="'>, <django.template.defaulttags.URLNode object at 0x7f74a65f0790>, <TextNode: '">Видео</a></li>\n\t\t\t\t<li>'>, <IfNode>, <TextNode: ' href="'>, <django.template.defaulttags.URLNode object at 0x7f74a7362210>, <TextNode: '">О центре</a></li>\n\t\t\t\t<'>, <IfNode>, <TextNode: ' href="'>, <django.template.defaulttags.URLNode object at 0x7f74a7362690>, <TextNode: '">Отзывы</a></li>\n\t\t\t\t<li'>, <IfNode>, <TextNode: ' href="'>, <django.template.defaulttags.URLNode object at 0x7f74a7362090>, <TextNode: '">Контакты</a></li>\n\t\t\t</'>]>, <TextNode: '\n\n\t'>, <Block Node: submenu. Contents: [<TextNode: '\n\t'>]>, <TextNode: '\n\n\t'>, <Block Node: messages. Contents: [<TextNode: '\n\t\t'>, <For Node: for message in messages, tail_len: 3>, <TextNode: '\n\t'>]>, <TextNode: '\n\n\t'>, <Block Node: content. Contents: [<TextNode: '\n\t'>]>, <TextNode: '\n\n\t'>, <Block Node: footer. Contents: [<TextNode: '\n\t<footer>\n\t\t<div class="'>, <django.templatetags.static.StaticNode object at 0x7f74a74ce610>, <TextNode: '" alt="... <trimmed 5634 bytes string> |
/home/ubuntu/nisarga/venv/lib/python3.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 | [{'True': True, 'False': False, 'None': None, 'metadata': <djangoseo.base.FormattedMetadata object at 0x7f74a78011d0>}, {}, {}, {'form': <ParticipantForm bound=False, valid=Unknown, fields=(photo;name;name_en;city;country;phone;skype;email;social;birth_date;birth_place;tshirt_size;prev_nisarga_events;prev_trainings;life_changes;what_to_want;health_status;utm_source)>, 'view': <events.views.ParticipantFormView object at 0x7f74a74dcf10>, 'event': <Event: 2018-04-29-Свердловск: География Меня>, 'curr_etype': 'seminar_gm', 'contact': <Contact: Антон - Екатеринбург>}] |
self | <Block Node: content. Contents: [<TextNode: '\n\t'>]> |
/home/ubuntu/nisarga/venv/lib/python3.7/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
block | <Block Node: content. Contents: [<TextNode: '\n<main class="container">'>, <django.template.loader_tags.IncludeNode object at 0x7f74a74fdfd0>, <TextNode: '\n\n\t<section id="formpage_'>, <Variable Node: event.name>, <TextNode: '</h3>\n\t\t\t\t<span class="fo'>, <Variable Node: event.date_start|date:"d">, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <Variable Node: event.date_start|date:"Y">, <TextNode: '\n\t\t\t\t</span>\n\t\t\t\t<span cl'>, <Variable Node: event.city_name>, <TextNode: '</span>\n\t\t\t</div>\n\t\t\t<div'>, <easy_thumbnails.templatetags.thumbnail.ThumbnailNode object at 0x7f74a76ce5d0>, <TextNode: '" alt="'>, <Variable Node: contact.name>, <TextNode: '">\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t<div cla'>, <Variable Node: contact.name>, <TextNode: '</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<span'>, <Variable Node: contact.phone>, <TextNode: '">'>, <Variable Node: contact.phone>, <TextNode: '</a></span>\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t'>, <IfNode>, <TextNode: '\n\t\t\t\t<p><span>Место прове'>, <django.template.defaulttags.FirstOfNode object at 0x7f74a7907c50>, <TextNode: '</p>\n\t\t\t\t<p><span>Стоимос'>, <django.template.defaulttags.FirstOfNode object at 0x7f74a727f050>, <TextNode: '</p>\n\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t</div>\n\t\t</article>\n\t'>, <Variable Node: event.slug>, <TextNode: '">\n\t\t\t<form method="POST"'>, <django.template.defaulttags.URLNode object at 0x7f74a727fa90>, <TextNode: '" data-name="Email Form" '>, <django.template.defaulttags.CsrfTokenNode object at 0x7f74a727ff90>, <TextNode: '\n\n\t\t\t\t<article class="row'>, <IfNode>, <TextNode: '\n\t\t\t\t\t</div>\n\t\t\t\t\t<div cl'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t\t\t<label for="imag'>, <IfNode>, <TextNode: '</span>\t\t\n\t\t\t\t\t\t\t\t</label'>, <For Node: for country in countries, tail_len: 5>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<p>Отп'>, <django.template.loader_tags.IncludeNode object at 0x7f74a7478dd0>, <TextNode: '\n</main>\n'>, <django.template.loader_tags.IncludeNode object at 0x7f74a7478550>, <TextNode: '\n'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f74aebb9ed0> |
context | [{'True': True, 'False': False, 'None': None, 'metadata': <djangoseo.base.FormattedMetadata object at 0x7f74a78011d0>}, {}, {}, {'form': <ParticipantForm bound=False, valid=Unknown, fields=(photo;name;name_en;city;country;phone;skype;email;social;birth_date;birth_place;tshirt_size;prev_nisarga_events;prev_trainings;life_changes;what_to_want;health_status;utm_source)>, 'view': <events.views.ParticipantFormView object at 0x7f74a74dcf10>, 'event': <Event: 2018-04-29-Свердловск: География Меня>, 'curr_etype': 'seminar_gm', 'contact': <Contact: Антон - Екатеринбург>}] |
push | <Block Node: content. Contents: [<TextNode: '\n<main class="container">'>, <django.template.loader_tags.IncludeNode object at 0x7f74a74fdfd0>, <TextNode: '\n\n\t<section id="formpage_'>, <Variable Node: event.name>, <TextNode: '</h3>\n\t\t\t\t<span class="fo'>, <Variable Node: event.date_start|date:"d">, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <Variable Node: event.date_start|date:"Y">, <TextNode: '\n\t\t\t\t</span>\n\t\t\t\t<span cl'>, <Variable Node: event.city_name>, <TextNode: '</span>\n\t\t\t</div>\n\t\t\t<div'>, <easy_thumbnails.templatetags.thumbnail.ThumbnailNode object at 0x7f74a76ce5d0>, <TextNode: '" alt="'>, <Variable Node: contact.name>, <TextNode: '">\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t<div cla'>, <Variable Node: contact.name>, <TextNode: '</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<span'>, <Variable Node: contact.phone>, <TextNode: '">'>, <Variable Node: contact.phone>, <TextNode: '</a></span>\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t'>, <IfNode>, <TextNode: '\n\t\t\t\t<p><span>Место прове'>, <django.template.defaulttags.FirstOfNode object at 0x7f74a7907c50>, <TextNode: '</p>\n\t\t\t\t<p><span>Стоимос'>, <django.template.defaulttags.FirstOfNode object at 0x7f74a727f050>, <TextNode: '</p>\n\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t</div>\n\t\t</article>\n\t'>, <Variable Node: event.slug>, <TextNode: '">\n\t\t\t<form method="POST"'>, <django.template.defaulttags.URLNode object at 0x7f74a727fa90>, <TextNode: '" data-name="Email Form" '>, <django.template.defaulttags.CsrfTokenNode object at 0x7f74a727ff90>, <TextNode: '\n\n\t\t\t\t<article class="row'>, <IfNode>, <TextNode: '\n\t\t\t\t\t</div>\n\t\t\t\t\t<div cl'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t\t\t<label for="imag'>, <IfNode>, <TextNode: '</span>\t\t\n\t\t\t\t\t\t\t\t</label'>, <For Node: for country in countries, tail_len: 5>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<p>Отп'>, <django.template.loader_tags.IncludeNode object at 0x7f74a7478dd0>, <TextNode: '\n</main>\n'>, <django.template.loader_tags.IncludeNode object at 0x7f74a7478550>, <TextNode: '\n'>]> |
self | <Block Node: content. Contents: [<TextNode: '\n\t'>]> |
/home/ubuntu/nisarga/venv/lib/python3.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 | ('</span>\n' '\t\t\t</div>\n' '\t\t\t<div class="one-half column contact-info-column">\n' '\t\t\t\t<div class="contact_table contact-info">\n' '\t\t\t\t\t<div class="contact-image-block">\n' '\t\t\t\t\t\t<div class="contact-image-photo">\n' '\t\t\t\t\t\t<img class="img-circle" src="') |
bits | ['\n<main class="container">\n\t', '<section id="events_menu">\n' '\t<div class="secondary-menu-block">\n' '\t\t<ul class="secondary-menu">\n' '\t\t\t<li class="" ><a href="/events/">Все</a></li>\n' '\t\t\t<li class="" ><a href="/events/talk/">Сатсанги</a></li>\n' '\t\t\t<li class="" ><a href="/events/retreat/">Ритриты</a></li>\n' '\t\t\t<li class="" ><a href="/events/seminar/">Тренинги</a></li>\n' '\t\t\t<li class="" ><a href="/events/other/">Другое</a></li>\n' '\t\t\t<li class="button-li"><button class="addlistview" ' 'type="button">Список</button></li>\n' '\t\t</ul>\n' '\t</div>\n' '</section>', '\n' '\n' '\t<section id="formpage_section">\n' '\t\t<article class="row">\n' '\t\t\t<div class="one-half column formpage_info">\n' '\t\t\t\t<h3>', 'География Меня', '</h3>\n\t\t\t\t<span class="formpage_date">\n\t\t\t\t\t', '29', '-30', '\n\t\t\t\t\t', '\n\t\t\t\t\t\tапреля\n\t\t\t\t\t', '\n\t\t\t\t\t', '2018', '\n\t\t\t\t</span>\n\t\t\t\t<span class="formpage_city">', 'Свердловск', '</span>\n' '\t\t\t</div>\n' '\t\t\t<div class="one-half column contact-info-column">\n' '\t\t\t\t<div class="contact_table contact-info">\n' '\t\t\t\t\t<div class="contact-image-block">\n' '\t\t\t\t\t\t<div class="contact-image-photo">\n' '\t\t\t\t\t\t<img class="img-circle" src="'] |
context | [{'True': True, 'False': False, 'None': None, 'metadata': <djangoseo.base.FormattedMetadata object at 0x7f74a78011d0>}, {}, {}, {'form': <ParticipantForm bound=False, valid=Unknown, fields=(photo;name;name_en;city;country;phone;skype;email;social;birth_date;birth_place;tshirt_size;prev_nisarga_events;prev_trainings;life_changes;what_to_want;health_status;utm_source)>, 'view': <events.views.ParticipantFormView object at 0x7f74a74dcf10>, 'event': <Event: 2018-04-29-Свердловск: География Меня>, 'curr_etype': 'seminar_gm', 'contact': <Contact: Антон - Екатеринбург>}] |
node | <easy_thumbnails.templatetags.thumbnail.ThumbnailNode object at 0x7f74a76ce5d0> |
self | [<TextNode: '\n<main class="container">'>, <django.template.loader_tags.IncludeNode object at 0x7f74a74fdfd0>, <TextNode: '\n\n\t<section id="formpage_'>, <Variable Node: event.name>, <TextNode: '</h3>\n\t\t\t\t<span class="fo'>, <Variable Node: event.date_start|date:"d">, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t'>, <Variable Node: event.date_start|date:"Y">, <TextNode: '\n\t\t\t\t</span>\n\t\t\t\t<span cl'>, <Variable Node: event.city_name>, <TextNode: '</span>\n\t\t\t</div>\n\t\t\t<div'>, <easy_thumbnails.templatetags.thumbnail.ThumbnailNode object at 0x7f74a76ce5d0>, <TextNode: '" alt="'>, <Variable Node: contact.name>, <TextNode: '">\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t<div cla'>, <Variable Node: contact.name>, <TextNode: '</span>\n\t\t\t\t\t\t</div>\n\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<span'>, <Variable Node: contact.phone>, <TextNode: '">'>, <Variable Node: contact.phone>, <TextNode: '</a></span>\n\t\t\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t'>, <IfNode>, <TextNode: '\n\t\t\t\t<p><span>Место прове'>, <django.template.defaulttags.FirstOfNode object at 0x7f74a7907c50>, <TextNode: '</p>\n\t\t\t\t<p><span>Стоимос'>, <django.template.defaulttags.FirstOfNode object at 0x7f74a727f050>, <TextNode: '</p>\n\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t</div>\n\t\t</article>\n\t'>, <Variable Node: event.slug>, <TextNode: '">\n\t\t\t<form method="POST"'>, <django.template.defaulttags.URLNode object at 0x7f74a727fa90>, <TextNode: '" data-name="Email Form" '>, <django.template.defaulttags.CsrfTokenNode object at 0x7f74a727ff90>, <TextNode: '\n\n\t\t\t\t<article class="row'>, <IfNode>, <TextNode: '\n\t\t\t\t\t</div>\n\t\t\t\t\t<div cl'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t\t\t<label for="imag'>, <IfNode>, <TextNode: '</span>\t\t\n\t\t\t\t\t\t\t\t</label'>, <For Node: for country in countries, tail_len: 5>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<p>Отп'>, <django.template.loader_tags.IncludeNode object at 0x7f74a7478dd0>, <TextNode: '\n</main>\n'>, <django.template.loader_tags.IncludeNode object at 0x7f74a7478550>, <TextNode: '\n'>] |
/home/ubuntu/nisarga/venv/lib/python3.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 | [{'True': True, 'False': False, 'None': None, 'metadata': <djangoseo.base.FormattedMetadata object at 0x7f74a78011d0>}, {}, {}, {'form': <ParticipantForm bound=False, valid=Unknown, fields=(photo;name;name_en;city;country;phone;skype;email;social;birth_date;birth_place;tshirt_size;prev_nisarga_events;prev_trainings;life_changes;what_to_want;health_status;utm_source)>, 'view': <events.views.ParticipantFormView object at 0x7f74a74dcf10>, 'event': <Event: 2018-04-29-Свердловск: География Меня>, 'curr_etype': 'seminar_gm', 'contact': <Contact: Антон - Екатеринбург>}] |
self | <easy_thumbnails.templatetags.thumbnail.ThumbnailNode object at 0x7f74a76ce5d0> |
/home/ubuntu/nisarga/venv/lib/python3.7/site-packages/easy_thumbnails/templatetags/thumbnail.py
in render
if raise_errors:
raise VariableDoesNotExist(
"Variable '%s' does not exist." % self.source_var)
return self.bail_out(context)
if not source:
if raise_errors:
raise TemplateSyntaxError(
"Variable '%s' is an invalid source." % self.source_var)...
return self.bail_out(context)
# Resolve the thumbnail option values.
try:
opts = {}
for key, value in six.iteritems(self.opts):
if hasattr(value, 'resolve'):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None, 'metadata': <djangoseo.base.FormattedMetadata object at 0x7f74a78011d0>}, {}, {}, {'form': <ParticipantForm bound=False, valid=Unknown, fields=(photo;name;name_en;city;country;phone;skype;email;social;birth_date;birth_place;tshirt_size;prev_nisarga_events;prev_trainings;life_changes;what_to_want;health_status;utm_source)>, 'view': <events.views.ParticipantFormView object at 0x7f74a74dcf10>, 'event': <Event: 2018-04-29-Свердловск: География Меня>, 'curr_etype': 'seminar_gm', 'contact': <Contact: Антон - Екатеринбург>}] |
raise_errors | True |
self | <easy_thumbnails.templatetags.thumbnail.ThumbnailNode object at 0x7f74a76ce5d0> |
source | <ImageFieldFile: None> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTENT_LENGTH | '' |
CONTENT_TYPE | '' |
DOCUMENT_ROOT | '/usr/share/nginx/html' |
HTTPS | 'on' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'nisarga.center' |
HTTP_REFERER | 'http://nisarga.org.ua/event/2018-04-29-geografiya-menya/form/' |
HTTP_USER_AGENT | 'claudebot' |
PATH_INFO | '/event/2018-04-29-geografiya-menya/form/' |
QUERY_STRING | '' |
REMOTE_ADDR | '34.231.229.59' |
REMOTE_PORT | '36014' |
REQUEST_METHOD | 'GET' |
REQUEST_URI | '/event/2018-04-29-geografiya-menya/form/' |
SCRIPT_NAME | '' |
SERVER_NAME | 'nisarga.center' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
uwsgi.node | b'vps-5cc49d93' |
uwsgi.version | b'2.0.20' |
wsgi.errors | <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'> |
wsgi.file_wrapper | '' |
wsgi.input | <uwsgi._Input object at 0x7f74a74b96d0> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
nisarga.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [('Anton Malanchuk', 'anton.malanchuk@ukr.net')] |
ADMIN_TOOLS_APP_INDEX_DASHBOARD | 'nisarga.dashboard.CustomAppIndexDashboard' |
ADMIN_TOOLS_INDEX_DASHBOARD | 'nisarga.dashboard.CustomIndexDashboard' |
ADMIN_TOOLS_MENU | 'nisarga.menu.CustomMenu' |
ALLOWED_HOSTS | ['nisarga.org.ua', 'nisarga.center', '127.0.0.1', 'localhost', '57.129.15.158'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/home/ubuntu/nisarga' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CITIES_LIGHT_INCLUDE_CITY_TYPES | ['PPL', 'PPLA', 'PPLA2', 'PPLA3', 'PPLA4', 'PPLC', 'PPLF', 'PPLG', 'PPLL', 'PPLR', 'PPLS', 'STLMT'] |
CITIES_LIGHT_TRANSLATION_LANGUAGES | ['ru', 'en'] |
CKEDITOR_CONFIGS | {'default': {'toolbar': 'full'}, 'minimal': {'height': 200, 'toolbar': 'minimal', 'toolbar_minimal': [['Bold', 'Italic', 'Underline', 'Source'], ['BulletedList', 'JustifyLeft', 'JustifyCenter', 'JustifyRight'], ['Link', 'Unlink', 'Anchor']], 'width': 500}} |
CKEDITOR_UPLOAD_PATH | 'uploads/' |
CONTACT_EMAIL | 'nisarga@ukr.net' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '127.0.0.1', 'NAME': 'nisarga_new', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'nisarga'}, 'new': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '127.0.0.1', 'NAME': 'nisarga_new', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'nisarga'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'Y.m.d H:i' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
DB_MAILER_MODEL_HTMLFIELD | 'django.db.models.TextField' |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_CONTENT_TYPE | 'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'НИСАРГА <info@nisarga.org.ua>' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'mailer.backend.DbBackend' |
EMAIL_HOST | 'smtp.mailgun.org' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'postmaster@nisarga.org.ua' |
EMAIL_PORT | 587 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
EVENT_WAITLIST_SIZE | 3 |
FILE_CHARSET | 'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', '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 | 'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
IMAGE_CROPPING_BACKEND | 'image_cropping.backends.easy_thumbs.EasyThumbnailsBackend' |
IMAGE_CROPPING_BACKEND_PARAMS | {} |
IMAGE_CROPPING_JQUERY_URL | '/static/admin/js/vendor/jquery/jquery.min.js' |
IMAGE_CROPPING_SIZE_WARNING | False |
IMAGE_CROPPING_THUMB_SIZE | (300, 300) |
INSTALLED_APPS | ['admin_tools', 'admin_tools.theming', 'admin_tools.menu', 'admin_tools.dashboard', 'django.contrib.sites', 'django.contrib.redirects', 'django.contrib.flatpages', 'django.contrib.humanize', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.postgres', 'django.contrib.sitemaps', 'ckeditor', 'djangoseo', 'events.apps.EventsConfig', 'video.apps.VideoConfig', 'library.apps.LibraryConfig', 'contacts.apps.ContactsConfig', 'helpers.apps.HelpersConfig', 'newsletter.apps.NewsletterConfig', 'nisarga', 'mailer', 'dbmail', 'sortedm2m', 'photologue', 'rangefilter', 'el_pagination', 'easy_thumbnails', 'easy_thumbnails.optimize', 'image_cropping', 'cities_light', 'import_export'] |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
LANGUAGE_CODE | 'ru-RU' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MAX_UPLOAD_SIZE | '429916160' |
MEDIA_ROOT | '/home/ubuntu/nisarga/../media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | '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.contrib.redirects.middleware.RedirectFallbackMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
MIDDLEWARE_CLASSES | ['django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'nisarga.urls' |
SECRET_KEY | '********************' |
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 | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | '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.JSONSerializer' |
SETTINGS_MODULE | 'nisarga.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
STATICFILES_DIRS | ['/home/ubuntu/nisarga/static'] |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/home/ubuntu/nisarga/../static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/ubuntu/nisarga/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', 'helpers.context_processors.pulse'], 'loaders': ['admin_tools.template_loaders.Loader', 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
THUMBNAIL_DEBUG | True |
THUMBNAIL_PROCESSORS | ('image_cropping.thumbnail_processors.crop_corners', 'easy_thumbnails.processors.colorspace', 'easy_thumbnails.processors.autocrop', 'easy_thumbnails.processors.scale_and_crop', 'easy_thumbnails.processors.filters', 'easy_thumbnails.processors.background') |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'Europe/Kiev' |
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 | 'nisarga.wsgi.application' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
YEAR_MONTH_FORMAT | '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.