cms/blocks/entries/calendly_amp.html
| Request Method: | GET |
|---|---|
| Request URL: | http://localhost/amp/blocks/calendly/?build=true |
| Django Version: | 3.0.7 |
| Exception Type: | TemplateDoesNotExist |
| Exception Value: | cms/blocks/entries/calendly_amp.html |
| Exception Location: | /home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/django/template/backends/django.py in reraise, line 84 |
| Python Executable: | /home/ariane/Dev/virtualenvs/WEBSPACE/bin/python |
| Python Version: | 3.6.9 |
| Python Path: | ['/home/ariane/Dev/webspace/src', '/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python36.zip', '/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6', '/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/lib-dynload', '/usr/lib/python3.6', '/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages'] |
| Server time: | Mer, 17 Jui 2020 18:44:37 +0200 |
Django tried loading these templates, in this order:
Using engine django:
django.template.loaders.filesystem.Loader: /home/ariane/Dev/webspace/src/templates/cms/blocks/entries/calendly_amp.html (Source does not exist)django.template.loaders.app_directories.Loader: /home/ariane/Dev/webspace/src/webspace/cms/templates/cms/blocks/entries/calendly_amp.html (Source does not exist)django.template.loaders.app_directories.Loader: /home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/wagtail/contrib/forms/templates/cms/blocks/entries/calendly_amp.html (Source does not exist)django.template.loaders.app_directories.Loader: /home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/wagtail/contrib/redirects/templates/cms/blocks/entries/calendly_amp.html (Source does not exist)django.template.loaders.app_directories.Loader: /home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/wagtail/embeds/templates/cms/blocks/entries/calendly_amp.html (Source does not exist)django.template.loaders.app_directories.Loader: /home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/wagtail/sites/templates/cms/blocks/entries/calendly_amp.html (Source does not exist)django.template.loaders.app_directories.Loader: /home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/wagtail/users/templates/cms/blocks/entries/calendly_amp.html (Source does not exist)django.template.loaders.app_directories.Loader: /home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/wagtail/snippets/templates/cms/blocks/entries/calendly_amp.html (Source does not exist)django.template.loaders.app_directories.Loader: /home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/wagtail/documents/templates/cms/blocks/entries/calendly_amp.html (Source does not exist)django.template.loaders.app_directories.Loader: /home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/wagtail/images/templates/cms/blocks/entries/calendly_amp.html (Source does not exist)django.template.loaders.app_directories.Loader: /home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/wagtail/search/templates/cms/blocks/entries/calendly_amp.html (Source does not exist)django.template.loaders.app_directories.Loader: /home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/wagtail/admin/templates/cms/blocks/entries/calendly_amp.html (Source does not exist)django.template.loaders.app_directories.Loader: /home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/wagtail/core/templates/cms/blocks/entries/calendly_amp.html (Source does not exist)django.template.loaders.app_directories.Loader: /home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/wagtail/contrib/settings/templates/cms/blocks/entries/calendly_amp.html (Source does not exist)django.template.loaders.app_directories.Loader: /home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/django_social_share/templates/cms/blocks/entries/calendly_amp.html (Source does not exist)django.template.loaders.app_directories.Loader: /home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/django/contrib/admin/templates/cms/blocks/entries/calendly_amp.html (Source does not exist)django.template.loaders.app_directories.Loader: /home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/django/contrib/auth/templates/cms/blocks/entries/calendly_amp.html (Source does not exist)django.template.loaders.app_directories.Loader: /home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/django/contrib/sitemaps/templates/cms/blocks/entries/calendly_amp.html (Source does not exist)In template /home/ariane/Dev/webspace/src/webspace/cms/templates/cms/_base_amp.html, error at line 13
| 3 | <!doctype html> |
|---|---|
| 4 | <html amp lang="fr"> |
| 5 | <head> |
| 6 | <meta charset="utf-8"/> |
| 7 | <script async src="https://cdn.ampproject.org/v0.js"></script> |
| 8 | <title>{% block page_title %}{{ page.seo_title }}{% endblock %}</title> |
| 9 | {% include 'cms/blocks/common/meta.html' %} |
| 10 | {% include 'cms/blocks/common/favicon.html' %} |
| 11 | <link rel="canonical" href="https://{{ request.get_host }}/{{ request.path|cut:"?build=true"|cut:"/amp/" }}"/> |
| 12 | {% block font %} |
| 13 | <link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900&display=swap" rel="stylesheet"> |
| 14 | {% endblock font %} |
| 15 | <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> |
| 16 | <style amp-custom>{% amp_custom %}</style> |
| 17 | <script async custom-element="amp-sidebar" src="https://cdn.ampproject.org/v0/amp-sidebar-0.1.js"></script> |
| 18 | {% amp_scripts %} |
| 19 | {% block js %}{% endblock %} |
| 20 | {% block extra_head %} |
| 21 | {% endblock %} |
| 22 | {% if page.schemas %} |
| 23 | {% for schema in page.schemas %} |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| request | <WSGIRequest: GET '/amp/blocks/calendly/?build=true'> |
| self | <django.template.backends.django.Template object at 0x7f674d065160> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| self | <django.template.base.Template object at 0x7f674d065550> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/django/template/base.py in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
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}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| self | <django.template.base.Template object at 0x7f674d065550> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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(str(bit))
return mark_safe(''.join(bits))def get_nodes_by_type(self, nodetype):
| Variable | Value |
|---|---|
| bits | [] |
| context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| node | <ExtendsNode: extends 'cms/pages/_generic_amp.html'> |
| self | [<ExtendsNode: extends 'cms/pages/_generic_amp.html'>] |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| self | <ExtendsNode: extends 'cms/pages/_generic_amp.html'> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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, extra_context=None, isolated_context=False, **kwargs):
| Variable | Value |
|---|---|
| block_context | <django.template.loader_tags.BlockContext object at 0x7f674d140978> |
| compiled_parent | <django.template.base.Template object at 0x7f674d1407b8> |
| context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| node | <ExtendsNode: extends 'cms/_base_amp.html'> |
| self | <ExtendsNode: extends 'cms/pages/_generic_amp.html'> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/django/template/base.py in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
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}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| self | <django.template.base.Template object at 0x7f674d1407b8> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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(str(bit))
return mark_safe(''.join(bits))def get_nodes_by_type(self, nodetype):
| Variable | Value |
|---|---|
| bits | [] |
| context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| node | <ExtendsNode: extends 'cms/_base_amp.html'> |
| self | [<ExtendsNode: extends 'cms/_base_amp.html'>] |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| self | <ExtendsNode: extends 'cms/_base_amp.html'> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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, extra_context=None, isolated_context=False, **kwargs):
| Variable | Value |
|---|---|
| block_context | <django.template.loader_tags.BlockContext object at 0x7f674d140978> |
| blocks | {'body_class': <Block Node: body_class. Contents: []>,
'content': <Block Node: content. Contents: []>,
'extra_head': <Block Node: extra_head. Contents: [<TextNode: '\n '>]>,
'font': <Block Node: font. Contents: [<TextNode: '\n <link href="http'>]>,
'js': <Block Node: js. Contents: []>,
'page_title': <Block Node: page_title. Contents: [<Variable Node: page.seo_title>]>} |
| compiled_parent | <django.template.base.Template object at 0x7f674c2e0a90> |
| context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| node | <django.template.defaulttags.LoadNode object at 0x7f674cdc4cc0> |
| self | <ExtendsNode: extends 'cms/_base_amp.html'> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/django/template/base.py in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
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}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| self | <django.template.base.Template object at 0x7f674c2e0a90> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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(str(bit))
return mark_safe(''.join(bits))def get_nodes_by_type(self, nodetype):
| Variable | Value |
|---|---|
| bit | '\n' |
| bits | ['',
'\n'
'\n'
'<!doctype html>\n'
'<html amp lang="fr">\n'
'<head>\n'
' <meta charset="utf-8"/>\n'
' <script async src="https://cdn.ampproject.org/v0.js"></script>\n'
' <title>',
'',
'</title>\n ',
'\n'
'<meta name="description" content=""/>\n'
'<meta content="SpaceX" name="author"/>\n'
'<meta name="content-language" content="fr">\n'
'<meta name="referrer" content="no-referrer-when-downgrade">\n'
'\n'
'<meta name="viewport" content="width=device-width, initial-scale=1"/>\n'
'<meta property="og:type" content="website">\n'
'<meta property="og:title" content="">\n'
'<meta property="og:description" content="">\n'
'\n'
'<meta property="og:url" content="https://localhost/amp/blocks/calendly/">\n'
'<meta name="twitter:title" content="">\n'
'<meta name="twitter:description" content="">\n',
'\n ',
'\n'
'\n'
'<link rel="icon" type="image/png" sizes="16x16" '
'href="https://freelance.stationspatiale.com/www/images/IMG_ICON_SPACE_Ft5de3V.2e16d0ba.fill-16x16.format-png.png">\n'
'\n'
'<link rel="icon" type="image/png" sizes="32x32" '
'href="https://freelance.stationspatiale.com/www/images/IMG_ICON_SPACE_Ft5de3V.2e16d0ba.fill-32x32.format-png.png">\n'
'\n'
'<link rel="icon" type="image/png" sizes="128x128" '
'href="https://freelance.stationspatiale.com/www/images/IMG_ICON_SPACE_Ft5de3V.2e16d0ba.fill-128x128.format-png.png">\n'
'\n'
'<link rel="icon" type="image/png" sizes="167x167" '
'href="https://freelance.stationspatiale.com/www/images/IMG_ICON_SPACE_Ft5de3V.2e16d0ba.fill-167x167.format-png.png">\n'
'\n'
'<link rel="icon" type="image/png" sizes="180x180" '
'href="https://freelance.stationspatiale.com/www/images/IMG_ICON_SPACE_Ft5de3V.2e16d0ba.fill-180x180.format-png.png">\n'
'\n'
'<link rel="icon" type="image/png" sizes="192x192" '
'href="https://freelance.stationspatiale.com/www/images/IMG_ICON_SPACE_Ft5de3V.2e16d0ba.fill-192x192.format-png.png">\n'
'\n'
'<link rel="icon" type="image/png" sizes="196x196" '
'href="https://freelance.stationspatiale.com/www/images/IMG_ICON_SPACE_Ft5de3V.2e16d0ba.fill-196x196.format-png.png">\n',
'\n <link rel="canonical" href="https://',
'localhost',
'/',
'blocks/calendly/',
'"/>\n ',
'\n'
' <link '
'href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900&display=swap" '
'rel="stylesheet">\n'
' ',
'\n'
' <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) '
'0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal '
'both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal '
'both;animation:-amp-start 8s steps(1,end) 0s 1 normal '
'both}@-webkit-keyframes '
'-amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes '
'-amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes '
'-amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes '
'-amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes '
'-amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style '
'amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>\n'
' <style amp-custom>',
'.theme-bg-space{background:#171721}.theme-bg-space-inverse{background:#20202C}.theme-bg-light{background:#F7F7F7}.error{color:#9A1F20 '
'}/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css '
'*/html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace, '
'monospace;font-size:1em}a{background-color:transparent;outline:none}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline '
'dotted;text-decoration:underline '
'dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, '
'monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:… <trimmed 37101 bytes string> |
| context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| node | <Block Node: content. Contents: []> |
| self | [<django.template.defaulttags.LoadNode object at 0x7f674cdc4cc0>, <TextNode: '\n\n<!doctype html>\n<html a'>, <Block Node: page_title. Contents: [<Variable Node: page.seo_title>]>, <TextNode: '</title>\n '>, <django.template.loader_tags.IncludeNode object at 0x7f674cdc4ba8>, <TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7f674d128d30>, <TextNode: '\n <link rel="canonical'>, <Variable Node: request.get_host>, <TextNode: '/'>, <Variable Node: request.path|cut:"?build=true"|cut:"/amp/">, <TextNode: '"/>\n '>, <Block Node: font. Contents: [<TextNode: '\n <link href="http'>]>, <TextNode: '\n <style amp-boilerpla'>, <django.template.library.InclusionNode object at 0x7f674cdc4be0>, <TextNode: '</style>\n <script asyn'>, <django.template.library.InclusionNode object at 0x7f674cd90c50>, <TextNode: '\n '>, <Block Node: js. Contents: []>, <TextNode: '\n '>, <Block Node: extra_head. Contents: [<TextNode: '\n '>]>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n</head>\n\n<body class="'>, <Block Node: body_class. Contents: []>, <TextNode: '">\n'>, <django.template.defaulttags.CsrfTokenNode object at 0x7f674cdc44a8>, <TextNode: '\n'>, <Block Node: content. Contents: []>, <TextNode: '\n\n</body>\n</html>\n'>] |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| self | <Block Node: content. Contents: []> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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 '>, <Variable Node: block.super>, <TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7f674d140e10>, <TextNode: '\n'>]> |
| block_context | <django.template.loader_tags.BlockContext object at 0x7f674d140978> |
| context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| push | <Block Node: content. Contents: [<TextNode: '\n '>, <Variable Node: block.super>, <TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7f674d140e10>, <TextNode: '\n'>]> |
| self | <Block Node: content. Contents: []> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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(str(bit))
return mark_safe(''.join(bits))def get_nodes_by_type(self, nodetype):
| Variable | Value |
|---|---|
| bit | '\n ' |
| bits | ['\n '] |
| context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| node | <Variable Node: block.super> |
| self | [<TextNode: '\n '>, <Variable Node: block.super>, <TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7f674d140e10>, <TextNode: '\n'>] |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| self | <Variable Node: block.super> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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 | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| self | <Variable Node: block.super> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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 | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| ignore_failures | False |
| self | <django.template.base.FilterExpression object at 0x7f674d140fd0> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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 | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| self | <Variable: 'block.super'> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/django/template/base.py in _resolve_lookup
if callable(current):
if getattr(current, 'do_not_call_in_templates', False):
pass
elif getattr(current, 'alters_data', False):
current = context.template.engine.string_if_invalid
else:
try: # method call (assuming no args required)
current = current()…
except TypeError:
try:
getcallargs(current)
except TypeError: # arguments *were* required
current = context.template.engine.string_if_invalid # invalid method call
else:
| Variable | Value |
|---|---|
| bit | 'super' |
| context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| current | <bound method BlockNode.super of <Block Node: content. Contents: [<TextNode: '\n '>, <Variable Node: block.super>, <TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7f674d140e10>, <TextNode: '\n'>]>> |
| self | <Variable: 'block.super'> |
| template_name | 'cms/pages/content_page_amp.html' |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/django/template/loader_tags.py in super
raise TemplateSyntaxError(
"'%s' object has no attribute 'context'. Did you use "
"{{ block.super }} in a base template?" % self.__class__.__name__)
render_context = self.context.render_context
if (BLOCK_CONTEXT_KEY in render_context and
render_context[BLOCK_CONTEXT_KEY].get_block(self.name) is not None):
return mark_safe(self.render(self.context))…
return ''
class ExtendsNode(Node):
must_be_first = True
context_key = 'extends_context'
| Variable | Value |
|---|---|
| render_context | [{'True': True, 'False': False, 'None': None, <django.template.loader_tags.IncludeNode object at 0x7f674cdc4ba8>: {'cms/blocks/common/meta.html': <django.template.base.Template object at 0x7f674cdc4e10>}, <django.template.loader_tags.IncludeNode object at 0x7f674d128d30>: {'cms/blocks/common/favicon.html': <django.template.base.Template object at 0x7f674cd0cfd0>}, <django.template.loader_tags.IncludeNode object at 0x7f674c79bdd8>: {'cms/blocks/schemas/generated/webpage.html': <django.template.base.Template object at 0x7f674cf085f8>}, <django.template.loader_tags.IncludeNode object at 0x7f674d1409e8>: {'cms/blocks/common/google-analytics.html': <django.template.base.Template object at 0x7f674cf08ba8>}, <django.template.loader_tags.IncludeNode object at 0x7f674cdcfeb8>: {'cms/blocks/common/header.html': <django.template.base.Template object at 0x7f674d1a7ef0>}, <django.template.loader_tags.IncludeNode object at 0x7f674c6dd6d8>: {'cms/blocks/common/accordion.html': <django.template.base.Template object at 0x7f674d1a7320>}, <django.template.loader_tags.IncludeNode object at 0x7f674c7a4a90>: {'cms/blocks/common/nav.html': <django.template.base.Template object at 0x7f674cce13c8>}}] |
| self | <Block Node: content. Contents: [<TextNode: '\n '>, <Variable Node: block.super>, <TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7f674d140e10>, <TextNode: '\n'>]> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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 '>, <Block Node: header. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7f674cdcfeb8>, <TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7f674c6dd6d8>, <TextNode: '\n '>]>, <TextNode: '\n\n '>, <Block Node: content_body. Contents: [<TextNode: '\n '>, <ForNode: for block in page.body, tail_len: 3>, <TextNode: '\n '>]>, <TextNode: '\n\n '>, <Block Node: footer. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7f674c2e0320>, <TextNode: '\n '>]>, <TextNode: '\n'>]> |
| block_context | <django.template.loader_tags.BlockContext object at 0x7f674d140978> |
| context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| push | <Block Node: content. Contents: [<TextNode: '\n '>, <Block Node: header. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7f674cdcfeb8>, <TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7f674c6dd6d8>, <TextNode: '\n '>]>, <TextNode: '\n\n '>, <Block Node: content_body. Contents: [<TextNode: '\n '>, <ForNode: for block in page.body, tail_len: 3>, <TextNode: '\n '>]>, <TextNode: '\n\n '>, <Block Node: footer. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7f674c2e0320>, <TextNode: '\n '>]>, <TextNode: '\n'>]> |
| self | <Block Node: content. Contents: [<TextNode: '\n '>, <Variable Node: block.super>, <TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7f674d140e10>, <TextNode: '\n'>]> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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(str(bit))
return mark_safe(''.join(bits))def get_nodes_by_type(self, nodetype):
| Variable | Value |
|---|---|
| bit | '\n\n ' |
| bits | ['\n ', '\n' ' \n' '<div class="theme-space">\n' ' <header class="">\n' ' <div id="block-header">\n' ' <div class="header-container container full nopad">\n' ' \n' ' <div tabindex="0" role="menu" on="tap:sidebar1" ' 'id="accordion-open"\n' ' class="header-accordion s-cursor">\n' ' <amp-img class="s-icon x1-5 nopad" ' 'src="/static/webspace/img/svg/default.svg" alt="Accordion" ' 'layout="responsive" width="20" height="20"></amp-img>\n' ' </div>\n' ' \n' '\n' ' <div class="header-logo">\n' ' <a href="/">\n' ' <amp-img data-layout="responsive" data-width="200" ' 'data-height="55" ' 'src=" ' 'https://freelance.stationspatiale.com/www/documents/SVG_LOGO_SPACE_u8CcbbZ.svg ' '" alt="Logo" layout="responsive" width="200" height="55"></amp-img>\n' ' </a>\n' ' </div>\n' ' \n' ' </div>\n' ' </div>\n' ' </header>\n' '</div>\n' ' \n' '\n' '\n' ' <div class="theme-space">\n' ' <amp-sidebar id="sidebar1" layout="nodisplay" side="left">\n' ' <aside id="accordion" class="large">\n' ' <div class="accordion-header">\n' ' <p class="accordion-title">Navigation</p>\n' ' <div tabindex="1" role="menu" on="tap:sidebar1.close" ' 'id="accordion-close" class="s-cursor">\n' ' <amp-img class="s-icon x1 nopad" ' 'src="/static/webspace/img/svg/default.svg" alt="Accordion" ' 'layout="responsive" width="20" height="20"></amp-img>\n' ' </div>\n' ' </div>\n' ' <div class="accordion-nav">\n' ' \n' '<nav>\n' ' \n' ' <ul >\n' ' <li>\n' ' \n' ' <p class="ul-title">Home Page</p>\n' ' \n' ' <hr/>\n' ' <ul >\n' ' \n' ' <li class="odd">\n' ' <a href="\n' ' /"\n' ' \n' ' >\n' ' <p>Home Page</p>\n' ' </a>\n' ' </li>\n' ' \n' ' </ul>\n' ' </li>\n' ' </ul>\n' ' \n' '</nav>\n' '\n' ' </div>\n' ' <div class="accordion-footer">\n' ' <div class="btn-container s-center">\n' ' \n' ' </div>\n' ' </div>\n' ' </aside>\n' ' </amp-sidebar>\n' ' </div>\n' '\n' '\n' ' ', '\n\n '] |
| context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| node | <Block Node: content_body. Contents: [<TextNode: '\n '>, <ForNode: for block in page.body, tail_len: 3>, <TextNode: '\n '>]> |
| self | [<TextNode: '\n '>, <Block Node: header. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7f674cdcfeb8>, <TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7f674c6dd6d8>, <TextNode: '\n '>]>, <TextNode: '\n\n '>, <Block Node: content_body. Contents: [<TextNode: '\n '>, <ForNode: for block in page.body, tail_len: 3>, <TextNode: '\n '>]>, <TextNode: '\n\n '>, <Block Node: footer. Contents: [<TextNode: '\n '>, <django.template.loader_tags.IncludeNode object at 0x7f674c2e0320>, <TextNode: '\n '>]>, <TextNode: '\n'>] |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| self | <Block Node: content_body. Contents: [<TextNode: '\n '>, <ForNode: for block in page.body, tail_len: 3>, <TextNode: '\n '>]> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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_body. Contents: [<TextNode: '\n '>, <ForNode: for block in page.body, tail_len: 3>, <TextNode: '\n '>]> |
| block_context | <django.template.loader_tags.BlockContext object at 0x7f674d140978> |
| context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| push | <Block Node: content_body. Contents: [<TextNode: '\n '>, <ForNode: for block in page.body, tail_len: 3>, <TextNode: '\n '>]> |
| self | <Block Node: content_body. Contents: [<TextNode: '\n '>, <ForNode: for block in page.body, tail_len: 3>, <TextNode: '\n '>]> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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(str(bit))
return mark_safe(''.join(bits))def get_nodes_by_type(self, nodetype):
| Variable | Value |
|---|---|
| bit | '\n ' |
| bits | ['\n '] |
| context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| node | <ForNode: for block in page.body, tail_len: 3> |
| self | [<TextNode: '\n '>, <ForNode: for block in page.body, tail_len: 3>, <TextNode: '\n '>] |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| self | <ForNode: for block in page.body, tail_len: 3> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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:
# Pop the loop variables pushed on to the context to avoid
# the context ending up in an inconsistent state when other
# tags (e.g., include and with) push data to context.
context.pop()
| Variable | Value |
|---|---|
| context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| i | 1 |
| item | <wagtail.core.blocks.stream_block.StreamValue.StreamChild object at 0x7f674c30ef60> |
| len_values | 2 |
| loop_dict | {'counter': 2,
'counter0': 1,
'first': False,
'last': True,
'parentloop': {},
'revcounter': 1,
'revcounter0': 0} |
| node | <wagtail.core.templatetags.wagtailcore_tags.IncludeBlockNode object at 0x7f674d003390> |
| nodelist | ['\n ', '\n' '\n' '<div id="block-1"\n' ' class="header-padding text bg-pos-center theme-bg-space "\n' ' \n' ' \n' ' \n' ' \n' '>\n' ' <div class="container regular theme-space">\n' ' \n' ' <div class="rich-text-container align-text-center">\n' ' <div class="rich-text"><h1 id="calendly">Calendly</h1></div>\n' '</div>\n' '\n' '\n' ' </div>\n' '</div>\n', '\n ', '\n '] |
| num_loopvars | 1 |
| parentloop | {} |
| pop_context | False |
| self | <ForNode: for block in page.body, tail_len: 3> |
| unpack | False |
| values | [<wagtail.core.blocks.stream_block.StreamValue.StreamChild object at 0x7f674d1c97f0>, <wagtail.core.blocks.stream_block.StreamValue.StreamChild object at 0x7f674c30ef60>] |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| self | <wagtail.core.templatetags.wagtailcore_tags.IncludeBlockNode object at 0x7f674d003390> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/wagtail/core/templatetags/wagtailcore_tags.py in render
else:
new_context = {}if self.extra_context:
for var_name, var_value in self.extra_context.items():
new_context[var_name] = var_value.resolve(context)
return value.render_as_block(context=new_context)…
else:
return force_str(value)
@register.tag
def include_block(parser, token):
| Variable | Value |
|---|---|
| context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| new_context | {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10,
'ERROR': 40,
'INFO': 20,
'SUCCESS': 25,
'WARNING': 30},
'False': False,
'None': None,
'True': True,
'amp': True,
'block': <wagtail.core.blocks.stream_block.StreamValue.StreamChild object at 0x7f674c30ef60>,
'block_num': 2,
'csrf_token': <SimpleLazyObject: 'Ec35xbEaLdkEBi4NPOKNM9xwwsy6L7XxzaHb3sQEQvo8quWwUeT0tbAR6b9WVIRy'>,
'env': True,
'forloop': {'counter': 2,
'counter0': 1,
'first': False,
'last': True,
'parentloop': {},
'revcounter': 1,
'revcounter0': 0},
'icons': {'accordion': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'angle': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'cross': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'cross_red': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'email': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'facebook': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'help': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'info': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'instagram': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'left': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'linkedin': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'map_marker': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'pen': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'phone': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'right': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'search': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'success': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'tick': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'time': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'twitter': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'user': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'}},
'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f674c7a42b0>,
'page': <ContentPage: Calendly>,
'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f674d042780>,
'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>,
'self': <ContentPage: Calendly>,
'settings': {'cms': {'webspacesettings': <WebspaceSettings: Webspace… <trimmed 4237 bytes string> |
| self | <wagtail.core.templatetags.wagtailcore_tags.IncludeBlockNode object at 0x7f674d003390> |
| value | <wagtail.core.blocks.stream_block.StreamValue.StreamChild object at 0x7f674c30ef60> |
| var_name | 'block_num' |
| var_value | <django.template.base.FilterExpression object at 0x7f674d0036a0> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/wagtail/core/blocks/base.py in render_as_block
"""
Alias for render; the include_block tag will specifically check for the presence of a method
with this name. (This is because {% include_block %} is just as likely to be invoked on a barevalue as a BoundBlock. If we looked for a `render` method instead, we'd run the risk of finding
an unrelated method that just happened to have that name - for example, when called on a
PageChooserBlock it could end up calling page.render.
"""
return self.block.render(self.value, context=context)…
def id_for_label(self):
return self.block.id_for_label(self.prefix)
def __str__(self):
"""Render the value according to the block's native rendering"""
| Variable | Value |
|---|---|
| context | {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10,
'ERROR': 40,
'INFO': 20,
'SUCCESS': 25,
'WARNING': 30},
'False': False,
'None': None,
'True': True,
'amp': True,
'block': <wagtail.core.blocks.stream_block.StreamValue.StreamChild object at 0x7f674c30ef60>,
'block_num': 2,
'csrf_token': <SimpleLazyObject: 'Ec35xbEaLdkEBi4NPOKNM9xwwsy6L7XxzaHb3sQEQvo8quWwUeT0tbAR6b9WVIRy'>,
'env': True,
'forloop': {'counter': 2,
'counter0': 1,
'first': False,
'last': True,
'parentloop': {},
'revcounter': 1,
'revcounter0': 0},
'icons': {'accordion': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'angle': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'cross': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'cross_red': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'email': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'facebook': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'help': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'info': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'instagram': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'left': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'linkedin': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'map_marker': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'pen': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'phone': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'right': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'search': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'success': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'tick': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'time': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'twitter': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'user': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'}},
'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f674c7a42b0>,
'page': <ContentPage: Calendly>,
'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f674d042780>,
'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>,
'self': <ContentPage: Calendly>,
'settings': {'cms': {'webspacesettings': <WebspaceSettings: Webspace… <trimmed 4217 bytes string> |
| self | <wagtail.core.blocks.stream_block.StreamValue.StreamChild object at 0x7f674c30ef60> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/wagtail/core/blocks/base.py in render
return self.render_basic(value, context=context)
if context is None:
new_context = self.get_context(value)
else:
new_context = self.get_context(value, parent_context=dict(context))
return mark_safe(render_to_string(template, new_context))…
def get_api_representation(self, value, context=None):
"""
Can be used to customise the API response and defaults to the value returned by get_prep_value.
"""
return self.get_prep_value(value)
| Variable | Value |
|---|---|
| context | {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10,
'ERROR': 40,
'INFO': 20,
'SUCCESS': 25,
'WARNING': 30},
'False': False,
'None': None,
'True': True,
'amp': True,
'block': <wagtail.core.blocks.stream_block.StreamValue.StreamChild object at 0x7f674c30ef60>,
'block_num': 2,
'csrf_token': <SimpleLazyObject: 'Ec35xbEaLdkEBi4NPOKNM9xwwsy6L7XxzaHb3sQEQvo8quWwUeT0tbAR6b9WVIRy'>,
'env': True,
'forloop': {'counter': 2,
'counter0': 1,
'first': False,
'last': True,
'parentloop': {},
'revcounter': 1,
'revcounter0': 0},
'icons': {'accordion': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'angle': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'cross': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'cross_red': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'email': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'facebook': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'help': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'info': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'instagram': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'left': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'linkedin': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'map_marker': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'pen': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'phone': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'right': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'search': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'success': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'tick': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'time': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'twitter': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'user': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'}},
'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f674c7a42b0>,
'page': <ContentPage: Calendly>,
'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f674d042780>,
'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>,
'self': <ContentPage: Calendly>,
'settings': {'cms': {'webspacesettings': <WebspaceSettings: Webspace… <trimmed 4217 bytes string> |
| new_context | {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10,
'ERROR': 40,
'INFO': 20,
'SUCCESS': 25,
'WARNING': 30},
'False': False,
'None': None,
'True': True,
'amp': True,
'block': <wagtail.core.blocks.stream_block.StreamValue.StreamChild object at 0x7f674c30ef60>,
'block_num': 2,
'csrf_token': <SimpleLazyObject: 'Ec35xbEaLdkEBi4NPOKNM9xwwsy6L7XxzaHb3sQEQvo8quWwUeT0tbAR6b9WVIRy'>,
'env': True,
'forloop': {'counter': 2,
'counter0': 1,
'first': False,
'last': True,
'parentloop': {},
'revcounter': 1,
'revcounter0': 0},
'icons': {'accordion': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'angle': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'cross': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'cross_red': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'email': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'facebook': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'help': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'info': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'instagram': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'left': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'linkedin': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'map_marker': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'pen': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'phone': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'right': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'search': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'success': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'tick': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'time': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'twitter': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'user': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'}},
'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f674c7a42b0>,
'page': <ContentPage: Calendly>,
'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f674d042780>,
'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>,
'self': StructValue([('bg_desktop', []),
('bg_mobile', []),
… <trimmed 5216 bytes string> |
| self | <webspace.cms.blocks.entries.calendly.CalendlyEntry object at 0x7f674f94c5f8> |
| template | 'cms/blocks/entries/calendly_amp.html' |
| value | StructValue([('bg_desktop', []),
('bg_mobile', []),
('svg_bg_position', 'center'),
('theme', 'space'),
('container', 'regular'),
('padding_top', True),
('padding_bottom', True),
('link',
'https://calendly.com/station-spatiale/30min?hide_event_type_details=1&background_color=20202C&text_color=F7F7F7&primary_color=2FB196')]) |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/django/template/loader.py in render_to_string
Load a template and render it with a context. Return a string.
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)…
return template.render(context, request)
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
| Variable | Value |
|---|---|
| context | {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10,
'ERROR': 40,
'INFO': 20,
'SUCCESS': 25,
'WARNING': 30},
'False': False,
'None': None,
'True': True,
'amp': True,
'block': <wagtail.core.blocks.stream_block.StreamValue.StreamChild object at 0x7f674c30ef60>,
'block_num': 2,
'csrf_token': <SimpleLazyObject: 'Ec35xbEaLdkEBi4NPOKNM9xwwsy6L7XxzaHb3sQEQvo8quWwUeT0tbAR6b9WVIRy'>,
'env': True,
'forloop': {'counter': 2,
'counter0': 1,
'first': False,
'last': True,
'parentloop': {},
'revcounter': 1,
'revcounter0': 0},
'icons': {'accordion': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'angle': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'cross': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'cross_red': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'email': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'facebook': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'help': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'info': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'instagram': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'left': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'linkedin': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'map_marker': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'pen': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'phone': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'right': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'search': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'success': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'tick': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'time': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'twitter': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'user': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'}},
'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7f674c7a42b0>,
'page': <ContentPage: Calendly>,
'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7f674d042780>,
'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>,
'self': StructValue([('bg_desktop', []),
('bg_mobile', []),
… <trimmed 5216 bytes string> |
| request | None |
| template_name | 'cms/blocks/entries/calendly_amp.html' |
| using | None |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/django/template/loader.py in get_template
engines = _engine_list(using)
for engine in engines:
try:
return engine.get_template(template_name)
except TemplateDoesNotExist as e:
chain.append(e)
raise TemplateDoesNotExist(template_name, chain=chain)…
def select_template(template_name_list, using=None):
"""
Load and return a template for one of the given names.
| Variable | Value |
|---|---|
| chain | [TemplateDoesNotExist('cms/blocks/entries/calendly_amp.html',)] |
| engine | <django.template.backends.django.DjangoTemplates object at 0x7f674ed511d0> |
| engines | [<django.template.backends.django.DjangoTemplates object at 0x7f674ed511d0>] |
| template_name | 'cms/blocks/entries/calendly_amp.html' |
| using | None |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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)
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 | TemplateDoesNotExist('cms/blocks/entries/calendly_amp.html',) |
| get_response | <bound method BaseHandler._get_response of <django.core.handlers.base.BaseHandler object at 0x7f674c72bb70>> |
| request | <WSGIRequest: GET '/amp/blocks/calendly/?build=true'> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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 serve at 0x7f674e07c950> |
| callback_args | ('blocks/calendly/',) |
| callback_kwargs | {} |
| middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f674c6da518>> |
| request | <WSGIRequest: GET '/amp/blocks/calendly/?build=true'> |
| resolver | <URLResolver 'urls' (None:None) '^/'> |
| resolver_match | ResolverMatch(func=webspace.cms.amp.views.serve, args=('blocks/calendly/',), kwargs={}, url_name=wagtail_amp_serve, app_names=[], namespaces=[], route=^amp/((?:[\w\-]+/)*)$) |
| response | None |
| self | <django.core.handlers.base.BaseHandler object at 0x7f674c72bb70> |
| wrapped_callback | <function serve at 0x7f674e07c950> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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 serve at 0x7f674e07c950> |
| callback_args | ('blocks/calendly/',) |
| callback_kwargs | {} |
| middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f674c6da518>> |
| request | <WSGIRequest: GET '/amp/blocks/calendly/?build=true'> |
| resolver | <URLResolver 'urls' (None:None) '^/'> |
| resolver_match | ResolverMatch(func=webspace.cms.amp.views.serve, args=('blocks/calendly/',), kwargs={}, url_name=wagtail_amp_serve, app_names=[], namespaces=[], route=^amp/((?:[\w\-]+/)*)$) |
| response | None |
| self | <django.core.handlers.base.BaseHandler object at 0x7f674c72bb70> |
| wrapped_callback | <function serve at 0x7f674e07c950> |
/home/ariane/Dev/webspace/src/webspace/cms/amp/views.py in serve
from .utils import activate_amp_mode
def serve(request, path):
with activate_amp_mode():
response = wagtail_serve(request, path)
if isinstance(response, SimpleTemplateResponse):
response.render()…
return response
| Variable | Value |
|---|---|
| path | 'blocks/calendly/' |
| request | <WSGIRequest: GET '/amp/blocks/calendly/?build=true'> |
| response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/django/template/response.py in render
If the content has already been rendered, this is a no-op.
Return 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/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/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)
return template.render(context, self._request)…
def add_post_render_callback(self, callback):
"""Add a new post-rendering callback.
If the response has already been rendered,
invoke the callback immediately.
| Variable | Value |
|---|---|
| context | {'env': True,
'icons': {'accordion': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'angle': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'cross': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'cross_red': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'email': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'facebook': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'help': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'info': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'instagram': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'left': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'linkedin': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'map_marker': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'pen': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'phone': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'right': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'search': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'success': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'tick': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'time': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'twitter': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'},
'user': {'light': '/static/webspace/img/svg/default.svg',
'space': '/static/webspace/img/svg/default.svg'}},
'page': <ContentPage: Calendly>,
'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>,
'self': <ContentPage: Calendly>} |
| self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
| template | <django.template.backends.django.Template object at 0x7f674d065160> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/django/template/backends/django.py in render
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):
"""
Create a new TemplateDoesNotExist. Preserve its declared attributes and
template debug data but discard __traceback__, __context__, and __cause__
| Variable | Value |
|---|---|
| context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <ContentPage: Calendly>, 'self': <ContentPage: Calendly>, 'request': <WSGIRequest: GET '/amp/blocks/calendly/?build=true'>, 'env': True, 'icons': {'user': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'angle': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'cross_red': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'email': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'facebook': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'instagram': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'linkedin': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'info': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'right': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'left': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'map_marker': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'success': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'pen': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'phone': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'help': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'search': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'tick': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'time': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'accordion': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}, 'twitter': {'space': '/static/webspace/img/svg/default.svg', 'light': '/static/webspace/img/svg/default.svg'}}}] |
| request | <WSGIRequest: GET '/amp/blocks/calendly/?build=true'> |
| self | <django.template.backends.django.Template object at 0x7f674d065160> |
/home/ariane/Dev/virtualenvs/WEBSPACE/lib/python3.6/site-packages/django/template/backends/django.py in reraise
def reraise(exc, backend):
"""
Reraise TemplateDoesNotExist while maintaining template debug information.
"""
new = copy_exception(exc, backend)
raise new from exc…
def get_installed_libraries():
"""
Return the built-in template tag libraries and those from installed
applications. Libraries are stored in a dictionary where keys are the
| Variable | Value |
|---|---|
| backend | <django.template.backends.django.DjangoTemplates object at 0x7f674ed511d0> |
| exc | TemplateDoesNotExist('cms/blocks/entries/calendly_amp.html',) |
| new | TemplateDoesNotExist('cms/blocks/entries/calendly_amp.html',) |
AnonymousUser
| Variable | Value |
|---|---|
| build | 'true' |
No POST data
No FILES data
No cookie data
| Variable | Value |
|---|---|
| CSRF_COOKIE | 'BdfMdLgshYqxScbN7xohO0h6K6R9pTt0wbTSJ2sWmgu1Ho3wcXxuv2krkPsZzun1' |
| CSRF_COOKIE_USED | True |
| HTTP_COOKIE | '' |
| HTTP_USER_AGENT | ('Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) '
'AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 '
'Safari/604.1') |
| PATH_INFO | '/amp/blocks/calendly/' |
| QUERY_STRING | 'build=true' |
| REMOTE_ADDR | '127.0.0.1' |
| REQUEST_METHOD | 'GET' |
| SCRIPT_NAME | '' |
| SERVER_NAME | 'localhost' |
| SERVER_PORT | '80' |
| SERVER_PROTOCOL | 'HTTP/1.1' |
| wsgi.errors | <_io.BytesIO object at 0x7f674cdcde60> |
| wsgi.input | <django.test.client.FakePayload object at 0x7f674cc3cf98> |
| wsgi.multiprocess | True |
| wsgi.multithread | False |
| wsgi.run_once | False |
| wsgi.url_scheme | 'http' |
| wsgi.version | (1, 0) |
settings| Setting | Value |
|---|---|
| ABSOLUTE_URL_OVERRIDES | {} |
| ADMINS | [] |
| ALLOWED_HOSTS | ['127.0.0.1', 'localhost'] |
| APPEND_SLASH | True |
| AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
| AUTH_PASSWORD_VALIDATORS | '********************' |
| AUTH_USER_MODEL | 'account.User' |
| AWS_ACCESS_KEY_ID | '********************' |
| AWS_DEFAULT_ACL | 'public-read' |
| AWS_IS_GZIPPED | True |
| AWS_LOCATION | 'www/' |
| AWS_S3_CUSTOM_DOMAIN | 'freelance.stationspatiale.com' |
| AWS_S3_FILE_OVERWRITE | False |
| AWS_S3_OBJECT_PARAMETERS | {'CacheControl': 'public, max-age=31536000'} |
| AWS_S3_REGION_NAME | 'eu-west-3' |
| AWS_SECRET_ACCESS_KEY | '********************' |
| AWS_SES_REGION_ENDPOINT | 'email.eu-west-1.amazonaws.com' |
| AWS_SES_REGION_NAME | 'eu-west-1' |
| AWS_STORAGE_BUCKET_NAME | 'station-spatiale' |
| BAKERY_GZIP | True |
| BAKERY_VIEWS | ('webspace.cms.bakery.views.wagtail.AllBuildablePagesView',
'webspace.cms.bakery.views.wagtail.BlogIndexTagPagesView') |
| BASE_DIR | '/home/ariane/Dev/webspace/src' |
| BUILD_DIR | '/home/ariane/Dev/webspace/src/webspace/cms/templates/build' |
| CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
| CACHE_MIDDLEWARE_ALIAS | 'default' |
| CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
| CACHE_MIDDLEWARE_SECONDS | 600 |
| CSRF_COOKIE_AGE | 31449600 |
| CSRF_COOKIE_DOMAIN | None |
| CSRF_COOKIE_HTTPONLY | False |
| CSRF_COOKIE_NAME | 'csrftoken' |
| CSRF_COOKIE_PATH | '/' |
| CSRF_COOKIE_SAMESITE | 'Lax' |
| 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',
'HOST': '127.0.0.1',
'NAME': 'webspacedb',
'OPTIONS': {},
'PASSWORD': '********************',
'PORT': 5432,
'TEST': {'CHARSET': None,
'COLLATION': None,
'MIRROR': None,
'NAME': None},
'TIME_ZONE': None,
'USER': 'postgres'}} |
| DATABASE_ROUTERS | [] |
| DATA_UPLOAD_MAX_MEMORY_SIZE | 26214400 |
| DATA_UPLOAD_MAX_NUMBER_FIELDS | 10240 |
| DATETIME_FORMAT | 'N j, Y, P' |
| 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'] |
| DEBUG | True |
| DEBUG_PROPAGATE_EXCEPTIONS | False |
| DECIMAL_SEPARATOR | '.' |
| DEFAULT_CHARSET | 'utf-8' |
| DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
| DEFAULT_FILE_STORAGE | 'storages.backends.s3boto3.S3Boto3Storage' |
| DEFAULT_FROM_EMAIL | 'changeMe <change@me>' |
| DEFAULT_INDEX_TABLESPACE | '' |
| DEFAULT_TABLESPACE | '' |
| DISALLOWED_USER_AGENTS | [] |
| EMAIL_BACKEND | 'django_ses.SESBackend' |
| EMAIL_HOST | 'localhost' |
| EMAIL_HOST_PASSWORD | '********************' |
| EMAIL_HOST_USER | '' |
| EMAIL_PORT | 25 |
| EMAIL_SSL_CERTFILE | None |
| EMAIL_SSL_KEYFILE | '********************' |
| EMAIL_SUBJECT_PREFIX | '[Django] ' |
| EMAIL_TIMEOUT | None |
| EMAIL_USE_LOCALTIME | False |
| EMAIL_USE_SSL | True |
| EMAIL_USE_TLS | False |
| 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 | 420 |
| FILE_UPLOAD_TEMP_DIR | None |
| FIRST_DAY_OF_WEEK | 0 |
| FIXTURE_DIRS | [] |
| FOLDER_FILE_UPLOAD_S3 | 'www' |
| FORCE_SCRIPT_NAME | None |
| FORMAT_MODULE_PATH | None |
| FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
| IGNORABLE_404_URLS | [] |
| INSTALLED_APPS | ['webspace.account', 'webspace.cms.apps.CmsConfig', 'wagtail.contrib.forms', 'wagtail.contrib.redirects', 'wagtail.embeds', 'wagtail.sites', 'wagtail.users', 'wagtail.snippets', 'wagtail.documents', 'wagtail.images', 'wagtail.search', 'wagtail.admin', 'wagtail.core', 'wagtail.contrib.settings', 'wagtail.contrib.frontend_cache', 'storages', 'modelcluster', 'taggit', 'django_social_share', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'django.contrib.sitemaps', 'django_user_agents'] |
| 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'),
('hy', 'Armenian'),
('ia', 'Interlingua'),
('id', 'Indonesian'),
('io', 'Ido'),
('is', 'Icelandic'),
('it', 'Italian'),
('ja', 'Japanese'),
('ka', 'Georgian'),
('kab', 'Kabyle'),
('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'),
('uz', 'Uzbek'),
('vi', 'Vietnamese'),
('zh-hans', 'Simplified Chinese'),
('zh-hant', 'Traditional Chinese')] |
| LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
| LANGUAGE_CODE | 'fr-FR' |
| LANGUAGE_COOKIE_AGE | None |
| LANGUAGE_COOKIE_DOMAIN | None |
| LANGUAGE_COOKIE_HTTPONLY | False |
| LANGUAGE_COOKIE_NAME | 'django_language' |
| LANGUAGE_COOKIE_PATH | '/' |
| LANGUAGE_COOKIE_SAMESITE | None |
| LANGUAGE_COOKIE_SECURE | False |
| LOCALE_PATHS | [] |
| LOGGING | {'disable_existing_loggers': False,
'formatters': {'simple': {'format': '%(levelname)s %(message)s'},
'success': {'()': 'webspace.formatter.DjangoColorsFormatter',
'format': '\x1b[92m[%(asctime)s] SUCCESS\x1b[0m '
'\x1b[1m%(name)s\x1b[0m '
'(%(module)s.%(funcName)s.L%(lineno)d) '
'-> %(message)s'},
'verbose': {'()': 'webspace.formatter.DjangoColorsFormatter',
'format': '[%(asctime)s] %(levelname)s\x1b[0m '
'\x1b[1m%(name)s\x1b[0m '
'(%(module)s.%(funcName)s.L%(lineno)d) '
'-> %(message)s'}},
'handlers': {'console': {'class': 'logging.StreamHandler',
'formatter': 'verbose',
'level': 'DEBUG'},
'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
'level': 'ERROR'},
'null': {'class': 'logging.NullHandler', 'level': 'DEBUG'},
'success': {'class': 'logging.StreamHandler',
'formatter': 'success',
'level': 'DEBUG'}},
'loggers': {'aws': {'handlers': ['console'],
'level': 'DEBUG',
'propagate': True},
'cms': {'handlers': ['success'],
'level': 'DEBUG',
'propagate': True},
'django': {'handlers': ['console'],
'level': 'INFO',
'propagate': True},
'django.db.backends': {'handlers': ['null'],
'level': 'DEBUG',
'propagate': False}},
'version': 1} |
| LOGGING_CONFIG | 'logging.config.dictConfig' |
| LOGIN_REDIRECT_URL | '/accounts/profile/' |
| LOGIN_URL | '/accounts/login/' |
| LOGOUT_REDIRECT_URL | None |
| MANAGERS | [] |
| MEDIA_ROOT | '/home/ariane/Dev/webspace/src/mediafiles' |
| MEDIA_URL | 'https://s3-eu-west-3.amazonaws.com/station-spatiale/' |
| 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.middleware.clickjacking.XFrameOptionsMiddleware', 'django_user_agents.middleware.UserAgentMiddleware', 'django.middleware.gzip.GZipMiddleware', 'webspace.middleware.ConfigMiddleware', 'wagtail.core.middleware.SiteMiddleware', 'wagtail.contrib.redirects.middleware.RedirectMiddleware'] |
| MIGRATION_MODULES | {} |
| MONTH_DAY_FORMAT | 'F j' |
| NUMBER_GROUPING | 0 |
| PASSWORD_HASHERS | '********************' |
| PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
| PREPEND_WWW | False |
| RICH_TEXT_FEATURES | ['h2', 'h3', 'h4', 'bold', 'italic', 'link', 'ol', 'ul', 'hr', 'code-block', 'blockquote', 'strikethrough', 'mark'] |
| ROOT_URLCONF | 'urls' |
| S3DIRECT_REGION | 'eu-west-3' |
| SECRET_KEY | '********************' |
| SECURE_BROWSER_XSS_FILTER | False |
| SECURE_CONTENT_TYPE_NOSNIFF | True |
| SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
| SECURE_HSTS_PRELOAD | False |
| SECURE_HSTS_SECONDS | 0 |
| SECURE_PROXY_SSL_HEADER | None |
| SECURE_REDIRECT_EXEMPT | [] |
| SECURE_REFERRER_POLICY | None |
| 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_SAMESITE | 'Lax' |
| 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 | '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 |
| SITE_NAME | 'test' |
| STATICFILES_DIRS | ('/home/ariane/Dev/webspace/src/static',) |
| STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
| STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
| STATIC_ROOT | '/home/ariane/Dev/webspace/src/staticfiles' |
| STATIC_URL | '/static/' |
| TEMPLATES | [{'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['/home/ariane/Dev/webspace/src/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',
'wagtail.contrib.settings.context_processors.settings',
'webspace.cms.amp.context_processors.amp'],
'libraries': {'my': 'webspace.cms.templatetags.my',
'my_amp': 'webspace.cms.templatetags.my_amp',
'my_minify': 'webspace.cms.templatetags.my_minify'},
'loaders': ['django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader']}}] |
| TEST_NON_SERIALIZED_APPS | [] |
| TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
| THOUSAND_SEPARATOR | ',' |
| TIME_FORMAT | 'P' |
| TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
| TIME_ZONE | 'Europe/Paris' |
| URL_BUCKET_FILE | 'https://s3-eu-west-3.amazonaws.com/station-spatiale/www' |
| USE_I18N | True |
| USE_L10N | True |
| USE_THOUSAND_SEPARATOR | False |
| USE_TZ | False |
| USE_X_FORWARDED_HOST | False |
| USE_X_FORWARDED_PORT | False |
| VERSION | '2.7.30' |
| VERSION_WEBSPACE | '2.7.30' |
| WAGTAILDOCS_DOCUMENT_MODEL | 'cms.MyDocument' |
| WAGTAILDOCS_SERVE_METHOD | 'direct' |
| WAGTAIL_BLOG_AUTHOR_PAGE | 'account.User' |
| WAGTAIL_BLOG_POSTS_PER_PAGE | 25 |
| WAGTAIL_SITE_NAME | 'test' |
| WSGI_APPLICATION | 'wsgi.application' |
| X_FRAME_OPTIONS | 'DENY' |
| 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.