'NoneType' object has no attribute 'collection_testimonial'
Request Method: | GET |
---|---|
Request URL: | http://www.stcharleschamber.com/event-landing/all-events/2019-holidayparty/ |
Django Version: | 3.1.8 |
Exception Type: | AttributeError |
Exception Value: | 'NoneType' object has no attribute 'collection_testimonial' |
Exception Location: | /code/mgz_website/mgz_blocks.py, line 360, in get_context |
Python Executable: | /usr/local/bin/python |
Python Version: | 3.9.16 |
Python Path: | ['/code', '/usr/local/bin', '/usr/local/lib/python39.zip', '/usr/local/lib/python3.9', '/usr/local/lib/python3.9/lib-dynload', '/usr/local/lib/python3.9/site-packages'] |
Server time: | Fri, 29 Mar 2024 08:18:51 -0500 |
In template /code/mgz_web/templates/base.html
, error at line 0
1 | {% load static wagtailuserbar %} {% load static %} {% load wagtailimages_tags %} |
---|---|
2 | <!-- {% if self.search_description %}{{ self.search_description }}{% else %}{{ self.title }}{% endif %} --> |
3 | <!DOCTYPE html> |
4 | <html class="no-js" lang="en"> |
5 | <head> |
6 | <meta charset="utf-8" /> |
7 | <title> |
8 | {% block title %} |
9 | {% if self.seo_title %} {{ self.seo_title }} {% else%} {{self.title }} {% endif %} |
10 | {% endblock %} |
/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py
, line 47, in inner
response = await sync_to_async(response_for_exception, thread_sensitive=False)(request, exc)
return response
return inner
else:
@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 | AttributeError("'NoneType' object has no attribute 'collection_testimonial'") |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7d9d8c58a7c0>> |
request | <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'> |
/usr/local/lib/python3.9/site-packages/django/core/handlers/base.py
, line 204, in _get_response
response,
middleware_method,
name='%s.process_template_response' % (
middleware_method.__self__.__class__.__name__,
)
)
try:
response = response.render()…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
return response
Variable | Value |
---|---|
callback | <function serve at 0x7d9d8b379af0> |
callback_args | ('event-landing/all-events/2019-holidayparty/',) |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7d9d8c438760>> |
request | <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7d9d8c58a7c0> |
wrapped_callback | <function serve at 0x7d9d8b379af0> |
/usr/local/lib/python3.9/site-packages/django/template/response.py
, line 105, 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"> |
/usr/local/lib/python3.9/site-packages/django/template/response.py
, line 83, 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 | {'formvar': 0, 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'page': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'self': <EventPage: 2019 Holiday Party>} |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | <django.template.backends.django.Template object at 0x7d9d8accdb80> |
/usr/local/lib/python3.9/site-packages/django/template/backends/django.py
, line 61, 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': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
request | <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'> |
self | <django.template.backends.django.Template object at 0x7d9d8accdb80> |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 170, 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': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
self | <django.template.base.Template object at 0x7d9d8a4fbd00> |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 162, 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': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
self | <django.template.base.Template object at 0x7d9d8a4fbd00> |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 938, 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': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
node | <ExtendsNode: extends "mgz-base-final.html"> |
self | [<ExtendsNode: extends "mgz-base-final.html">] |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 905, 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': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
self | <ExtendsNode: extends "mgz-base-final.html"> |
/usr/local/lib/python3.9/site-packages/django/template/loader_tags.py
, line 150, 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 0x7d9d89f3b220> |
compiled_parent | <django.template.base.Template object at 0x7d9d8a36f880> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
node | <ExtendsNode: extends settings.mgz_website.Mgz_Settings.footer_template> |
self | <ExtendsNode: extends "mgz-base-final.html"> |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 162, 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': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
self | <django.template.base.Template object at 0x7d9d8a36f880> |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 938, 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': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
node | <ExtendsNode: extends settings.mgz_website.Mgz_Settings.footer_template> |
self | [<ExtendsNode: extends settings.mgz_website.Mgz_Settings.footer_template>] |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 905, 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': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
self | <ExtendsNode: extends settings.mgz_website.Mgz_Settings.footer_template> |
/usr/local/lib/python3.9/site-packages/django/template/loader_tags.py
, line 150, 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 0x7d9d89f3b220> |
compiled_parent | <django.template.base.Template object at 0x7d9d8aac8370> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
node | <ExtendsNode: extends settings.mgz_website.Mgz_Settings.header_template> |
self | <ExtendsNode: extends settings.mgz_website.Mgz_Settings.footer_template> |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 162, 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': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
self | <django.template.base.Template object at 0x7d9d8aac8370> |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 938, 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': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
node | <ExtendsNode: extends settings.mgz_website.Mgz_Settings.header_template> |
self | [<ExtendsNode: extends settings.mgz_website.Mgz_Settings.header_template>] |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 905, 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': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
self | <ExtendsNode: extends settings.mgz_website.Mgz_Settings.header_template> |
/usr/local/lib/python3.9/site-packages/django/template/loader_tags.py
, line 150, 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 0x7d9d89f3b220> |
compiled_parent | <django.template.base.Template object at 0x7d9d89eaaa60> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
node | <ExtendsNode: extends "base.html"> |
self | <ExtendsNode: extends settings.mgz_website.Mgz_Settings.header_template> |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 162, 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': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
self | <django.template.base.Template object at 0x7d9d89eaaa60> |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 938, 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 | '<!-- Right side drawer menu with custom top links -->\n\n' |
bits | ['<!-- Right side drawer menu with custom top links -->\n\n'] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
node | <ExtendsNode: extends "base.html"> |
self | [<TextNode: '<!-- Right side drawer me'>, <ExtendsNode: extends "base.html">] |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 905, 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': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
self | <ExtendsNode: extends "base.html"> |
/usr/local/lib/python3.9/site-packages/django/template/loader_tags.py
, line 150, 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 0x7d9d89f3b220> |
blocks | {'body_class': <Block Node: body_class. Contents: []>, 'content': <Block Node: content. Contents: []>, 'extra_css': <Block Node: extra_css. Contents: [<TextNode: ' '>, <TextNode: ' \n '>]>, 'extra_js': <Block Node: extra_js. Contents: [<TextNode: ' \n '>, <TextNode: ' \n '>]>, 'header_tracking_and_verification_code': <Block Node: header_tracking_and_verification_code. Contents: [<TextNode: ' \n '>, <TextNode: ' \n '>]>, 'mgz_footer': <Block Node: mgz_footer. Contents: []>, 'mgz_header': <Block Node: mgz_header. Contents: []>, 'title': <Block Node: title. Contents: [<TextNode: ' \n '>, <IfNode>, <TextNode: ' \n '>]>, 'title_suffix': <Block Node: title_suffix. Contents: [<TextNode: '\n '>, <WithNode>, <TextNode: '\n '>]>} |
compiled_parent | <django.template.base.Template object at 0x7d9d89f50460> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
node | <django.template.defaulttags.LoadNode object at 0x7d9d8a91c1c0> |
self | <ExtendsNode: extends "base.html"> |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 162, 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': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
self | <django.template.base.Template object at 0x7d9d89f50460> |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 938, 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 | ' ' |
bits | ['', ' ', '', ' ', '', '\n<!-- ', '2019 Holiday Party', ' -->\n' '<!DOCTYPE html>\n' '<html class="no-js" lang="en">\n' ' <head>\n' ' <meta charset="utf-8" />\n' ' <title>\n' ' ', ' \n 2019 Holiday Party \n ', ' \n ', '\n -\n St Charles Chamber of Commerce\n ', '\n </title>\n <meta name="description" content="', '2019 Holiday Party', '"/>\n' ' <meta name="viewport" content="width=device-width, initial-scale=1.0" ' '/>\n' ' ', '\n' ' <meta property="og:locale" content="en_US" />\n' ' <meta property="og:type" content="article" />\n' ' <meta property="og:title" content="', '2019 Holiday Party', '" />\n <meta property="og:description" content="', '2019 Holiday Party', '" />\n <meta property="og:url" content="', 'http://stcharleschamber.com//event-landing/all-events/2019-holidayparty/', '" />\n <meta property="og:site_name" content="', 'St Charles Chamber of Commerce', '" />\n ', '', ' \n ', '<!-- mgz-load-color-stylesheets start -->\n' '\n' '\n' ' <link rel="stylesheet" type="text/css" ' 'href="/netz_custom/static/css/mgz-cs-0007.css"> \n' '\n' ' <link rel="stylesheet" type="text/css" ' 'href="/netz_custom/static/css/mgz-cs-0011.css"> \n' '\n' ' <link rel="stylesheet" type="text/css" ' 'href="/netz_custom/static/css/mgz-cs-0008.css"> \n' '\n' ' <link rel="stylesheet" type="text/css" ' 'href="/netz_custom/static/css/mgz-cs-0009.css"> \n' '\n' ' <link rel="stylesheet" type="text/css" ' 'href="/netz_custom/static/css/mgz-cs-0010.css"> \n' '\n' ' <link rel="stylesheet" type="text/css" ' 'href="/netz_custom/static/css/mgz-cs-0012.css"> \n' '\n' ' <!-- mgz-load-color-stylesheets end -->', '\n' ' <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro" ' 'rel="stylesheet" />\n' ' <link rel="canonical" href="', 'http://stcharleschamber.com//event-landing/all-events/2019-holidayparty/', '" />\n ', '', '\n <link rel="shortcut icon" href="', 'https://storage.googleapis.com/vrz--stcharleschamber-explore-wagtail/images/favicon.original.max-32x32.format-jpeg.jpegquality-100.jpg?Expires=3614125468&GoogleAccessId=clearcommunications-20190424%40constant-autumn-214418.iam.gserviceaccount.com&Signature=CQWhsglXSpFFUm69eyaufjPzZXxPQlbKYHKFVPHwVqU1ObFANA8wIgJtIsNXp0NW2hCov9l5kVpz1nYrE4fn38BOaadZfiAoDyvOtXuwvJXM3ToNP6hIvl4Ye5gpssUa3a6Nsq9BWzSDv5N0j%2F%2FQFMWWcCgK43CSjO8IcC5lXXITwJ07czerBlVwmWDjPNaftc4eXnE0DuIPfqrMOx6o12l9Em%2BDpPBar1mRwP3XpP78ozHqoQkqkJTZQj%2BwtMo9oDDup4aTRxY1dYlRqztZooUNKF4UAJARa47k5bXIaFLRTF0Pg5lV%2FdX9jGlVAdMIGSqIFYzfkr03ltZcYop%2FRg%3D%3D', '" /> \n' ' <link rel="shortcut icon" href="#" />\n' ' <link rel="stylesheet" type="text/css" href="', '/netz_custom/static/css/mgz-general.css', '" />\n <link rel="stylesheet" type="text/css" href="', '/netz_custom/static/css/mgz-footer.css', '" />\n ', '\n', ' \n ', '\n' '<meta name="msvalidate.01" content="4B1542C4E354F96A02E026D0C3F9BF01" />\n' '<meta name="google-site-verification" ' 'content="He2LLrsvtCBRF0-wdc-sMHKpFj9T5xWoqL-ItwPKD9Y" />\n' '<!-- Global site tag (gtag.js) - Google Analytics --> <script async ' 'src="https://www.googletagmanager.com/gtag/js?id=UA-89685445-1"></script> ' '<script> window.dataLayer = window.dataLayer || []; function ' "gtag(){dataLayer.push(arguments);} gtag('js', new Date()); " "gtag('config', 'UA-89685445-1'); </script>\n" '\n' '\n', '\n </head>\n <body class="', 'template-homepage', '">\n ', '', ' ', '\n' '\n' '<style>\n' ' .mgz-nav-top-02 {\n' '\t height: 55px;\n' ' }\n' ' .mgz-nav-top-02 img {\n' '\t\tmax-height: 55px;\n' '\t}\n' ' .nav-image-large {\n' ' max-height: 55px;\n' ' }\n' ' .nav-dropdown-items{\n' ' top: 55px;\n' ' }\n' ' .top-spacer {\n' ' height: 55px;\n' ' }\n' ' .nav-drill {\n' ' margin-top: 55px;\n' ' }\n' '</style>\n' '\n' '<link rel="stylesheet" type="text/css" ' 'href="/netz_cu… <trimmed 29534 bytes string> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
node | <Block Node: content. Contents: []> |
self | [<django.template.defaulttags.LoadNode object at 0x7d9d8a91c1c0>, <TextNode: ' '>, <django.template.defaulttags.LoadNode object at 0x7d9d8a91c310>, <TextNode: ' '>, <django.template.defaulttags.LoadNode object at 0x7d9d8aef0790>, <TextNode: '\n<!-- '>, <IfNode>, <TextNode: ' -->\n<!DOCTYPE html>\n<htm'>, <Block Node: title. Contents: [<TextNode: ' \n '>, <IfNode>, <TextNode: ' \n '>]>, <TextNode: ' \n '>, <Block Node: title_suffix. Contents: [<TextNode: '\n '>, <WithNode>, <TextNode: '\n '>]>, <TextNode: '\n </title>\n <meta n'>, <IfNode>, <TextNode: '"/>\n <meta name="viewp'>, <TextNode: '\n <meta property="og:l'>, <IfNode>, <TextNode: '" />\n <meta property="'>, <IfNode>, <TextNode: '" />\n <meta property="'>, <Variable Node: self.full_url>, <TextNode: '" />\n <meta property="'>, <Variable Node: self.get_site.site_name>, <TextNode: '" />\n '>, <django.template.defaulttags.LoadNode object at 0x7d9d89f31850>, <TextNode: ' \n '>, <django.template.library.InclusionNode object at 0x7d9d8a491730>, <TextNode: '\n <link href="https://'>, <Variable Node: self.full_url>, <TextNode: '" />\n '>, <wagtail.images.templatetags.wagtailimages_tags.ImageNode object at 0x7d9d8a7f3eb0>, <TextNode: '\n <link rel="shortcut '>, <Variable Node: favicon.url>, <TextNode: '" /> \n <link rel="shor'>, <django.templatetags.static.StaticNode object at 0x7d9d89e5d7c0>, <TextNode: '" />\n <link rel="style'>, <django.templatetags.static.StaticNode object at 0x7d9d89e5dc10>, <TextNode: '" />\n '>, <Block Node: extra_css. Contents: [<TextNode: ' '>, <TextNode: ' \n '>]>, <TextNode: ' \n '>, <Block Node: header_tracking_and_verification_code. Contents: [<TextNode: ' \n '>, <TextNode: ' \n '>]>, <TextNode: '\n </head>\n <body class='>, <Block Node: body_class. Contents: []>, <TextNode: '">\n '>, <django.template.library.SimpleNode object at 0x7d9d89e5de80>, <TextNode: ' '>, <Block Node: mgz_header. Contents: []>, <TextNode: ' '>, <Block Node: content. Contents: []>, <TextNode: ' '>, <Block Node: mgz_footer. Contents: []>, <TextNode: ' \n '>, <TextNode: '\n '>, <Block Node: extra_js. Contents: [<TextNode: ' \n '>, <TextNode: ' \n '>]>, <TextNode: '\n </body>\n</html>\n'>] |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 905, 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': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
self | <Block Node: content. Contents: []> |
/usr/local/lib/python3.9/site-packages/django/template/loader_tags.py
, line 62, 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\n'>, <django.template.defaulttags.LoadNode object at 0x7d9d89f3b5b0>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7d9d8b449940>, <TextNode: '\n\n<content>\n '>, <ForNode: for block in page.streamfield, tail_len: 3>, <TextNode: '\n</content>\n\n'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7d9d89f3b220> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
push | <Block Node: content. Contents: [<TextNode: '\n\n'>, <django.template.defaulttags.LoadNode object at 0x7d9d89f3b5b0>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7d9d8b449940>, <TextNode: '\n\n<content>\n '>, <ForNode: for block in page.streamfield, tail_len: 3>, <TextNode: '\n</content>\n\n'>]> |
self | <Block Node: content. Contents: []> |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 938, 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<content>\n ' |
bits | ['\n\n', '', '\n', '', '\n\n<content>\n '] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
node | <ForNode: for block in page.streamfield, tail_len: 3> |
self | [<TextNode: '\n\n'>, <django.template.defaulttags.LoadNode object at 0x7d9d89f3b5b0>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7d9d8b449940>, <TextNode: '\n\n<content>\n '>, <ForNode: for block in page.streamfield, tail_len: 3>, <TextNode: '\n</content>\n\n'>] |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 905, 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': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
self | <ForNode: for block in page.streamfield, tail_len: 3> |
/usr/local/lib/python3.9/site-packages/django/template/defaulttags.py
, line 211, 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': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
i | 6 |
item | <block Testimonial: StructValue([('wrapper_color', 'mgz-wrapcolor-white'), ('color_style_sheet', None), ('color_style', 'mgz-colors-1'), ('testimonial_page', None), ('testimonial_collection', None)])> |
len_values | 14 |
loop_dict | {'counter': 7, 'counter0': 6, 'first': False, 'last': False, 'parentloop': {}, 'revcounter': 8, 'revcounter0': 7} |
node | <wagtail.core.templatetags.wagtailcore_tags.IncludeBlockNode object at 0x7d9d8ac93520> |
nodelist | ['\n ', '\n' '<!-- mgz-svg-element-01 header -->\n' '\n' '<link rel="stylesheet" type="text/css" ' 'href="/netz_custom/static/css/mgz-svg-01.css">\n' '\n' '\n' '\n' '<!-- mgz-svg-element-01 start -->\n' '<div class="mgz-svg-01">\n' ' <div class="mgz-wrapper" >\n' ' <div class="mgz-block"> \n' ' \n' '\n' ' </div>\n' '\n' ' </div>\n' '</div>\n' '\n' '<!-- mgz-svg-element-01 end -->', '\n ', '\n ', '\n' '<!-- mgz-spacer-01 header -->\n' '\n' '<link rel="stylesheet" type="text/css" ' 'href="/netz_custom/static/css/mgz-spacer-01.css">\n' '\n' '\n' '\n' '<!-- mgz-spacer-01 start -->\n' '<div class="mgz-spacer-01 mgz-layouts-2" >\n' ' <div class="mgz-wrapper" >\n' ' <div class="mgz-block"> \n' '\n' ' </div>\n' '\n' ' </div>\n' '</div>\n' '\n' '<!-- mgz-spacer-01 end -->', '\n ', '\n ', '\n' '<!-- mgz-event-header-01 header -->\n' '<!-- Across VoyagerNetz Explore we use a banner image size with a ratio of ' '1000x524 -->\n' '<!-- This is the same ratio which facebook uses for event banners (1200 x ' '628) -->\n' '<!-- Images should be provided in ratio 2000x1048 -->\n' '\n' '\n' '\n' '<link rel="stylesheet" type="text/css" ' 'href="/netz_custom/static/css/mgz-event-header-01.css">\n' '\n' '\n' '\n' '\n' '\n' '<!-- mgz-event-header-01 start -->\n' '\n' '\n' '<div class="mgz-event-header-01 mgz-cs-0007 mgz-colors-1 ">\n' ' <div class="mgz-wrapper">\n' ' <div class="mgz-block">\n' ' <div class="event-header-image"><img alt="2.jpg" height="524" ' 'src="https://storage.googleapis.com/vrz--stcharleschamber-explore-wagtail/images/2.2e16d0ba.fill-1000x524.jpg?Expires=3614125468&GoogleAccessId=clearcommunications-20190424%40constant-autumn-214418.iam.gserviceaccount.com&Signature=MOlB42mY7jqQHvL%2Fi%2FG%2BU%2F5J2OT1e8UKajRvIeV8udr11a317B%2BT9UqN7OhZxhWBNjY%2F1lwW3y%2B6ZLRPyS%2FLjVpm0bjcP04kaltpfEXkt7Ek673sqKQ0oQWyDskxNnWByCmRa9pDEMN2VTKnu4D2Jx1jmqqVYbTIxSV2pdmSm3vcyuHBcOHXSwVk%2FpsE1kfPhAbz63azOffRBIHVXVW1qzfDIY7VD17b3knyyJkEHVrfjMcHOQZ4LnPUS%2BN2vbpEnGrpYsjwrEeBGU3SSRLyHRTJilJ00uxaN2OrLdYFx%2BmHO4v6Ny2tA%2Fmv4tjvI%2B%2BsrAxreKFXJp61wWTJO7bsaQ%3D%3D" ' 'width="1000"></div>\n' ' <div class="event-info-container">\n' ' <div class="event-info">\n' ' <h1 class="event-heading">2019 Annual Holiday Party</h1>\n' ' \n' ' <p class="event-description">Join us in celebration of the ' 'holiday season! We will have cocktail hour, carving & food stations. ' 'Registration is required.</p>\n' ' \n' ' <div class="event-inner-box">\n' ' <!-- <div class="event_details"> -->\n' ' <!-- <div class="event_details_headings">\n' ' <p>Date:</p>\n' ' <p>Time:</p>\n' ' <p>Dress-code:</p>\n' ' </div>\n' ' <div class="event_details_info"> \n' ' <p>Info Date Info</p>\n' ' <p>Info Time Info</p>\n' ' <p>Info Dress-code Info</p>\n' ' </div> -->\n' '\n' ' <!-- </div> -->\n' '\n' ' <table>\n' ' <thead>\n' ' <tr>\n' ' <th colspan="2" class="event_subheader" >EVENT ' 'DETAILS</th>\n' ' </tr>\n' '\n' '\n' ' \n' '\n' ' </thead>\n' ' <tbody>\n' ' \n' ' <tr>\n' ' <td class="event_subheader" >Date:</td>\n' ' <td>05 Dec 19 at 05:30 PM</td>\n' ' </tr>\n' ' \n' ' \n' ' \n' ' <tr>\n' ' … <trimmed 42783 bytes string> |
num_loopvars | 1 |
parentloop | {} |
pop_context | False |
self | <ForNode: for block in page.streamfield, tail_len: 3> |
unpack | False |
values | <StreamValue [<block SVG_Element: StructValue([('svg_element', None)])>, <block Spacer: StructValue([('color_style', 'mgz-colors-1'), ('layout_style', 'mgz-layouts-2')])>, <block Event_Header: StructValue([('wrapper_color', 'mgz-wrapcolor-white'), ('color_style_sheet', None), ('color_style', 'mgz-colors-1')])>, <block Bookmark: StructValue([('color_style_sheet', None), ('color_style', 'mgz-colors-1'), ('justify_style', 'mgz-justifys-1'), ('layout_style', 'mgz-layouts-2'), ('bookmark_id', ''), ('section_title', 'Event Recap')])>, <block Spacer: StructValue([('color_style', 'mgz-colors-1'), ('layout_style', 'mgz-layouts-2')])>, <block Image_Gallery: StructValue([('images', [StructValue([('gallery_image', <Image: IMG_8047.JPG>)]), StructValue([('gallery_image', <Image: IMG_5800.jpg>)]), StructValue([('gallery_image', <Image: IMG_8049.jpg>)]), StructValue([('gallery_image', <Image: IMG_8004.jpg>)]), StructValue([('gallery_image', <Image: IMG_8022.jpg>)]), StructValue([('gallery_image', <Image: IMG_8037.jpg>)]), StructValue([('gallery_image', <Image: IMG_8044.jpg>)]), StructValue([('gallery_image', <Image: IMG_8056.jpg>)]), StructValue([('gallery_image', <Image: IMG_8052.jpg>)])])])>, <block Testimonial: StructValue([('wrapper_color', 'mgz-wrapcolor-white'), ('color_style_sheet', None), ('color_style', 'mgz-colors-1'), ('testimonial_page', None), ('testimonial_collection', None)])>, <block Spacer: StructValue([('color_style', 'mgz-colors-1'), ('layout_style', 'mgz-layouts-2')])>, <block Related_Units: StructValue([('wrapper_color', 'mgz-wrapcolor-white'), ('color_style_sheet', None), ('color_style', 'mgz-colors-1'), ('bookmark_color_style', 'mgz-colors-1'), ('bookmark_layout_style', 'mgz-layouts-2'), ('bookmark_text', 'Host')])>, <block Related_Companies: StructValue([('wrapper_color', 'mgz-wrapcolor-white'), ('color_style_sheet', None), ('color_style', 'mgz-colors-3'), ('bookmark_text', 'Main Event Sponsor'), ('button_text', 'View Profile')])>, <block Related_Companies_B: StructValue([('wrapper_color', 'mgz-wrapcolor-white'), ('color_style_sheet', None), ('color_style', 'mgz-colors-3'), ('bookmark_text', 'Additional Sponsors'), ('button_text', 'View Profile')])>, <block Related_Events: StructValue([('wrapper_color', 'mgz-wrapcolor-stylesheet'), ('color_style_sheet', None), ('color_style', 'mgz-colors-4'), ('bookmark_color_style', 'mgz-colors-1'), ('bookmark_layout_style', 'mgz-layouts-2'), ('bookmark_text', 'Upcoming Events'), ('event_filter', 'upcoming_events'), ('more_text', 'VIEW MORE EVENTS >>'), ('more_text_page_link', None)])>, <block Related_Events: StructValue([('wrapper_color', 'mgz-wrapcolor-stylesheet'), ('color_style_sheet', None), ('color_style', 'mgz-colors-4'), ('bookmark_color_style', 'mgz-colors-1'), ('bookmark_layout_style', 'mgz-layouts-2'), ('bookmark_text', 'Past Events'), ('event_filter', 'completed_events'), ('more_text', 'VIEW MORE EVENTS >>'), ('more_text_page_link', None)])>, <block SVG_Element: StructValue([('svg_element', None)])>]> |
/usr/local/lib/python3.9/site-packages/django/template/base.py
, line 905, 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': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
self | <wagtail.core.templatetags.wagtailcore_tags.IncludeBlockNode object at 0x7d9d8ac93520> |
/usr/local/lib/python3.9/site-packages/wagtail/core/templatetags/wagtailcore_tags.py
, line 134, 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)
output = value.render_as_block(context=new_context)…
else:
output = value
if context.autoescape:
return conditional_escape(output)
else:
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'page': <EventPage: 2019 Holiday Party>, 'self': <EventPage: 2019 Holiday Party>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'formvar': 0, 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'favicon': <Rendition: Rendition object (5820)>}] |
new_context | {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'False': False, 'None': None, 'True': True, 'block': <block Testimonial: StructValue([('wrapper_color', 'mgz-wrapcolor-white'), ('color_style_sheet', None), ('color_style', 'mgz-colors-1'), ('testimonial_page', None), ('testimonial_collection', None)])>, 'csrf_token': <SimpleLazyObject: <function csrf.<locals>._get_val at 0x7d9d8aa90700>>, 'favicon': <Rendition: Rendition object (5820)>, 'forloop': {'counter': 7, 'counter0': 6, 'first': False, 'last': False, 'parentloop': {}, 'revcounter': 8, 'revcounter0': 7}, 'formvar': 0, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7d9d8ad69100>, 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_unique_block_id': 7, 'page': <EventPage: 2019 Holiday Party>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7d9d8a36f700>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'self': <EventPage: 2019 Holiday Party>, 'settings': {'mgz_website': {'mgz_settings': <Mgz_Settings: Marketingnetz web settings for St Charles Chamber of Commerce [default]>}}, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7d9d8a285b20>>} |
self | <wagtail.core.templatetags.wagtailcore_tags.IncludeBlockNode object at 0x7d9d8ac93520> |
value | <block Testimonial: StructValue([('wrapper_color', 'mgz-wrapcolor-white'), ('color_style_sheet', None), ('color_style', 'mgz-colors-1'), ('testimonial_page', None), ('testimonial_collection', None)])> |
var_name | 'mgz_unique_block_id' |
var_value | <django.template.base.FilterExpression object at 0x7d9d8ad0e970> |
/usr/local/lib/python3.9/site-packages/wagtail/core/blocks/base.py
, line 419, 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 bare
value 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, 'block': <block Testimonial: StructValue([('wrapper_color', 'mgz-wrapcolor-white'), ('color_style_sheet', None), ('color_style', 'mgz-colors-1'), ('testimonial_page', None), ('testimonial_collection', None)])>, 'csrf_token': <SimpleLazyObject: 'nd2kdgyH9gyQxca3ExC2zKnYEKpzy61MXz9lPALDITfUbNUFOwlHi1FGcKPmv0Q3'>, 'favicon': <Rendition: Rendition object (5820)>, 'forloop': {'counter': 7, 'counter0': 6, 'first': False, 'last': False, 'parentloop': {}, 'revcounter': 8, 'revcounter0': 7}, 'formvar': 0, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7d9d8ad69100>, 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_unique_block_id': 7, 'page': <EventPage: 2019 Holiday Party>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7d9d8a36f700>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'self': <EventPage: 2019 Holiday Party>, 'settings': {'mgz_website': {'mgz_settings': <Mgz_Settings: Marketingnetz web settings for St Charles Chamber of Commerce [default]>}}, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7d9d8a285b20>>} |
self | <block Testimonial: StructValue([('wrapper_color', 'mgz-wrapcolor-white'), ('color_style_sheet', None), ('color_style', 'mgz-colors-1'), ('testimonial_page', None), ('testimonial_collection', None)])> |
/usr/local/lib/python3.9/site-packages/wagtail/core/blocks/base.py
, line 219, in render
template = self.get_template(context=context)
if not template:
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.
Variable | Value |
---|---|
context | {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'False': False, 'None': None, 'True': True, 'block': <block Testimonial: StructValue([('wrapper_color', 'mgz-wrapcolor-white'), ('color_style_sheet', None), ('color_style', 'mgz-colors-1'), ('testimonial_page', None), ('testimonial_collection', None)])>, 'csrf_token': <SimpleLazyObject: 'nd2kdgyH9gyQxca3ExC2zKnYEKpzy61MXz9lPALDITfUbNUFOwlHi1FGcKPmv0Q3'>, 'favicon': <Rendition: Rendition object (5820)>, 'forloop': {'counter': 7, 'counter0': 6, 'first': False, 'last': False, 'parentloop': {}, 'revcounter': 8, 'revcounter0': 7}, 'formvar': 0, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7d9d8ad69100>, 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_unique_block_id': 7, 'page': <EventPage: 2019 Holiday Party>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7d9d8a36f700>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'self': <EventPage: 2019 Holiday Party>, 'settings': {'mgz_website': {'mgz_settings': <Mgz_Settings: Marketingnetz web settings for St Charles Chamber of Commerce [default]>}}, 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0x7d9d8a285b20>>} |
self | <mgz_website.mgz_blocks.Testimonial01 object at 0x7d9d8c65ae50> |
template | 'mgz_website/mgz-testimonial-01.html' |
value | StructValue([('wrapper_color', 'mgz-wrapcolor-white'), ('color_style_sheet', None), ('color_style', 'mgz-colors-1'), ('testimonial_page', None), ('testimonial_collection', None)]) |
/code/mgz_website/mgz_blocks.py
, line 360, in get_context
# which is either a random one selected using random.choices() or the actual
# page selected using the PageChooserBlock.
def get_context(self, value, parent_context=None):
context = super(Testimonial01, self).get_context(
value, parent_context=parent_context)
if context['value']['testimonial_page']:
context['selected_testimonial'] = context['value']['testimonial_page']
elif context['value']['testimonial_collection'].collection_testimonial:…
context['selected_testimonial'] = choice(
context['value']['testimonial_collection'].
collection_testimonial.all()).testimonial_link
return context
class Meta:
Variable | Value |
---|---|
__class__ | <class 'mgz_website.mgz_blocks.Testimonial01'> |
context | {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'False': False, 'None': None, 'True': True, 'block': <block Testimonial: StructValue([('wrapper_color', 'mgz-wrapcolor-white'), ('color_style_sheet', None), ('color_style', 'mgz-colors-1'), ('testimonial_page', None), ('testimonial_collection', None)])>, 'csrf_token': <SimpleLazyObject: 'nd2kdgyH9gyQxca3ExC2zKnYEKpzy61MXz9lPALDITfUbNUFOwlHi1FGcKPmv0Q3'>, 'favicon': <Rendition: Rendition object (5820)>, 'forloop': {'counter': 7, 'counter0': 6, 'first': False, 'last': False, 'parentloop': {}, 'revcounter': 8, 'revcounter0': 7}, 'formvar': 0, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7d9d8ad69100>, 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_unique_block_id': 7, 'page': <EventPage: 2019 Holiday Party>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7d9d8a36f700>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'self': StructValue([('wrapper_color', 'mgz-wrapcolor-white'), ('color_style_sheet', None), ('color_style', 'mgz-colors-1'), ('testimonial_page', None), ('testimonial_collection', None)]), 'settings': {'m… <trimmed 4597 bytes string> |
parent_context | {'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'ERROR': 40, 'INFO': 20, 'SUCCESS': 25, 'WARNING': 30}, 'False': False, 'None': None, 'True': True, 'block': <block Testimonial: StructValue([('wrapper_color', 'mgz-wrapcolor-white'), ('color_style_sheet', None), ('color_style', 'mgz-colors-1'), ('testimonial_page', None), ('testimonial_collection', None)])>, 'csrf_token': <SimpleLazyObject: 'nd2kdgyH9gyQxca3ExC2zKnYEKpzy61MXz9lPALDITfUbNUFOwlHi1FGcKPmv0Q3'>, 'favicon': <Rendition: Rendition object (5820)>, 'forloop': {'counter': 7, 'counter0': 6, 'first': False, 'last': False, 'parentloop': {}, 'revcounter': 8, 'revcounter0': 7}, 'formvar': 0, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0x7d9d8ad69100>, 'mgz_footer_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_header_menu_items': [(<Page: Events>, [(<Page: All Events>, []), (<Page: Upcoming Events>, []), (<Page: Completed Events>, []), (<Page: Canceled>, [])]), (<Page: Groups and Committees>, [(<Page: Committees>, []), (<Page: Networking Groups>, []), (<Page: Leadership>, [])]), (<Page: Tools and Services>, [(<Page: Help>, []), (<Page: Member Services>, []), (<Page: Marketing Opportunities>, [])]), (<Page: News and Resources>, [(<Page: Latest News>, []), (<Page: Resources>, [])]), (<Page: Community>, [(<Page: The Legend of Charlemagne>, []), (<Page: Community Organizations>, []), (<Page: Non-Profit Organizations>, [])]), (<Page: Members>, [(<Page: About Membership>, [])]), (<Page: Up Close & Member-able>, [])], 'mgz_unique_block_id': 7, 'page': <EventPage: 2019 Holiday Party>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0x7d9d8a36f700>, 'request': <WSGIRequest: GET '/event-landing/all-events/2019-holidayparty/'>, 'self': StructValue([('wrapper_color', 'mgz-wrapcolor-white'), ('color_style_sheet', None), ('color_style', 'mgz-colors-1'), ('testimonial_page', None), ('testimonial_collection', None)]), 'settings': {'m… <trimmed 4597 bytes string> |
self | <mgz_website.mgz_blocks.Testimonial01 object at 0x7d9d8c65ae50> |
value | StructValue([('wrapper_color', 'mgz-wrapcolor-white'), ('color_style_sheet', None), ('color_style', 'mgz-colors-1'), ('testimonial_page', None), ('testimonial_collection', None)]) |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CSRF_COOKIE | 'wWVnZUzIOxI7nI2ZS3hDJjhVgcqltAjl6i2oBeMEnapb1jMB220isAzDOcQ8qu8C' |
CSRF_COOKIE_USED | True |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'www.stcharleschamber.com' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '44.200.182.101' |
HTTP_X_FORWARDED_HOST | 'www.stcharleschamber.com' |
HTTP_X_FORWARDED_PORT | '443' |
HTTP_X_FORWARDED_PROTO | 'https' |
HTTP_X_FORWARDED_SCHEME | 'https' |
HTTP_X_REAL_IP | '44.200.182.101' |
HTTP_X_REQUEST_ID | '6418da57c0884c34cc95aed4a64220e7' |
HTTP_X_SCHEME | 'https' |
PATH_INFO | '/event-landing/all-events/2019-holidayparty/' |
QUERY_STRING | '' |
RAW_URI | '/event-landing/all-events/2019-holidayparty/' |
REMOTE_ADDR | '10.72.2.4' |
REMOTE_PORT | '49636' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '0.0.0.0' |
SERVER_PORT | '8000' |
SERVER_PROTOCOL | 'HTTP/1.1' |
SERVER_SOFTWARE | 'gunicorn/19.9.0' |
gunicorn.socket | <socket.socket fd=9, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('10.72.3.10', 8000), raddr=('10.72.2.4', 49636)> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7d9d8ad697f0> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7d9d8ad69430> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
mgz_web.settings.staging
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['localhost', '127.0.0.1', '*'] |
ANYMAIL | {'SENDGRID_API_KEY': '********************', 'SENDGRID_SENDER_DOMAIN': 'voyagernetz.us'} |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/code' |
BASE_URL | 'http://localhost' |
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': 'vrz--stcharleschamber-explore-wagtail', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'vrz-explore-wagtail'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 10000 |
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', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
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 | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'storages.backends.gcloud.GoogleCloudStorage' |
DEFAULT_FROM_EMAIL | 'marketingnetz@voyagernetz.us' |
DEFAULT_HASHING_ALGORITHM | 'sha256' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'anymail.backends.sendgrid.EmailBackend' |
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 | False |
EMAIL_USE_TLS | False |
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 | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
GS_BUCKET_NAME | 'vrz--stcharleschamber-explore-wagtail' |
GS_CREDENTIALS | <google.oauth2.service_account.Credentials object at 0x7d9d90dca130> |
GS_EXPIRATION | 3614125468 |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['mgz_website', 'mgz_people', 'mgz_event', 'mgz_company', 'mgz_unit', 'mgz_blog', 'captcha', 'search', 'phonenumber_field', 'anymail', 'wagtail.contrib.modeladmin', 'wagtailstreamforms', 'wagtail.contrib.forms', 'wagtail.contrib.redirects', 'wagtail.embeds', 'wagtail.sites', 'wagtail.users', 'wagtail.snippets', 'wagtail.documents', 'wagtail.images', 'wagtail.search', 'wagtail_content_import', 'wagtail_content_import.pickers.google', 'wagtail.admin', 'wagtail.core', 'wagtail.contrib.settings', 'wagtail.contrib.routable_page', 'modelcluster', 'taggit', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sitemaps', 'storages'] |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian 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'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('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'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('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', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-us' |
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 | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/code/netz_custom/media' |
MEDIA_URL | '/netz_custom/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MGZ_COLOR_STYLE_SHEETS | [('mgz-cs-0001', 'Color Style Sheet 1'), ('mgz-cs-0002', 'Color Style Sheet 2'), ('mgz-cs-0003', 'Color Style Sheet 3'), ('mgz-cs-0004', 'Color Style Sheet 4'), ('mgz-cs-0005', 'Color Style Sheet 5'), ('mgz-cs-0006', 'Color Style Sheet 6'), ('mgz-cs-0007', 'Color Style Sheet 7'), ('mgz-cs-0008', 'Color Style Sheet 8'), ('mgz-cs-0009', 'Color Style Sheet 9'), ('mgz-cs-0010', 'Color Style Sheet 10'), ('mgz-cs-0011', 'Color Style Sheet 11'), ('mgz-cs-0012', 'Color Style Sheet 12'), ('mgz-cs-0014', 'Color Style Sheet 14'), ('mgz-cs-0015', 'Color Style Sheet 15'), ('mgz-cs-0016', 'Color Style Sheet 16'), ('mgz-cs-0017', 'Color Style Sheet 17'), ('mgz-cs-0018', 'Color Style Sheet 18'), ('mgz-cs-0019', 'Color Style Sheet 19'), ('mgz-cs-0020', 'Color Style Sheet 20'), ('mgz-cs-0021', 'Color Style Sheet 21'), ('mgz-cs-0022', 'Color Style Sheet 22'), ('mgz-cs-0023', 'Color Style Sheet 23'), ('mgz-cs-0024', 'Color Style Sheet 24'), ('mgz-cs-0025', 'Color Style Sheet 25'), ('mgz-cs-0026', 'Color Style Sheet 26'), ('mgz-cs-0027', 'Color Style Sheet 27'), ('mgz-cs-0028', 'Color Style Sheet 28'), ('mgz-cs-0029', 'Color Style Sheet 29'), ('mgz-cs-0030', 'Color Style Sheet 30'), ('mgz-cs-0031', 'Color Style Sheet 31'), ('mgz-cs-0032', 'Color Style Sheet 32'), ('mgz-cs-0033', 'Color Style Sheet 33'), ('mgz-cs-0034', 'Color Style Sheet 34'), ('mgz-cs-0035', 'Color Style Sheet 35'), ('mgz-cs-0036', 'Color Style Sheet 36'), ('mgz-cs-0037', 'Color Style Sheet 37'), ('mgz-cs-0038', 'Color Style Sheet 38'), ('mgz-cs-0039', 'Color Style Sheet 39'), ('mgz-cs-0040', 'Color Style Sheet 40')] |
MGZ_WEB_CONFIG | 'chambernetz' |
MIDDLEWARE | ['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.middleware.security.SecurityMiddleware', 'whitenoise.middleware.WhiteNoiseMiddleware', 'wagtail.contrib.redirects.middleware.RedirectMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NOCAPTCHA | True |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
PROJECT_DIR | '/code/mgz_web' |
RECAPTCHA_PRIVATE_KEY | '********************' |
RECAPTCHA_PUBLIC_KEY | '********************' |
ROOT_URLCONF | 'mgz_web.urls' |
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 | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'systems@voyagernetz.us' |
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 | 'mgz_web.settings.staging' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage' |
STATIC_ROOT | '/code/netz_custom/static' |
STATIC_URL | '/netz_custom/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/code/mgz_web/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']}}] |
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 | 'UTC' |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WAGTAILIMAGES_JPEG_QUALITY | 85 |
WAGTAILIMAGES_MAX_UPLOAD_SIZE | 10485760 |
WAGTAILSTREAMFORMS_FORM_TEMPLATES | (('mgz_website/mgz-streamform-01.html', 'Default Form'),) |
WAGTAIL_SITE_NAME | 'mgz_web' |
WSGI_APPLICATION | 'mgz_web.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.