'NoneType' object has no attribute 'lower'
Request Method: | GET |
---|---|
Request URL: | https://www.oribium.se/tjanster/tjanster.html |
Django Version: | 1.11.26 |
Exception Type: | AttributeError |
Exception Value: | 'NoneType' object has no attribute 'lower' |
Exception Location: | /usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/mezzanine/utils/html.py in thumbnails, line 120 |
Python Executable: | /usr/local/bin/uwsgi |
Python Version: | 3.6.8 |
Python Path: | ['.', '', '/var/www/oribium_se_36/${PYTHONPATH}', '/var/www', '/var/www/oribium_se_36', '/usr/lib64/python36.zip', '/usr/lib64/python3.6', '/usr/lib64/python3.6/lib-dynload', '/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages', '/usr/local/venv/oribium_net_3.6/lib/python3.6/site-packages'] |
Server time: | fre, 29 Mar 2024 15:43:11 +0100 |
In template /var/www/oribium_se_36/templates/base.html
, error at line 0
1 | <!doctype html> |
---|---|
2 | <html class="no-js" lang="{{ LANGUAGE_CODE }}"{% if LANGUAGE_BIDI %} dir="rtl"{% endif %}> |
3 | {% load pages_tags mezzanine_tags i18n keyword_tags staticfiles %} |
4 | {% block head %} |
5 | <head> |
6 | <meta charset="utf-8"> |
7 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
8 | <meta name="keywords" content="{% block meta_keywords %}{% endblock %}"> |
9 | <meta name="description" content="{% block meta_description %}{% endblock %}"> |
10 | <title>{% block meta_title %}{% endblock %}{% if settings.SITE_TITLE %} | {{ settings.SITE_TITLE }}{% endif %}</title> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/core/handlers/exception.py
in inner
This decorator is automatically applied to all middleware to ensure that
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
@wraps(get_response, assigned=available_attrs(get_response))
def inner(request):
try:
response = get_response(request)...
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | AttributeError("'NoneType' object has no attribute 'lower'",) |
get_response | <bound method BaseHandler._legacy_get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f7e3d941c50>> |
request | <WSGIRequest: GET '/tjanster/tjanster.html'> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/core/handlers/base.py
in _legacy_get_response
# Apply request middleware
for middleware_method in self._request_middleware:
response = middleware_method(request)
if response:
break
if response is None:
response = self._get_response(request)...
return response
Variable | Value |
---|---|
middleware_method | <bound method FetchFromCacheMiddleware.process_request of <mezzanine.core.middleware.FetchFromCacheMiddleware object at 0x7f7e3d47dba8>> |
request | <WSGIRequest: GET '/tjanster/tjanster.html'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f7e3d941c50> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/core/handlers/base.py
in _get_response
"HttpResponse object. It returned None instead."
% (middleware_method.__self__.__class__.__name__)
)
try:
response = response.render()
except Exception as e:
response = self.process_exception_by_middleware(e, request)...
return response
def process_exception_by_middleware(self, exception, request):
"""
Pass the exception to the exception middleware. If no middleware
Variable | Value |
---|---|
callback | <function page at 0x7f7e3d42c0d0> |
callback_args | () |
callback_kwargs | {'slug': 'tjanster/tjanster.html'} |
middleware_method | <bound method PageMiddleware.process_view of <mezzanine.pages.middleware.PageMiddleware object at 0x7f7e3d47dbe0>> |
request | <WSGIRequest: GET '/tjanster/tjanster.html'> |
resolver | <RegexURLResolver 'oribiumse.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=mezzanine.pages.views.page, args=(), kwargs={'slug': 'tjanster/tjanster.html'}, url_name=page, app_names=[], namespaces=[]) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f7e3d941c50> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/core/handlers/base.py
in _get_response
raise ValueError(
"%s.process_template_response didn't return an "
"HttpResponse object. It returned None instead."
% (middleware_method.__self__.__class__.__name__)
)
try:
response = response.render()...
except Exception as e:
response = self.process_exception_by_middleware(e, request)
return response
def process_exception_by_middleware(self, exception, request):
Variable | Value |
---|---|
callback | <function page at 0x7f7e3d42c0d0> |
callback_args | () |
callback_kwargs | {'slug': 'tjanster/tjanster.html'} |
middleware_method | <bound method PageMiddleware.process_view of <mezzanine.pages.middleware.PageMiddleware object at 0x7f7e3d47dbe0>> |
request | <WSGIRequest: GET '/tjanster/tjanster.html'> |
resolver | <RegexURLResolver 'oribiumse.urls' (None:None) ^/> |
resolver_match | ResolverMatch(func=mezzanine.pages.views.page, args=(), kwargs={'slug': 'tjanster/tjanster.html'}, url_name=page, app_names=[], namespaces=[]) |
response | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f7e3d941c50> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/response.py
in render
If the content has already been rendered, this is a no-op.
Returns the baked response instance.
"""
retval = self
if not self._is_rendered:
self.content = self.rendered_content...
for post_callback in self._post_render_callbacks:
newretval = post_callback(retval)
if newretval is not None:
retval = newretval
return retval
Variable | Value |
---|---|
retval | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/response.py
in rendered_content
This *does not* set the final content of the response. To set the
response content, you must either call render(), or set the
content explicitly using the value of this property.
"""
template = self.resolve_template(self.template_name)
context = self.resolve_context(self.context_data)
content = template.render(context, self._request)...
return content
def add_post_render_callback(self, callback):
"""Adds a new post-rendering callback.
If the response has already been rendered,
Variable | Value |
---|---|
context | {} |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | <django.template.backends.django.Template object at 0x7f7e3aa18320> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/backends/django.py
in render
@property
def origin(self):
return self.template.origin
def render(self, context=None, request=None):
context = make_context(context, request, autoescape=self.backend.engine.autoescape)
try:
return self.template.render(context)...
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
request | <WSGIRequest: GET '/tjanster/tjanster.html'> |
self | <django.template.backends.django.Template object at 0x7f7e3aa18320> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)...
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
self | <django.template.base.Template object at 0x7f7e3a915160> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
self | <django.template.base.Template object at 0x7f7e3a915160> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
node | <ExtendsNode: extends "pages/page.html"> |
self | [<ExtendsNode: extends "pages/page.html">] |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
self | <ExtendsNode: extends "pages/page.html"> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/loader_tags.py
in render
compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)...
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7f7e3bd268d0> |
compiled_parent | <django.template.base.Template object at 0x7f7e3bd26d30> |
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
node | <ExtendsNode: extends "base.html"> |
self | <ExtendsNode: extends "pages/page.html"> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
self | <django.template.base.Template object at 0x7f7e3bd26d30> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
node | <ExtendsNode: extends "base.html"> |
self | [<ExtendsNode: extends "base.html">] |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
self | <ExtendsNode: extends "base.html"> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/loader_tags.py
in render
compiled_parent.nodelist.get_nodes_by_type(BlockNode)}
block_context.add_blocks(blocks)
break
# Call Template._render explicitly so the parser context stays
# the same.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)...
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7f7e3bd268d0> |
blocks | {'background_head_img': <Block Node: background_head_img. Contents: [<TextNode: '/static/img/dawn.jpg'>]>, 'body': <Block Node: body. Contents: [<TextNode: '\n <body id="'>, <Block Node: body_id. Contents: [<TextNode: 'base'>]>, <TextNode: '">\n\n '>, <Block Node: header. Contents: [<TextNode: '\n <!-- header\n '>, <Block Node: nav. Contents: [<TextNode: '\n <nav class="he'>, <mezzanine.template.Library.render_tag.<locals>.tag_wrapper.<locals>.RenderTagNode object at 0x7f7e3a9f0ac8>, <TextNode: '\n\n </div> <!'>]>, <TextNode: '\n\n </header> <!-- en'>]>, <TextNode: ' <!-- end block header -'>, <Block Node: home. Contents: [<TextNode: '\n <!-- home\n =='>, <Block Node: background_head_img. Contents: [<TextNode: '/static/img/dawn.jpg'>]>, <TextNode: '" data-parallax="scroll" '>, <Block Node: intro_title. Contents: [<TextNode: '\n '>]>, <TextNode: '</h1>\n\n <p'>, <Block Node: intro. Contents: [<TextNode: '\n '>]>, <TextNode: '</p>\n </div>'>, <Block Node: side_home. Contents: [<TextNode: '\n '>]>, <TextNode: '\n\n\n <a href="#ma'>]>, <TextNode: ' <!-- end block home -->\n'>, <TextNode: 'nevercache.h#zy=gh#2od@k+'>, <TextNode: '\n\n '>, <Block Node: breadcrumb_index. Contents: [<TextNode: '\n <ul class="breadcr'>, <Block Node: breadcrumb_menu. Contents: [<TextNode: '\n '>, <django.template.defaulttags.SpacelessNode object at 0x7f7e3a991f98>, <TextNode: '\n '>]>, <TextNode: '\n </ul>\n '>]>, <TextNode: '\n\n '>, <Block Node: carousel. Contents: []>, <TextNode: '\n\n '>, <Block Node: dynamic_content. Contents: [<TextNode: '\n <div id="main-cont'>, <Block Node: main. Contents: []>, <TextNode: '\n </div>\n\n '>, <TextNode: 'nevercache.h#zy=gh#2od@k+'>, <TextNode: '\n '>, <Block Node: right_panel. Contents: []>, <TextNode: '\n </div>\n '>]>, <TextNode: '\n\n '>, <Block Node: carousel_bottom. Contents: []>, <TextNode: '\n\n '>, <Block Node: top_of_footer. Contents: []>, <TextNode: '\n\n '>, <Block Node: footer. Contents: [<TextNode: '\n <footer id="footer-c'>, <mezzanine.template.Library.render_tag.<locals>.tag_wrapper.<locals>.RenderTagNode object at 0x7f7e3a9f0080>, <TextNode: '\n <div cla'>, <django.template.defaulttags.NowNode object at 0x7f7e3aa4c048>, <TextNode: ' <!--#include virtual="/s'>]>, <TextNode: '\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7f7e3aa4cd68>, <TextNode: '\n '>, <Block Node: extra_js. Contents: [<TextNode: '\n \t<!--#include virtua'>]>, <TextNode: '\n\n '>, <Block Node: breloader. Contents: [<TextNode: '\n <!-- preloader\n ='>]>, <TextNode: '\n\n <script src="/stati'>]>, 'body_id': <Block Node: body_id. Contents: [<TextNode: 'base'>]>, 'breadcrumb_index': <Block Node: breadcrumb_index. Contents: [<TextNode: '\n <ul class="breadcr'>, <Block Node: breadcrumb_menu. Contents: [<TextNode: '\n '>, <django.template.defaulttags.SpacelessNode object at 0x7f7e3a991f98>, <TextNode: '\n '>]>, <TextNode: '\n </ul>\n '>]>, 'breadcrumb_menu': <Block Node: breadcrumb_menu. Contents: [<TextNode: '\n '>, <django.template.defaulttags.SpacelessNode object at 0x7f7e3a991f98>, <TextNode: '\n '>]>, 'breloader': <Block Node: breloader. Contents: [<TextNode: '\n <!-- preloader\n ='>]>, 'carousel': <Block Node: carousel. Contents: []>, 'carousel_bottom': <Block Node: carousel_bottom. Contents: []>, 'dynamic_content': <Block Node: dynamic_content. Contents: [<TextNode: '\n <div id="main-cont'>, <Block Node: main. Contents: []>, <TextNode: '\n </div>\n\n '>, <TextNode: 'nevercache.h#zy=gh#2od@k+'>, <TextNode: '\n '>, <Block Node: right_panel. Contents: []>, <TextNode: '\n </div>\n '>]>, 'extra_css': <Block Node: extra_css. Contents: []>, 'extra_head': <Block Node: extra_head. Contents: []>, 'extra_js': <Block Node: extra_js. Contents: [<TextNode: '\n ... <trimmed 7162 bytes string> |
compiled_parent | <django.template.base.Template object at 0x7f7e3f4c27b8> |
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
node | <Variable Node: LANGUAGE_CODE> |
self | <ExtendsNode: extends "base.html"> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
self | <django.template.base.Template object at 0x7f7e3f4c27b8> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n\n ' |
bits | ['<!doctype html>\n<html class="no-js" lang="', 'sv-se', '"', '', '>\n', '', '\n ', '\n' ' <head>\n' ' <meta charset="utf-8">\n' ' <meta name="viewport" content="width=device-width, initial-scale=1.0">\n' ' <meta name="keywords" content="tjänster">\n' ' <meta name="description" content="TjänsterVår ambition är att våra ' 'tjänster skall resultera i en kostnadseffektiv lösning med maximal ' 'verksamhetsnytta för kunden. Vi avser att vara en ledande tjänstepartner ' 'kring fri programvara, att tillhandahålla ett kvalificerat tjänsteutbud och ' 'att leverera tjänsterna med bästa kvalitet och kompetens.">\n' ' <title>Tjänster | Webbyrå Responsiv Webdesign Karlshamn Göteborg | ' 'Oribium AB</title>\n' '\n' ' \n' ' <link rel="alternate" type="application/rss+xml" title="RSS" ' 'href="/blog/feeds/rss">\n' ' <link rel="alternate" type="application/atom+xml" title="Atom" ' 'href="/blog/feeds/atom">\n' ' \n' '\n' ' \n' ' <link rel="stylesheet" href="/static/css/bootstrap.css">\n' ' <link rel="stylesheet" href="/static/css/mezzanine.css">\n' ' <link rel="stylesheet" href="/static/css/bootstrap-theme.css">\n' ' <link rel="stylesheet" ' 'href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">\n' ' <link rel="stylesheet" href="/static/css/base.css">\n' ' <link rel="stylesheet" href="/static/css/main.css">\n' ' <link rel="stylesheet" href="/static/css/vendor.css">\n' ' <!--#include virtual="/static/includes/extra_css.html" -->\n' '\n' ' \n' '\n' ' \n' '\n' ' \n' ' \n' '\n' ' \n' ' <script src="/static/mezzanine/js/jquery-1.8.3.min.js"></script>\n' ' <script src="/static/js/bootstrap.js"></script>\n' ' <script src="/static/js/bootstrap-extras.js"></script>\n' ' <script src="/static/js/modernizr.js"></script>\n' ' <script src="/static/js/pace.min.js"></script>\n' '\n' ' <!-- Begin Cookie Consent plugin by Silktide - ' 'http://silktide.com/cookieconsent -->\n' ' <script type="text/javascript">\n' ' window.cookieconsent_options = {"message":"Vi använder cookies på ' 'vår webbplats. Genom att surfa vidare godkänner du att vi använder ' 'cookies.","dismiss":"Jag förstår","learnMore":"Läs ' 'mer","link":"/om-cookies","theme":"dark-bottom"};\n' ' </script>\n' '\n' ' <script type="text/javascript" ' 'src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/1.0.9/cookieconsent.min.js"></script>\n' ' <!-- End Cookie Consent plugin -->\n' ' <!-- Matomo -->\n' ' <script type="text/javascript">\n' ' var _paq = _paq || [];\n' ' /* tracker methods like "setCustomDimension" should be called before ' '"trackPageView" */\n' " _paq.push(['trackPageView']);\n" " _paq.push(['enableLinkTracking']);\n" ' (function() {\n' ' var u="//matomo.int.oribium.net/";\n' " _paq.push(['setTrackerUrl', u+'piwik.php']);\n" " _paq.push(['setSiteId', '22']);\n" " var d=document, g=d.createElement('script'), " "s=d.getElementsByTagName('script')[0];\n" " g.type='text/javascript'; g.async=true; g.defer=true; " "g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);\n" ' })();\n' ' </script>\n' ' <!-- End Matomo Code -->\n' ' \n' '\n' ' <!--[if lt IE 9]>\n' ' <script src="/static/js/html5shiv.js"></script>\n' ' <script src="/static/js/respond.min.js"></script>\n' ' <![endif]-->\n' '\n' ' \n' '\n' '\n' ' </head>\n' ' ', '\n\n '] |
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
node | <Block Node: body. Contents: [<TextNode: '\n <body id="'>, <Block Node: body_id. Contents: [<TextNode: 'base'>]>, <TextNode: '">\n\n '>, <Block Node: header. Contents: [<TextNode: '\n <!-- header\n '>, <Block Node: nav. Contents: [<TextNode: '\n <nav class="he'>, <mezzanine.template.Library.render_tag.<locals>.tag_wrapper.<locals>.RenderTagNode object at 0x7f7e3a9f0ac8>, <TextNode: '\n\n </div> <!'>]>, <TextNode: '\n\n </header> <!-- en'>]>, <TextNode: ' <!-- end block header -'>, <Block Node: home. Contents: [<TextNode: '\n <!-- home\n =='>, <Block Node: background_head_img. Contents: [<TextNode: '/static/img/dawn.jpg'>]>, <TextNode: '" data-parallax="scroll" '>, <Block Node: intro_title. Contents: [<TextNode: '\n '>]>, <TextNode: '</h1>\n\n <p'>, <Block Node: intro. Contents: [<TextNode: '\n '>]>, <TextNode: '</p>\n </div>'>, <Block Node: side_home. Contents: [<TextNode: '\n '>]>, <TextNode: '\n\n\n <a href="#ma'>]>, <TextNode: ' <!-- end block home -->\n'>, <TextNode: 'nevercache.h#zy=gh#2od@k+'>, <TextNode: '\n\n '>, <Block Node: breadcrumb_index. Contents: [<TextNode: '\n <ul class="breadcr'>, <Block Node: breadcrumb_menu. Contents: [<TextNode: '\n '>, <django.template.defaulttags.SpacelessNode object at 0x7f7e3a991f98>, <TextNode: '\n '>]>, <TextNode: '\n </ul>\n '>]>, <TextNode: '\n\n '>, <Block Node: carousel. Contents: []>, <TextNode: '\n\n '>, <Block Node: dynamic_content. Contents: [<TextNode: '\n <div id="main-cont'>, <Block Node: main. Contents: []>, <TextNode: '\n </div>\n\n '>, <TextNode: 'nevercache.h#zy=gh#2od@k+'>, <TextNode: '\n '>, <Block Node: right_panel. Contents: []>, <TextNode: '\n </div>\n '>]>, <TextNode: '\n\n '>, <Block Node: carousel_bottom. Contents: []>, <TextNode: '\n\n '>, <Block Node: top_of_footer. Contents: []>, <TextNode: '\n\n '>, <Block Node: footer. Contents: [<TextNode: '\n <footer id="footer-c'>, <mezzanine.template.Library.render_tag.<locals>.tag_wrapper.<locals>.RenderTagNode object at 0x7f7e3a9f0080>, <TextNode: '\n <div cla'>, <django.template.defaulttags.NowNode object at 0x7f7e3aa4c048>, <TextNode: ' <!--#include virtual="/s'>]>, <TextNode: '\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7f7e3aa4cd68>, <TextNode: '\n '>, <Block Node: extra_js. Contents: [<TextNode: '\n \t<!--#include virtua'>]>, <TextNode: '\n\n '>, <Block Node: breloader. Contents: [<TextNode: '\n <!-- preloader\n ='>]>, <TextNode: '\n\n <script src="/stati'>]> |
self | [<TextNode: '<!doctype html>\n<html cla'>, <Variable Node: LANGUAGE_CODE>, <TextNode: '"'>, <IfNode>, <TextNode: '>\n'>, <django.template.defaulttags.LoadNode object at 0x7f7e3f4e12e8>, <TextNode: '\n '>, <Block Node: head. Contents: [<TextNode: '\n <head>\n <meta chars'>, <Block Node: meta_keywords. Contents: []>, <TextNode: '">\n <meta name="descri'>, <Block Node: meta_description. Contents: []>, <TextNode: '">\n <title>'>, <Block Node: meta_title. Contents: []>, <IfNode>, <TextNode: '</title>\n\n '>, <mezzanine.core.templatetags.mezzanine_tags.ifinstalled.<locals>.IfInstalledNode object at 0x7f7e3a93e470>, <TextNode: '\n\n '>, <compressor.templatetags.compress.CompressorNode object at 0x7f7e3f4b9e80>, <TextNode: '\n\n '>, <compressor.templatetags.compress.CompressorNode object at 0x7f7e3f4b9c50>, <TextNode: '\n\n <!--[if lt IE 9]>\n '>, <django.templatetags.static.StaticNode object at 0x7f7e3a9f06a0>, <TextNode: '"></script>\n <script s'>, <django.templatetags.static.StaticNode object at 0x7f7e3a9f0198>, <TextNode: '"></script>\n <![endif]'>, <Block Node: extra_head. Contents: []>, <TextNode: '\n\n\n </head>\n '>]>, <TextNode: '\n\n '>, <Block Node: body. Contents: [<TextNode: '\n <body id="'>, <Block Node: body_id. Contents: [<TextNode: 'base'>]>, <TextNode: '">\n\n '>, <Block Node: header. Contents: [<TextNode: '\n <!-- header\n '>, <Block Node: nav. Contents: [<TextNode: '\n <nav class="he'>, <mezzanine.template.Library.render_tag.<locals>.tag_wrapper.<locals>.RenderTagNode object at 0x7f7e3a9f0ac8>, <TextNode: '\n\n </div> <!'>]>, <TextNode: '\n\n </header> <!-- en'>]>, <TextNode: ' <!-- end block header -'>, <Block Node: home. Contents: [<TextNode: '\n <!-- home\n =='>, <Block Node: background_head_img. Contents: [<TextNode: '/static/img/dawn.jpg'>]>, <TextNode: '" data-parallax="scroll" '>, <Block Node: intro_title. Contents: [<TextNode: '\n '>]>, <TextNode: '</h1>\n\n <p'>, <Block Node: intro. Contents: [<TextNode: '\n '>]>, <TextNode: '</p>\n </div>'>, <Block Node: side_home. Contents: [<TextNode: '\n '>]>, <TextNode: '\n\n\n <a href="#ma'>]>, <TextNode: ' <!-- end block home -->\n'>, <TextNode: 'nevercache.h#zy=gh#2od@k+'>, <TextNode: '\n\n '>, <Block Node: breadcrumb_index. Contents: [<TextNode: '\n <ul class="breadcr'>, <Block Node: breadcrumb_menu. Contents: [<TextNode: '\n '>, <django.template.defaulttags.SpacelessNode object at 0x7f7e3a991f98>, <TextNode: '\n '>]>, <TextNode: '\n </ul>\n '>]>, <TextNode: '\n\n '>, <Block Node: carousel. Contents: []>, <TextNode: '\n\n '>, <Block Node: dynamic_content. Contents: [<TextNode: '\n <div id="main-cont'>, <Block Node: main. Contents: []>, <TextNode: '\n </div>\n\n '>, <TextNode: 'nevercache.h#zy=gh#2od@k+'>, <TextNode: '\n '>, <Block Node: right_panel. Contents: []>, <TextNode: '\n </div>\n '>]>, <TextNode: '\n\n '>, <Block Node: carousel_bottom. Contents: []>, <TextNode: '\n\n '>, <Block Node: top_of_footer. Contents: []>, <TextNode: '\n\n '>, <Block Node: footer. Contents: [<TextNode: '\n <footer id="footer-c'>, <mezzanine.template.Library.render_tag.<locals>.tag_wrapper.<locals>.RenderTagNode object at 0x7f7e3a9f0080>, <TextNode: '\n <div cla'>, <django.template.defaulttags.NowNode object at 0x7f7e3aa4c048>, <TextNode: ' <!--#include virtual="/s'>]>, <TextNode: '\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7f7e3aa4cd68>, <TextNode: '\n '>, <Block Node: extra_js. Contents: [<TextNode: '\n \t<!--#include virtua'>]>, <TextNode: '\n\n '>, <Block Node: breloader. Contents: [<TextNode: '\n <!-- preloader\n ='>]>, <TextNode: '\n\n <script src="/stati'>]>, <TextNode: '\n\n</html>\n'>] |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
self | <Block Node: body. Contents: [<TextNode: '\n <body id="'>, <Block Node: body_id. Contents: [<TextNode: 'base'>]>, <TextNode: '">\n\n '>, <Block Node: header. Contents: [<TextNode: '\n <!-- header\n '>, <Block Node: nav. Contents: [<TextNode: '\n <nav class="he'>, <mezzanine.template.Library.render_tag.<locals>.tag_wrapper.<locals>.RenderTagNode object at 0x7f7e3a9f0ac8>, <TextNode: '\n\n </div> <!'>]>, <TextNode: '\n\n </header> <!-- en'>]>, <TextNode: ' <!-- end block header -'>, <Block Node: home. Contents: [<TextNode: '\n <!-- home\n =='>, <Block Node: background_head_img. Contents: [<TextNode: '/static/img/dawn.jpg'>]>, <TextNode: '" data-parallax="scroll" '>, <Block Node: intro_title. Contents: [<TextNode: '\n '>]>, <TextNode: '</h1>\n\n <p'>, <Block Node: intro. Contents: [<TextNode: '\n '>]>, <TextNode: '</p>\n </div>'>, <Block Node: side_home. Contents: [<TextNode: '\n '>]>, <TextNode: '\n\n\n <a href="#ma'>]>, <TextNode: ' <!-- end block home -->\n'>, <TextNode: 'nevercache.h#zy=gh#2od@k+'>, <TextNode: '\n\n '>, <Block Node: breadcrumb_index. Contents: [<TextNode: '\n <ul class="breadcr'>, <Block Node: breadcrumb_menu. Contents: [<TextNode: '\n '>, <django.template.defaulttags.SpacelessNode object at 0x7f7e3a991f98>, <TextNode: '\n '>]>, <TextNode: '\n </ul>\n '>]>, <TextNode: '\n\n '>, <Block Node: carousel. Contents: []>, <TextNode: '\n\n '>, <Block Node: dynamic_content. Contents: [<TextNode: '\n <div id="main-cont'>, <Block Node: main. Contents: []>, <TextNode: '\n </div>\n\n '>, <TextNode: 'nevercache.h#zy=gh#2od@k+'>, <TextNode: '\n '>, <Block Node: right_panel. Contents: []>, <TextNode: '\n </div>\n '>]>, <TextNode: '\n\n '>, <Block Node: carousel_bottom. Contents: []>, <TextNode: '\n\n '>, <Block Node: top_of_footer. Contents: []>, <TextNode: '\n\n '>, <Block Node: footer. Contents: [<TextNode: '\n <footer id="footer-c'>, <mezzanine.template.Library.render_tag.<locals>.tag_wrapper.<locals>.RenderTagNode object at 0x7f7e3a9f0080>, <TextNode: '\n <div cla'>, <django.template.defaulttags.NowNode object at 0x7f7e3aa4c048>, <TextNode: ' <!--#include virtual="/s'>]>, <TextNode: '\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7f7e3aa4cd68>, <TextNode: '\n '>, <Block Node: extra_js. Contents: [<TextNode: '\n \t<!--#include virtua'>]>, <TextNode: '\n\n '>, <Block Node: breloader. Contents: [<TextNode: '\n <!-- preloader\n ='>]>, <TextNode: '\n\n <script src="/stati'>]> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
block | <Block Node: body. Contents: [<TextNode: '\n <body id="'>, <Block Node: body_id. Contents: [<TextNode: 'base'>]>, <TextNode: '">\n\n '>, <Block Node: header. Contents: [<TextNode: '\n <!-- header\n '>, <Block Node: nav. Contents: [<TextNode: '\n <nav class="he'>, <mezzanine.template.Library.render_tag.<locals>.tag_wrapper.<locals>.RenderTagNode object at 0x7f7e3a9f0ac8>, <TextNode: '\n\n </div> <!'>]>, <TextNode: '\n\n </header> <!-- en'>]>, <TextNode: ' <!-- end block header -'>, <Block Node: home. Contents: [<TextNode: '\n <!-- home\n =='>, <Block Node: background_head_img. Contents: [<TextNode: '/static/img/dawn.jpg'>]>, <TextNode: '" data-parallax="scroll" '>, <Block Node: intro_title. Contents: [<TextNode: '\n '>]>, <TextNode: '</h1>\n\n <p'>, <Block Node: intro. Contents: [<TextNode: '\n '>]>, <TextNode: '</p>\n </div>'>, <Block Node: side_home. Contents: [<TextNode: '\n '>]>, <TextNode: '\n\n\n <a href="#ma'>]>, <TextNode: ' <!-- end block home -->\n'>, <TextNode: 'nevercache.h#zy=gh#2od@k+'>, <TextNode: '\n\n '>, <Block Node: breadcrumb_index. Contents: [<TextNode: '\n <ul class="breadcr'>, <Block Node: breadcrumb_menu. Contents: [<TextNode: '\n '>, <django.template.defaulttags.SpacelessNode object at 0x7f7e3a991f98>, <TextNode: '\n '>]>, <TextNode: '\n </ul>\n '>]>, <TextNode: '\n\n '>, <Block Node: carousel. Contents: []>, <TextNode: '\n\n '>, <Block Node: dynamic_content. Contents: [<TextNode: '\n <div id="main-cont'>, <Block Node: main. Contents: []>, <TextNode: '\n </div>\n\n '>, <TextNode: 'nevercache.h#zy=gh#2od@k+'>, <TextNode: '\n '>, <Block Node: right_panel. Contents: []>, <TextNode: '\n </div>\n '>]>, <TextNode: '\n\n '>, <Block Node: carousel_bottom. Contents: []>, <TextNode: '\n\n '>, <Block Node: top_of_footer. Contents: []>, <TextNode: '\n\n '>, <Block Node: footer. Contents: [<TextNode: '\n <footer id="footer-c'>, <mezzanine.template.Library.render_tag.<locals>.tag_wrapper.<locals>.RenderTagNode object at 0x7f7e3a9f0080>, <TextNode: '\n <div cla'>, <django.template.defaulttags.NowNode object at 0x7f7e3aa4c048>, <TextNode: ' <!--#include virtual="/s'>]>, <TextNode: '\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7f7e3aa4cd68>, <TextNode: '\n '>, <Block Node: extra_js. Contents: [<TextNode: '\n \t<!--#include virtua'>]>, <TextNode: '\n\n '>, <Block Node: breloader. Contents: [<TextNode: '\n <!-- preloader\n ='>]>, <TextNode: '\n\n <script src="/stati'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f7e3bd268d0> |
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
push | <Block Node: body. Contents: [<TextNode: '\n <body id="'>, <Block Node: body_id. Contents: [<TextNode: 'base'>]>, <TextNode: '">\n\n '>, <Block Node: header. Contents: [<TextNode: '\n <!-- header\n '>, <Block Node: nav. Contents: [<TextNode: '\n <nav class="he'>, <mezzanine.template.Library.render_tag.<locals>.tag_wrapper.<locals>.RenderTagNode object at 0x7f7e3a9f0ac8>, <TextNode: '\n\n </div> <!'>]>, <TextNode: '\n\n </header> <!-- en'>]>, <TextNode: ' <!-- end block header -'>, <Block Node: home. Contents: [<TextNode: '\n <!-- home\n =='>, <Block Node: background_head_img. Contents: [<TextNode: '/static/img/dawn.jpg'>]>, <TextNode: '" data-parallax="scroll" '>, <Block Node: intro_title. Contents: [<TextNode: '\n '>]>, <TextNode: '</h1>\n\n <p'>, <Block Node: intro. Contents: [<TextNode: '\n '>]>, <TextNode: '</p>\n </div>'>, <Block Node: side_home. Contents: [<TextNode: '\n '>]>, <TextNode: '\n\n\n <a href="#ma'>]>, <TextNode: ' <!-- end block home -->\n'>, <TextNode: 'nevercache.h#zy=gh#2od@k+'>, <TextNode: '\n\n '>, <Block Node: breadcrumb_index. Contents: [<TextNode: '\n <ul class="breadcr'>, <Block Node: breadcrumb_menu. Contents: [<TextNode: '\n '>, <django.template.defaulttags.SpacelessNode object at 0x7f7e3a991f98>, <TextNode: '\n '>]>, <TextNode: '\n </ul>\n '>]>, <TextNode: '\n\n '>, <Block Node: carousel. Contents: []>, <TextNode: '\n\n '>, <Block Node: dynamic_content. Contents: [<TextNode: '\n <div id="main-cont'>, <Block Node: main. Contents: []>, <TextNode: '\n </div>\n\n '>, <TextNode: 'nevercache.h#zy=gh#2od@k+'>, <TextNode: '\n '>, <Block Node: right_panel. Contents: []>, <TextNode: '\n </div>\n '>]>, <TextNode: '\n\n '>, <Block Node: carousel_bottom. Contents: []>, <TextNode: '\n\n '>, <Block Node: top_of_footer. Contents: []>, <TextNode: '\n\n '>, <Block Node: footer. Contents: [<TextNode: '\n <footer id="footer-c'>, <mezzanine.template.Library.render_tag.<locals>.tag_wrapper.<locals>.RenderTagNode object at 0x7f7e3a9f0080>, <TextNode: '\n <div cla'>, <django.template.defaulttags.NowNode object at 0x7f7e3aa4c048>, <TextNode: ' <!--#include virtual="/s'>]>, <TextNode: '\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7f7e3aa4cd68>, <TextNode: '\n '>, <Block Node: extra_js. Contents: [<TextNode: '\n \t<!--#include virtua'>]>, <TextNode: '\n\n '>, <Block Node: breloader. Contents: [<TextNode: '\n <!-- preloader\n ='>]>, <TextNode: '\n\n <script src="/stati'>]> |
self | <Block Node: body. Contents: [<TextNode: '\n <body id="'>, <Block Node: body_id. Contents: [<TextNode: 'base'>]>, <TextNode: '">\n\n '>, <Block Node: header. Contents: [<TextNode: '\n <!-- header\n '>, <Block Node: nav. Contents: [<TextNode: '\n <nav class="he'>, <mezzanine.template.Library.render_tag.<locals>.tag_wrapper.<locals>.RenderTagNode object at 0x7f7e3a9f0ac8>, <TextNode: '\n\n </div> <!'>]>, <TextNode: '\n\n </header> <!-- en'>]>, <TextNode: ' <!-- end block header -'>, <Block Node: home. Contents: [<TextNode: '\n <!-- home\n =='>, <Block Node: background_head_img. Contents: [<TextNode: '/static/img/dawn.jpg'>]>, <TextNode: '" data-parallax="scroll" '>, <Block Node: intro_title. Contents: [<TextNode: '\n '>]>, <TextNode: '</h1>\n\n <p'>, <Block Node: intro. Contents: [<TextNode: '\n '>]>, <TextNode: '</p>\n </div>'>, <Block Node: side_home. Contents: [<TextNode: '\n '>]>, <TextNode: '\n\n\n <a href="#ma'>]>, <TextNode: ' <!-- end block home -->\n'>, <TextNode: 'nevercache.h#zy=gh#2od@k+'>, <TextNode: '\n\n '>, <Block Node: breadcrumb_index. Contents: [<TextNode: '\n <ul class="breadcr'>, <Block Node: breadcrumb_menu. Contents: [<TextNode: '\n '>, <django.template.defaulttags.SpacelessNode object at 0x7f7e3a991f98>, <TextNode: '\n '>]>, <TextNode: '\n </ul>\n '>]>, <TextNode: '\n\n '>, <Block Node: carousel. Contents: []>, <TextNode: '\n\n '>, <Block Node: dynamic_content. Contents: [<TextNode: '\n <div id="main-cont'>, <Block Node: main. Contents: []>, <TextNode: '\n </div>\n\n '>, <TextNode: 'nevercache.h#zy=gh#2od@k+'>, <TextNode: '\n '>, <Block Node: right_panel. Contents: []>, <TextNode: '\n </div>\n '>]>, <TextNode: '\n\n '>, <Block Node: carousel_bottom. Contents: []>, <TextNode: '\n\n '>, <Block Node: top_of_footer. Contents: []>, <TextNode: '\n\n '>, <Block Node: footer. Contents: [<TextNode: '\n <footer id="footer-c'>, <mezzanine.template.Library.render_tag.<locals>.tag_wrapper.<locals>.RenderTagNode object at 0x7f7e3a9f0080>, <TextNode: '\n <div cla'>, <django.template.defaulttags.NowNode object at 0x7f7e3aa4c048>, <TextNode: ' <!--#include virtual="/s'>]>, <TextNode: '\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7f7e3aa4cd68>, <TextNode: '\n '>, <Block Node: extra_js. Contents: [<TextNode: '\n \t<!--#include virtua'>]>, <TextNode: '\n\n '>, <Block Node: breloader. Contents: [<TextNode: '\n <!-- preloader\n ='>]>, <TextNode: '\n\n <script src="/stati'>]> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | ' <!-- end block header -->\n\n ' |
bits | ['\n <body id="', 'flexboxpage-oribse', '">\n\n ', '\n' ' <!-- header\n' ' ================================================== -->\n' ' <header class="s-header">\n' ' <div class="header-logo">\n' ' <a class="site-logo" href="/">\n' '\n' ' <img class="img-responsiv" src="/static/img/logo.png" ' 'alt="Homepage">\n' ' </a>\n' ' </div> <!-- end header-logo -->\n' '\n' ' \n' ' <nav class="header-nav">\n' '\n' ' <a href="#0" class="header-nav__close" ' 'title="close"><span>Close</span></a>\n' '\n' ' <div class="header-nav__content">\n' ' <h3>Oribium</h3>\n' '\n' ' \n' '<ul class="header-nav__list"><li id="dropdown-menu-home"><a ' 'href="/">Hem</a></li><li class="\n' ' "\n' ' id="-#services"><a href="/#services"\n' ' >\n' ' Tjänster\n' ' \n' ' </a></li><li class="dropdown\n' ' "\n' ' id="webbdesign-webbutveckling-"><a ' 'href="/webbdesign-webbutveckling/"\n' ' \n' ' class="dropdown-toggle disabled" data-toggle="dropdown"\n' ' >\n' ' Webbdesign\n' ' <b class="caret"></b></a><ul class="dropdown-menu"><li ' 'class="\n' ' "\n' ' ' 'id="webbdesign-webbutveckling-innehallshanteringssystem-cms-publiceringsverktyg.html"><a ' 'href="/webbdesign-webbutveckling/innehallshanteringssystem-cms-publiceringsverktyg.html">Innehållshanteringssystem</a></li></ul></li><li ' 'class="\n' ' "\n' ' id="internetbutik-e-handel.html"><a ' 'href="/internetbutik-e-handel.html"\n' ' >\n' ' E-handel\n' ' \n' ' </a></li><li class="\n' ' "\n' ' id="tjanster-helhetsloesningar-internet"><a ' 'href="/tjanster/helhetsloesningar-internet"\n' ' >\n' ' Helhetslösningar\n' ' \n' ' </a></li><li class="\n' ' "\n' ' id="fri-programvara-oeppen-kaellkod-fri-programvara.html"><a ' 'href="/fri-programvara/oeppen-kaellkod-fri-programvara.html"\n' ' >\n' ' Fri programvara\n' ' \n' ' </a></li><li class="\n' ' "\n' ' id="om-foretaget-"><a href="/om-foretaget/"\n' ' >\n' ' Om Oribium\n' ' \n' ' </a></li><li class="\n' ' "\n' ' id="offertfoerfraagan"><a href="/offertfoerfraagan"\n' ' >\n' ' Offertförfrågan\n' ' \n' ' </a></li></ul>\n' '\n' '\n' ' </div> <!-- end header-nav__content -->\n' '\n' ' </nav> <!-- end header-nav -->\n' '\n' ' <a class="header-menu-toggle" href="#0">\n' ' <span class="header-menu-icon"></span>\n' ' </a>\n' '\n' ' \n' '\n' ' </header> <!-- end section header -->\n' '\n' ' ', ' <!-- end block header -->\n\n '] |
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
node | <Block Node: home. Contents: [<TextNode: '\n <!-- home\n =='>, <Block Node: background_head_img. Contents: [<TextNode: '/static/img/dawn.jpg'>]>, <TextNode: '" data-parallax="scroll" '>, <Block Node: intro_title. Contents: [<TextNode: '\n '>]>, <TextNode: '</h1>\n\n <p'>, <Block Node: intro. Contents: [<TextNode: '\n '>]>, <TextNode: '</p>\n </div>'>, <Block Node: side_home. Contents: [<TextNode: '\n '>]>, <TextNode: '\n\n\n <a href="#ma'>]> |
self | [<TextNode: '\n <body id="'>, <Block Node: body_id. Contents: [<TextNode: 'base'>]>, <TextNode: '">\n\n '>, <Block Node: header. Contents: [<TextNode: '\n <!-- header\n '>, <Block Node: nav. Contents: [<TextNode: '\n <nav class="he'>, <mezzanine.template.Library.render_tag.<locals>.tag_wrapper.<locals>.RenderTagNode object at 0x7f7e3a9f0ac8>, <TextNode: '\n\n </div> <!'>]>, <TextNode: '\n\n </header> <!-- en'>]>, <TextNode: ' <!-- end block header -'>, <Block Node: home. Contents: [<TextNode: '\n <!-- home\n =='>, <Block Node: background_head_img. Contents: [<TextNode: '/static/img/dawn.jpg'>]>, <TextNode: '" data-parallax="scroll" '>, <Block Node: intro_title. Contents: [<TextNode: '\n '>]>, <TextNode: '</h1>\n\n <p'>, <Block Node: intro. Contents: [<TextNode: '\n '>]>, <TextNode: '</p>\n </div>'>, <Block Node: side_home. Contents: [<TextNode: '\n '>]>, <TextNode: '\n\n\n <a href="#ma'>]>, <TextNode: ' <!-- end block home -->\n'>, <TextNode: 'nevercache.h#zy=gh#2od@k+'>, <TextNode: '\n\n '>, <Block Node: breadcrumb_index. Contents: [<TextNode: '\n <ul class="breadcr'>, <Block Node: breadcrumb_menu. Contents: [<TextNode: '\n '>, <django.template.defaulttags.SpacelessNode object at 0x7f7e3a991f98>, <TextNode: '\n '>]>, <TextNode: '\n </ul>\n '>]>, <TextNode: '\n\n '>, <Block Node: carousel. Contents: []>, <TextNode: '\n\n '>, <Block Node: dynamic_content. Contents: [<TextNode: '\n <div id="main-cont'>, <Block Node: main. Contents: []>, <TextNode: '\n </div>\n\n '>, <TextNode: 'nevercache.h#zy=gh#2od@k+'>, <TextNode: '\n '>, <Block Node: right_panel. Contents: []>, <TextNode: '\n </div>\n '>]>, <TextNode: '\n\n '>, <Block Node: carousel_bottom. Contents: []>, <TextNode: '\n\n '>, <Block Node: top_of_footer. Contents: []>, <TextNode: '\n\n '>, <Block Node: footer. Contents: [<TextNode: '\n <footer id="footer-c'>, <mezzanine.template.Library.render_tag.<locals>.tag_wrapper.<locals>.RenderTagNode object at 0x7f7e3a9f0080>, <TextNode: '\n <div cla'>, <django.template.defaulttags.NowNode object at 0x7f7e3aa4c048>, <TextNode: ' <!--#include virtual="/s'>]>, <TextNode: '\n\n '>, <django.template.loader_tags.IncludeNode object at 0x7f7e3aa4cd68>, <TextNode: '\n '>, <Block Node: extra_js. Contents: [<TextNode: '\n \t<!--#include virtua'>]>, <TextNode: '\n\n '>, <Block Node: breloader. Contents: [<TextNode: '\n <!-- preloader\n ='>]>, <TextNode: '\n\n <script src="/stati'>] |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
self | <Block Node: home. Contents: [<TextNode: '\n <!-- home\n =='>, <Block Node: background_head_img. Contents: [<TextNode: '/static/img/dawn.jpg'>]>, <TextNode: '" data-parallax="scroll" '>, <Block Node: intro_title. Contents: [<TextNode: '\n '>]>, <TextNode: '</h1>\n\n <p'>, <Block Node: intro. Contents: [<TextNode: '\n '>]>, <TextNode: '</p>\n </div>'>, <Block Node: side_home. Contents: [<TextNode: '\n '>]>, <TextNode: '\n\n\n <a href="#ma'>]> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
block | <Block Node: home. Contents: [<TextNode: '\n <!-- home\n =='>, <Block Node: background_head_img. Contents: [<TextNode: '/static/img/dawn.jpg'>]>, <TextNode: '" data-parallax="scroll" '>, <Block Node: intro_title. Contents: [<TextNode: '\n '>]>, <TextNode: '</h1>\n\n <p'>, <Block Node: intro. Contents: [<TextNode: '\n '>]>, <TextNode: '</p>\n </div>'>, <Block Node: side_home. Contents: [<TextNode: '\n '>]>, <TextNode: '\n\n\n <a href="#ma'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f7e3bd268d0> |
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
push | <Block Node: home. Contents: [<TextNode: '\n <!-- home\n =='>, <Block Node: background_head_img. Contents: [<TextNode: '/static/img/dawn.jpg'>]>, <TextNode: '" data-parallax="scroll" '>, <Block Node: intro_title. Contents: [<TextNode: '\n '>]>, <TextNode: '</h1>\n\n <p'>, <Block Node: intro. Contents: [<TextNode: '\n '>]>, <TextNode: '</p>\n </div>'>, <Block Node: side_home. Contents: [<TextNode: '\n '>]>, <TextNode: '\n\n\n <a href="#ma'>]> |
self | <Block Node: home. Contents: [<TextNode: '\n <!-- home\n =='>, <Block Node: background_head_img. Contents: [<TextNode: '/static/img/dawn.jpg'>]>, <TextNode: '" data-parallax="scroll" '>, <Block Node: intro_title. Contents: [<TextNode: '\n '>]>, <TextNode: '</h1>\n\n <p'>, <Block Node: intro. Contents: [<TextNode: '\n '>]>, <TextNode: '</p>\n </div>'>, <Block Node: side_home. Contents: [<TextNode: '\n '>]>, <TextNode: '\n\n\n <a href="#ma'>]> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | ('" data-parallax="scroll" data-natural-width=3000 data-natural-height=2000 ' 'data-position-y=top style="margin:0px;">\n' '\n' ' <div class="shadow-overlay"></div>\n' '\n' ' <div class="home-content">\n' '\n' ' <div class="row home-content__main">\n' ' <h1>') |
bits | ['\n' ' <!-- home\n' ' ================================================== -->\n' ' <section id="home" class="s-home target-section" data-image-src="', '/static/img/sky.jpg', '" data-parallax="scroll" data-natural-width=3000 data-natural-height=2000 ' 'data-position-y=top style="margin:0px;">\n' '\n' ' <div class="shadow-overlay"></div>\n' '\n' ' <div class="home-content">\n' '\n' ' <div class="row home-content__main">\n' ' <h1>'] |
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
node | <Block Node: intro_title. Contents: [<TextNode: '\n '>]> |
self | [<TextNode: '\n <!-- home\n =='>, <Block Node: background_head_img. Contents: [<TextNode: '/static/img/dawn.jpg'>]>, <TextNode: '" data-parallax="scroll" '>, <Block Node: intro_title. Contents: [<TextNode: '\n '>]>, <TextNode: '</h1>\n\n <p'>, <Block Node: intro. Contents: [<TextNode: '\n '>]>, <TextNode: '</p>\n </div>'>, <Block Node: side_home. Contents: [<TextNode: '\n '>]>, <TextNode: '\n\n\n <a href="#ma'>] |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
self | <Block Node: intro_title. Contents: [<TextNode: '\n '>]> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
block | <Block Node: intro_title. Contents: [<TextNode: '\n\t'>, <mezzanine.template.Library.to_end_tag.<locals>.tag_wrapper.<locals>.ToEndTagNode object at 0x7f7e3bcb17b8>, <TextNode: '\n'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f7e3bd268d0> |
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
push | <Block Node: intro_title. Contents: [<TextNode: '\n\t'>, <mezzanine.template.Library.to_end_tag.<locals>.tag_wrapper.<locals>.ToEndTagNode object at 0x7f7e3bcb17b8>, <TextNode: '\n'>]> |
self | <Block Node: intro_title. Contents: [<TextNode: '\n '>]> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n\t' |
bits | ['\n\t'] |
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
node | <mezzanine.template.Library.to_end_tag.<locals>.tag_wrapper.<locals>.ToEndTagNode object at 0x7f7e3bcb17b8> |
self | [<TextNode: '\n\t'>, <mezzanine.template.Library.to_end_tag.<locals>.tag_wrapper.<locals>.ToEndTagNode object at 0x7f7e3bcb17b8>, <TextNode: '\n'>] |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
self | <mezzanine.template.Library.to_end_tag.<locals>.tag_wrapper.<locals>.ToEndTagNode object at 0x7f7e3bcb17b8> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/mezzanine/template/__init__.py
in render
def __init__(self):
end_name = "end%s" % tag_func.__name__
self.nodelist = parser.parse((end_name,))
parser.delete_first_token()
def render(self, context):
args = (self.nodelist.render(context), context, token)...
return tag_func(*args[:tag_func.__code__.co_argcount])
return ToEndTagNode()
return self.tag(tag_wrapper)
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
self | <mezzanine.template.Library.to_end_tag.<locals>.tag_wrapper.<locals>.ToEndTagNode object at 0x7f7e3bcb17b8> |
tag_func | <function editable at 0x7f7e3d053f28> |
token | <django.template.base.Token object at 0x7f7e3a9157b8> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '\n\t\t' |
bits | ['\n\t\t'] |
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
node | <Variable Node: page.flexboxpage.intro_title|richtext_filters|safe> |
self | [<TextNode: '\n\t\t'>, <Variable Node: page.flexboxpage.intro_title|richtext_filters|safe>, <TextNode: '\n\t'>] |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)...
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
self | <Variable Node: page.flexboxpage.intro_title|richtext_filters|safe> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in render
self.filter_expression = filter_expression
def __repr__(self):
return "<Variable Node: %s>" % self.filter_expression
def render(self, context):
try:
output = self.filter_expression.resolve(context)...
except UnicodeDecodeError:
# Unicode conversion can fail sometimes for reasons out of our
# control (e.g. exception rendering). In that case, we fail
# quietly.
return ''
return render_value_in_context(output, context)
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
self | <Variable Node: page.flexboxpage.intro_title|richtext_filters|safe> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/django/template/base.py
in resolve
else:
arg_vals.append(arg.resolve(context))
if getattr(func, 'expects_localtime', False):
obj = template_localtime(obj, context.use_tz)
if getattr(func, 'needs_autoescape', False):
new_obj = func(obj, autoescape=context.autoescape, *arg_vals)
else:
new_obj = func(obj, *arg_vals)...
if getattr(func, 'is_safe', False) and isinstance(obj, SafeData):
obj = mark_safe(new_obj)
elif isinstance(obj, EscapeData):
with warnings.catch_warnings():
# Ignore mark_for_escaping deprecation as this will be
# removed in Django 2.0.
Variable | Value |
---|---|
arg_vals | [] |
args | [] |
context | [{'True': True, 'False': False, 'None': None, '_current_page': <Page: Tjänster backup>, 'on_home': False, 'has_home': False, '_parent_page_ids': {12: 4, 25: 6, 47: None, 6: None, 31: 6, 8: None, 45: None, 4: None, 17: None, 16: None, 18: None, 19: None, 20: None, 21: None, 22: None, 23: None, 24: None, 28: None, 32: None, 36: None, 42: None, 43: None}, 'menu_pages': defaultdict(<class 'list'>, {4: [<Page: Tjänster backup / Enkäter>], 6: [<Page: Webbdesign / E-postmallar>, <Page: Webbdesign / Innehållshanteringssystem>], None: [<Page: Tjänster>, <Page: Webbdesign>, <Page: E-handel>, <Page: Helhetslösningar>, <Page: Tjänster backup>, <Page: Fri programvara>, <Page: Om Oribium>, <Page: Webbyrå Webdesign Sökmotoroptimering Karlshamn>, <Page: Webbyrå Webdesign Sökmotormarknadsföring Göteborg>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Blekinge>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Olofström>, <Page: Webbyrå Webbdesign Sökmotoroptimering Hemsida Sölvesborg>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Ronneby>, <Page: Webbyrå Webbdesign Hemsida Sökmotoroptimering Karlskrona>, <Page: Allmänna avtalsvillkor>, <Page: Webbhotell>, <Page: Offertförfrågan>, <Page: Integritetspolicy>, <Page: Webbdesign Webbyrå>]})}, {}, {}] |
escape_isnt_last_filter | True |
func | <function richtext_filters at 0x7f7e3d053d08> |
ignore_failures | False |
obj | None |
self | <django.template.base.FilterExpression object at 0x7f7e3bcb1160> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/mezzanine/core/templatetags/mezzanine_tags.py
in richtext_filters
def richtext_filters(content):
"""
Takes a value edited via the WYSIWYG editor, and passes it through
each of the functions specified by the RICHTEXT_FILTERS setting.
"""
for filter_name in settings.RICHTEXT_FILTERS:
filter_func = import_dotted_path(filter_name)
content = filter_func(content)...
if not isinstance(content, SafeText):
# raise TypeError(
# filter_name + " must mark it's return value as safe. See "
# "https://docs.djangoproject.com/en/stable/topics/security/"
# "#cross-site-scripting-xss-protection")
import warnings
Variable | Value |
---|---|
content | None |
filter_func | <function thumbnails at 0x7f7e3eb9e268> |
filter_name | 'mezzanine.utils.html.thumbnails' |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/mezzanine/utils/deprecation.py
in wrapper
def mark_safe(s):
from django.utils.safestring import mark_safe as django_safe
if callable(s):
@wraps(s)
def wrapper(*args, **kwargs):
return django_safe(s(*args, **kwargs))...
return wrapper
return django_safe(s)
Variable | Value |
---|---|
args | (None,) |
django_safe | <function mark_safe at 0x7f7e42b3c378> |
kwargs | {} |
s | <function thumbnails at 0x7f7e3eb9e1e0> |
/usr/local/venv/oribium_net_3.6/lib64/python3.6/site-packages/mezzanine/utils/html.py
in thumbnails
"""
from django.conf import settings
from bs4 import BeautifulSoup
from mezzanine.core.templatetags.mezzanine_tags import thumbnail
# If MEDIA_URL isn't in the HTML string, there aren't any
# images to replace, so bail early.
if settings.MEDIA_URL.lower() not in html.lower():...
return html
dom = BeautifulSoup(html, "html.parser")
for img in dom.findAll("img"):
src = img.get("src", "")
src_in_media = src.lower().startswith(settings.MEDIA_URL.lower())
Variable | Value |
---|---|
BeautifulSoup | <class 'bs4.BeautifulSoup'> |
html | None |
settings | <LazySettings "oribiumse.settings"> |
thumbnail | <function thumbnail at 0x7f7e3d053a60> |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTENT_LENGTH | '' |
CONTENT_TYPE | '' |
CSRF_COOKIE | '8xtj5I9cs8nvoMD9Qiys5tCOZ9K6QKb8jpOzblzQqjFLyIMY5ttI4bnnPOOii1iQ' |
CSRF_COOKIE_USED | True |
DOCUMENT_ROOT | '/var/www/vhosts/oribnet/oribium_se_36' |
HTTPS | 'on' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'www.oribium.se' |
HTTP_REFERER | 'http://www.oribium.se/tjanster/tjanster.html' |
HTTP_USER_AGENT | 'claudebot' |
Host | 'www.oribium.se' |
PATH_INFO | '/tjanster/tjanster.html' |
QUERY_STRING | '' |
REMOTE_ADDR | '100.24.12.23' |
REMOTE_PORT | '36218' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/tjanster/tjanster.html' |
SCRIPT_NAME | '' |
SERVER_NAME | 'www.oribium.se' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/2.0' |
UWSGI_FASTROUTER_KEY | 'oribse.sam.oribium.net' |
UWSGI_SCHEME | 'https' |
X-Forwarded-For | '100.24.12.23' |
X-Forwarded-Proto | 'https' |
X-Real-IP | '100.24.12.23' |
X-Remote-User | '' |
X-Scheme | 'https' |
uwsgi.node | b'oribnet.sam.oribium.net' |
uwsgi.version | b'2.0.18' |
wsgi.errors | <_io.TextIOWrapper name=2 mode='w' encoding='ANSI_X3.4-1968'> |
wsgi.file_wrapper | '' |
wsgi.input | <uwsgi._Input object at 0x7f7e3bc257c8> |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
oribiumse.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['oribium.se', 'www.oribium.se'] |
APPEND_SLASH | False |
AUTHENTICATION_BACKENDS | ('mezzanine.core.auth_backends.MezzanineBackend', 'oribium_sso.auth.OribiumOIDCAuthenticationBackend') |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/var/www/oribium_se_36' |
CACHES | {'default': {'BACKEND': 'django_redis.cache.RedisCache', 'LOCATION': 'mymaster/sam.oribium.net:26379, ' 'tom.oribium.net:26379, ' 'sebastian.oribium.net:26379, ' 'johanna.oribium.net:26379/0', 'OPTIONS': {'CLIENT_CLASS': 'django_sentinel.SentinelClient', 'PASSWORD': '********************'}}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 60 |
CACHE_TTL | 7200 |
COMMENTS_APP | 'mezzanine.generic' |
COMPRESSORS | {'css': 'compressor.css.CssCompressor', 'js': 'compressor.js.JsCompressor'} |
COMPRESS_CACHEABLE_PRECOMPILERS | () |
COMPRESS_CACHE_BACKEND | 'default' |
COMPRESS_CACHE_KEY_FUNCTION | '********************' |
COMPRESS_CLEAN_CSS_ARGUMENTS | '' |
COMPRESS_CLEAN_CSS_BINARY | 'cleancss' |
COMPRESS_CLOSURE_COMPILER_ARGUMENTS | '' |
COMPRESS_CLOSURE_COMPILER_BINARY | 'java -jar compiler.jar' |
COMPRESS_CSS_HASHING_METHOD | 'mtime' |
COMPRESS_DATA_URI_MAX_SIZE | 1024 |
COMPRESS_DEBUG_TOGGLE | None |
COMPRESS_ENABLED | False |
COMPRESS_FILTERS | {'css': ['compressor.filters.css_default.CssAbsoluteFilter'], 'js': ['compressor.filters.jsmin.JSMinFilter']} |
COMPRESS_JINJA2_GET_ENVIRONMENT | <function CompressorConf.JINJA2_GET_ENVIRONMENT at 0x7f7e3d940488> |
COMPRESS_MINT_DELAY | 30 |
COMPRESS_MTIME_DELAY | 10 |
COMPRESS_OFFLINE | False |
COMPRESS_OFFLINE_CONTEXT | {'MEDIA_URL': '/static/media/', 'STATIC_URL': '/static/', 'settings': <function set_dynamic_settings.<locals>.mezzanine_settings at 0x7f7e3f56b158>} |
COMPRESS_OFFLINE_MANIFEST | 'manifest.json' |
COMPRESS_OFFLINE_TIMEOUT | 31536000 |
COMPRESS_OUTPUT_DIR | 'CACHE' |
COMPRESS_PARSER | 'compressor.parser.AutoSelectParser' |
COMPRESS_PRECOMPILERS | () |
COMPRESS_REBUILD_TIMEOUT | 2592000 |
COMPRESS_ROOT | '/var/www/oribium_se_36/static' |
COMPRESS_STORAGE | 'compressor.storage.CompressorFileStorage' |
COMPRESS_TEMPLATE_FILTER_CONTEXT | {'STATIC_URL': '/static/'} |
COMPRESS_URL | '/static/' |
COMPRESS_URL_PLACEHOLDER | '/__compressor_url_placeholder__/' |
COMPRESS_VERBOSE | False |
COMPRESS_YUGLIFY_BINARY | 'yuglify' |
COMPRESS_YUGLIFY_CSS_ARGUMENTS | '--terminal' |
COMPRESS_YUGLIFY_JS_ARGUMENTS | '--terminal' |
COMPRESS_YUI_BINARY | 'java -jar yuicompressor.jar' |
COMPRESS_YUI_CSS_ARGUMENTS | '' |
COMPRESS_YUI_JS_ARGUMENTS | '' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'mariadb.oribium.net', 'NAME': 'oribium_se', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': 'utf8_general_ci', 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'oribium_se'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y'] |
DATE_FORMAT | 'N j, Y' |
DATE_INPUT_FORMATS | ['%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_CONTENT_TYPE | 'text/html' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'noreply@oribium.net' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DEV_SERVER | False |
DISALLOWED_USER_AGENTS | [] |
DJANGO_VERSION | (1, 11, 26, 'final', 0) |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.selinuxcomputing.net' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'reino@oribium.eu' |
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_CHARSET | 'utf-8' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
FREEIPA_URL | 'https://ipa.oribium.net' |
GRAPPELLI_INSTALLED | True |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ('mezzanine.boot', 'oribium_sso', 'django.contrib.auth', 'mozilla_django_oidc', 'django.contrib.contenttypes', 'django.contrib.redirects', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.sitemaps', 'mezzanine.conf', 'mezzanine.core', 'mezzanine.generic', 'mezzanine.pages', 'mezzanine.blog', 'mezzanine.forms', 'mezzanine.galleries', 'mezzanine.twitter', 'pages_oribium', 'django_extensions', 'compressor', 'filebrowser_safe', 'grappelli_safe', 'django.contrib.admin', 'django.contrib.staticfiles', 'django_comments') |
INTERNAL_IPS | [] |
LANGUAGES | (('sv-SE', 'Swedish'),) |
LANGUAGES_BIDI | ['he', 'ar', 'fa', 'ur'] |
LANGUAGE_CODE | 'sv-SE' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/admin' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | '/user/logout' |
MANAGERS | [] |
MEDIA_ROOT | '/var/www/oribium_se_36/static/media/' |
MEDIA_URL | '/static/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.cookie.CookieStorage' |
MIDDLEWARE | None |
MIDDLEWARE_CLASSES | ('mezzanine.core.middleware.UpdateCacheMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'mezzanine.core.request.CurrentRequestMiddleware', 'mezzanine.core.middleware.RedirectFallbackMiddleware', 'mezzanine.core.middleware.TemplateForDeviceMiddleware', 'mezzanine.core.middleware.TemplateForHostMiddleware', 'mezzanine.core.middleware.AdminLoginInterfaceSelectorMiddleware', 'mezzanine.core.middleware.SitePermissionMiddleware', 'mezzanine.pages.middleware.PageMiddleware', 'mezzanine.core.middleware.FetchFromCacheMiddleware') |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NEVERCACHE_KEY | '********************' |
NUMBER_GROUPING | 0 |
OIDC_OP_AUTHORIZATION_ENDPOINT | 'https://idp.oribium.net/auth/realms/ORIBIUM.NET/protocol/openid-connect/auth' |
OIDC_OP_JWKS_ENDPOINT | 'https://idp.oribium.net/auth/realms/ORIBIUM.NET/protocol/openid-connect/certs' |
OIDC_OP_LOGOUT_ENDPOINT | 'https://idp.oribium.net/auth/realms/ORIBIUM.NET/protocol/openid-connect/logout' |
OIDC_OP_LOGOUT_URL | 'https://idp.oribium.net/auth/realms/ORIBIUM.NET/protocol/openid-connect/logout?redirect_uri=https%3A%2F%2Fwww.oribium.se' |
OIDC_OP_TOKEN_ENDPOINT | '********************' |
OIDC_OP_USER_ENDPOINT | 'https://idp.oribium.net/auth/realms/ORIBIUM.NET/protocol/openid-connect/userinfo' |
OIDC_RP_CLIENT_ID | 'oribse' |
OIDC_RP_CLIENT_SECRET | '********************' |
OIDC_RP_SIGN_ALGO | 'RS256' |
OPTIONAL_APPS | ('debug_toolbar', 'django_extensions', 'compressor', 'filebrowser_safe', 'grappelli_safe') |
PACKAGE_NAME_FILEBROWSER | 'filebrowser_safe' |
PACKAGE_NAME_GRAPPELLI | 'grappelli_safe' |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
PROJECT_APP | 'oribiumse' |
PROJECT_APP_PATH | '/var/www/oribium_se_36/oribiumse' |
PROJECT_ROOT | '/var/www/oribium_se_36' |
RICHTEXT_WIDGET_CLASS | 'django.forms.Textarea' |
ROOT_URLCONF | 'oribiumse.urls' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | False |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | '.oribium.se' |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.cache' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | True |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'oribiumse.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 1 |
STATICFILES_DIRS | [] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'compressor.finders.CompressorFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/var/www/oribium_se_36/static/' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/var/www/oribium_se_36/templates'], 'OPTIONS': {'builtins': ['mezzanine.template.loader_tags'], 'context_processors': ['django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.static', 'django.template.context_processors.media', 'django.template.context_processors.request', 'django.template.context_processors.tz', 'mezzanine.conf.context_processors.settings', 'mezzanine.pages.context_processors.page']}}] |
TESTING | False |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'Europe/Stockholm' |
USE_ETAGS | False |
USE_I18N | True |
USE_L10N | True |
USE_MODELTRANSLATION | False |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | None |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
YEAR_MONTH_FORMAT | 'F Y' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.