Caught DoesNotExist while rendering: VastgoedObject matching query does not exist.
Request Method: | GET |
---|---|
Request URL: | https://www.prevenda.eu/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26 |
Django Version: | 1.3.7 |
Exception Type: | TemplateSyntaxError |
Exception Value: | Caught DoesNotExist while rendering: VastgoedObject matching query does not exist. |
Exception Location: | /srv/prev/env-u/local/lib/python2.7/site-packages/django/db/models/query.py in get, line 349 |
Python Executable: | /usr/bin/uwsgi-core |
Python Version: | 2.7.12 |
Python Path: | ['.', '', '/srv/prev/env/201605090927/src/cmsplugin-filer/src', '/srv/prev/env/201605090927/src/django-cms', '/srv/prev/env/201605090927/src/django-filer', '/srv/prev/env-u/lib/python2.7', '/srv/prev/env-u/lib/python2.7/plat-x86_64-linux-gnu', '/srv/prev/env-u/lib/python2.7/lib-tk', '/srv/prev/env-u/lib/python2.7/lib-old', '/srv/prev/env-u/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/srv/prev/env-u/local/lib/python2.7/site-packages', '/srv/prev/src/202209161110/apps'] |
Server time: | vrij, 29 Mrt 2024 10:06:20 +0100 |
In template /srv/prev/src/202209161110/templates/page.html
, error at line 23
13 | </div> |
---|---|
14 | {% endblock %} |
15 | <div id="leftPane"> |
16 | {% placeholder col_left inherit %} |
17 | </div> |
18 | </div> |
19 | <div id="mid"> |
20 | {% block mid %} |
21 | <div id="field"> |
22 | {% with "460" as width %} |
23 | {% placeholder col_mid %} |
24 | {% endwith %} |
25 | </div> |
26 | {% endblock %} |
27 | </div> |
28 | <div id="right"> |
29 | {% placeholder col_right inherit %} |
30 | </div> |
31 | </div> |
32 | {% endblock %} |
33 |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
try:
response = callback(request, *callback_args, **callback_kwargs)...
except Exception, e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
exceptions | <module 'django.core.exceptions' from '/srv/prev/env-u/local/lib/python2.7/site-packages/django/core/exceptions.pyc'> |
e | TemplateSyntaxError(u'Caught DoesNotExist while rendering: VastgoedObject matching query does not exist.',) |
callback_args | () |
receivers | [(<function _rollback_on_exception at 0x7fdfd9a41140>, None), (<function sentry_exception_handler at 0x7fdfda0589b0>, None)] |
middleware_method | <bound method ToolbarMiddleware.process_view of <cms.middleware.toolbar.ToolbarMiddleware object at 0x7fdfd42c3550>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7fdfe119ed90> |
settings | <django.conf.LazySettings object at 0x7fdfd9d32610> |
request | <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}> |
callback | <function details at 0x7fdfd39b2938> |
resolver | <RegexURLResolver urls (None:None) ^/> |
urlresolvers | <module 'django.core.urlresolvers' from '/srv/prev/env-u/local/lib/python2.7/site-packages/django/core/urlresolvers.pyc'> |
callback_kwargs | {'slug': u'aanbod/woning-huren'} |
response | None |
urlconf | 'urls' |
/srv/prev/env/201605090927/src/django-cms/cms/views.py
in details
context['current_page'] = page
context['has_change_permissions'] = page.has_change_permission(request)
context['has_view_permissions'] = page.has_view_permission(request)
if not context['has_view_permissions']:
return _handle_no_page(request, slug)
return render_to_response(template_name, context)...
Variable | Value |
---|---|
redirect_url | u'' |
available_languages | [u'nl'] |
template_name | u'page.html' |
request | <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}> |
slug | u'aanbod/woning-huren' |
current_language | 'nl' |
context | [{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}] |
page | <Page: Reageren> |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/shortcuts/__init__.py
in render_to_response
def render_to_response(*args, **kwargs):
"""
Returns a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
httpresponse_kwargs = {'mimetype': kwargs.pop('mimetype', None)}
return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)...
def render(request, *args, **kwargs):
"""
Returns a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
Uses a RequestContext by default.
Variable | Value |
---|---|
httpresponse_kwargs | {'mimetype': None} |
args | (u'page.html', [{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}]) |
kwargs | {} |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/loader.py
in render_to_string
"""
dictionary = dictionary or {}
if isinstance(template_name, (list, tuple)):
t = select_template(template_name)
else:
t = get_template(template_name)
if not context_instance:
return t.render(Context(dictionary))...
# Add the dictionary to the context stack, ensuring it gets removed again
# to keep the context_instance in the same state it started in.
context_instance.update(dictionary)
try:
return t.render(context_instance)
finally:
Variable | Value |
---|---|
template_name | u'page.html' |
t | <django.template.base.Template object at 0x7fdfd3a8e210> |
dictionary | [{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}] |
context_instance | None |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/base.py
in render
def _render(self, context):
return self.nodelist.render(context)
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)...
finally:
context.render_context.pop()
def compile_string(template_string, origin):
"Compiles template_string into NodeList ready for rendering"
if settings.TEMPLATE_DEBUG:
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7fdfd3a8e210> |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7fdfd3a8e210> |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bits.append(self.render_node(node, context))...
else:
bits.append(node)
return mark_safe(''.join([force_unicode(b) for b in bits]))
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
Variable | Value |
---|---|
node | <ExtendsNode: extends "base.html"> |
self | [<ExtendsNode: extends "base.html">] |
bits | [] |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'source'):
e.source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
result = node.render(context)...
except TemplateSyntaxError, e:
if not hasattr(e, 'source'):
e.source = node.source
raise
except Exception, e:
from sys import exc_info
Variable | Value |
---|---|
node | <ExtendsNode: extends "base.html"> |
self | [<ExtendsNode: extends "base.html">] |
e | TemplateSyntaxError(u'Caught DoesNotExist while rendering: VastgoedObject matching query does not exist.',) |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
blocks = dict([(n.name, n) for n in
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.
return compiled_parent._render(context)...
class BaseIncludeNode(Node):
def __init__(self, *args, **kwargs):
self.extra_context = kwargs.pop('extra_context', {})
self.isolated_context = kwargs.pop('isolated_context', False)
super(BaseIncludeNode, self).__init__(*args, **kwargs)
Variable | Value |
---|---|
node | <django.template.defaulttags.LoadNode object at 0x7fdfd32c1110> |
blocks | {u'bodyclass': <Block Node: bodyclass. Contents: []>, u'headerextra': <Block Node: headerextra. Contents: [<Text Node: ' '>]>, u'main': <Block Node: main. Contents: [<Text Node: ' '>]>, u'title': <Block Node: title. Contents: [<Tag: page_attribute>]>, u'tpl_id': <Block Node: tpl_id. Contents: [<Text Node: 'none'>]>} |
block_context | <django.template.loader_tags.BlockContext object at 0x7fdfd34efb10> |
n | <Block Node: main. Contents: [<Text Node: ' '>]> |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
compiled_parent | <django.template.base.Template object at 0x7fdfd3384750> |
self | <ExtendsNode: extends "base.html"> |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/base.py
in _render
def __iter__(self):
for node in self.nodelist:
for subnode in node:
yield subnode
def _render(self, context):
return self.nodelist.render(context)...
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
return self._render(context)
Variable | Value |
---|---|
self | <django.template.base.Template object at 0x7fdfd3384750> |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bits.append(self.render_node(node, context))...
else:
bits.append(node)
return mark_safe(''.join([force_unicode(b) for b in bits]))
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
Variable | Value |
---|---|
node | <Tag: render_block> |
self | [<Text Node: '<!DOCTYPE HTML> '>, <django.template.defaulttags.LoadNode object at 0x7fdfd32c1110>, <Text Node: ' <html lang="'>, <Variable Node: LANGUAGE_CODE>, <Text Node: '"> <head> <meta htt'>, <Block Node: title. Contents: [<Tag: page_attribute>]>, <Text Node: ' - Prevenda</title> <'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon.ico"> <meta '>, <Tag: page_attribute>, <Text Node: '"/> <meta name="keywords'>, <Tag: page_attribute>, <Text Node: '"/> <meta name="view'>, <Variable Node: STATIC_URL>, <Text Node: 'css/reset.css" media="all'>, <If node>, <Text Node: ' <script src="'>, <Variable Node: STATIC_URL>, <Text Node: 'js/jquery.js" type="text/'>, <Variable Node: STATIC_URL>, <Text Node: 'js/cycle.js" type="text/j'>, <Variable Node: STATIC_URL>, <Text Node: 'js/jquery.smartresize.js"'>, <Variable Node: STATIC_URL>, <Text Node: 'js/prevenda.js" type="tex'>, <Variable Node: STATIC_URL>, <Text Node: 'css/ie7.css" /><![endif]-'>, <Variable Node: STATIC_URL>, <Text Node: 'css/ie8.css" /><![endif]-'>, <Block Node: headerextra. Contents: [<Text Node: ' '>]>, <Text Node: ' '>, <Tag: render_block>] |
bits | [u'<!DOCTYPE HTML>\n', '', u'\n\n<html lang="', u'nl', u'">\n <head>\n <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n <title>', u'Reageren', u' - Prevenda</title>\n <link rel="shortcut icon" type="image/x-icon" href="', u'/static/', u'img/favicon.ico">\n\t<meta name="description" content="', u'', u'"/>\n\t<meta name="keywords" content="', u'', u'"/>\n\n <meta name="viewport" content="width=device-width, initial-scale=1"/> <!-- Adding "maximum-scale=1" fixes the Mobile Safari auto-zoom bug: http://filamentgroup.com/examples/iosScaleBug/ -->\n\n\t<link href="', u'/static/', u'css/reset.css" media="all" rel="stylesheet" type="text/css" />\n\t\n ', u'\n\t <link href="/static/css/base.less" media="all" rel="stylesheet/less" type="text/css" />\n <script src="/static/js/less.js" type="text/javascript"></script>\n ', u'\n\n <script src="', u'/static/', u'js/jquery.js" type="text/javascript"></script>\n <script src="', u'/static/', u'js/cycle.js" type="text/javascript"></script>\n <script src="', u'/static/', u'js/jquery.smartresize.js" type="text/javascript"></script>\n <script src="', u'/static/', u'js/prevenda.js" type="text/javascript"></script>\n\n <!--[if lte IE 7]><link rel="stylesheet" type="text/css" media="screen,projection" href="', u'/static/', u'css/ie7.css" /><![endif]-->\n <!--[if IE 8]><link rel="stylesheet" type="text/css" media="screen,projection" href="', u'/static/', u'css/ie8.css" /><![endif]--> \n\n ', u'\n \n ', u'\n\n '] |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'source'):
e.source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
result = node.render(context)...
except TemplateSyntaxError, e:
if not hasattr(e, 'source'):
e.source = node.source
raise
except Exception, e:
from sys import exc_info
Variable | Value |
---|---|
node | <Tag: render_block> |
self | [<Text Node: '<!DOCTYPE HTML> '>, <django.template.defaulttags.LoadNode object at 0x7fdfd32c1110>, <Text Node: ' <html lang="'>, <Variable Node: LANGUAGE_CODE>, <Text Node: '"> <head> <meta htt'>, <Block Node: title. Contents: [<Tag: page_attribute>]>, <Text Node: ' - Prevenda</title> <'>, <Variable Node: STATIC_URL>, <Text Node: 'img/favicon.ico"> <meta '>, <Tag: page_attribute>, <Text Node: '"/> <meta name="keywords'>, <Tag: page_attribute>, <Text Node: '"/> <meta name="view'>, <Variable Node: STATIC_URL>, <Text Node: 'css/reset.css" media="all'>, <If node>, <Text Node: ' <script src="'>, <Variable Node: STATIC_URL>, <Text Node: 'js/jquery.js" type="text/'>, <Variable Node: STATIC_URL>, <Text Node: 'js/cycle.js" type="text/j'>, <Variable Node: STATIC_URL>, <Text Node: 'js/jquery.smartresize.js"'>, <Variable Node: STATIC_URL>, <Text Node: 'js/prevenda.js" type="tex'>, <Variable Node: STATIC_URL>, <Text Node: 'css/ie7.css" /><![endif]-'>, <Variable Node: STATIC_URL>, <Text Node: 'css/ie8.css" /><![endif]-'>, <Block Node: headerextra. Contents: [<Text Node: ' '>]>, <Text Node: ' '>, <Tag: render_block>] |
e | TemplateSyntaxError(u'Caught DoesNotExist while rendering: VastgoedObject matching query does not exist.',) |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
/srv/prev/env-u/local/lib/python2.7/site-packages/classytags/core.py
in render
"""
INTERNAL method to prepare rendering
Usually you should not override this method, but rather use render_tag.
"""
items = self.kwargs.items()
kwargs = dict([(key, value.resolve(context)) for key, value in items])
kwargs.update(self.blocks)
return self.render_tag(context, **kwargs)...
def render_tag(self, context, **kwargs):
"""
The method you should override in your custom tags
"""
raise NotImplementedError
Variable | Value |
---|---|
key | 'postprocessor' |
items | [('name', <classytags.values.StringValue object at 0x7fdfd336bbd0>), ('postprocessor', <TemplateConstant: None>)] |
self | <Tag: render_block> |
value | <TemplateConstant: None> |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
kwargs | {'name': u'css', 'nodelist': [<Text Node: ' <script type="text/'>, <Block Node: tpl_id. Contents: [<Text Node: 'none'>]>, <Text Node: '" class="'>, <Block Node: bodyclass. Contents: []>, <Text Node: '" lang="'>, <Variable Node: LANGUAGE_CODE>, <Text Node: '"> <!--[if lte IE 8]>'>, <Variable Node: STATIC_URL>, <Text Node: 'css/phone.css'; '>, <Variable Node: STATIC_URL>, <Text Node: 'css/small.css'; '>, <Variable Node: STATIC_URL>, <Text Node: 'img/prevenda.gif"></a> '>, <Tag: show_menu_below_id>, <Text Node: ' </ul> <d'>, <Block Node: main. Contents: [<Text Node: ' '>]>, <Text Node: ' </div> <div '>, <Tag: render_block>], 'postprocessor': None} |
/srv/prev/env-u/local/lib/python2.7/site-packages/sekizai/templatetags/sekizai_tags.py
in render_tag
Argument('postprocessor', required=False, default=None, resolve=False),
parser_class=SekizaiParser,
)
def render_tag(self, context, name, postprocessor, nodelist):
if not validate_context(context):
return nodelist.render(context)
rendered_contents = nodelist.render(context)...
varname = getattr(settings, 'SEKIZAI_VARNAME', 'SEKIZAI_CONTENT_HOLDER')
data = context[varname][name].render()
if postprocessor:
func = import_processor(postprocessor)
data = func(data, name)
return '%s\n%s' % (data, rendered_contents)
Variable | Value |
---|---|
self | <Tag: render_block> |
nodelist | [<Text Node: ' <script type="text/'>, <Block Node: tpl_id. Contents: [<Text Node: 'none'>]>, <Text Node: '" class="'>, <Block Node: bodyclass. Contents: []>, <Text Node: '" lang="'>, <Variable Node: LANGUAGE_CODE>, <Text Node: '"> <!--[if lte IE 8]>'>, <Variable Node: STATIC_URL>, <Text Node: 'css/phone.css'; '>, <Variable Node: STATIC_URL>, <Text Node: 'css/small.css'; '>, <Variable Node: STATIC_URL>, <Text Node: 'img/prevenda.gif"></a> '>, <Tag: show_menu_below_id>, <Text Node: ' </ul> <d'>, <Block Node: main. Contents: [<Text Node: ' '>]>, <Text Node: ' </div> <div '>, <Tag: render_block>] |
name | u'css' |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
postprocessor | None |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bits.append(self.render_node(node, context))...
else:
bits.append(node)
return mark_safe(''.join([force_unicode(b) for b in bits]))
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
Variable | Value |
---|---|
node | <Block Node: main. Contents: [<Text Node: ' '>]> |
self | [<Text Node: ' <script type="text/'>, <Block Node: tpl_id. Contents: [<Text Node: 'none'>]>, <Text Node: '" class="'>, <Block Node: bodyclass. Contents: []>, <Text Node: '" lang="'>, <Variable Node: LANGUAGE_CODE>, <Text Node: '"> <!--[if lte IE 8]>'>, <Variable Node: STATIC_URL>, <Text Node: 'css/phone.css'; '>, <Variable Node: STATIC_URL>, <Text Node: 'css/small.css'; '>, <Variable Node: STATIC_URL>, <Text Node: 'img/prevenda.gif"></a> '>, <Tag: show_menu_below_id>, <Text Node: ' </ul> <d'>, <Block Node: main. Contents: [<Text Node: ' '>]>, <Text Node: ' </div> <div '>, <Tag: render_block>] |
bits | [u'\n \n <script type="text/javascript">\n\n var _gaq = _gaq || [];\n _gaq.push([\'_setAccount\', \'UA-1840732-65\']);\n _gaq.push([\'_trackPageview\']);\n\n (function() {\n var ga = document.createElement(\'script\'); ga.type = \'text/javascript\'; ga.async = true;\n ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\';\n var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s);\n })();\n\n</script>\n \n </head>\n\n <body \n id="', u'none', u'" \n class="', '', u'"\n lang="', u'nl', u'">\n <!--[if lte IE 8]>\n <script type="text/javascript">\n var width = document.documentElement.clientWidth;\n var headID = document.getElementsByTagName("head")[0]; \n var cssNode = document.createElement(\'link\');\n cssNode.type = \'text/css\';\n cssNode.id = "multiscreen";\n cssNode.rel = \'stylesheet\';\n cssNode.media = \'screen\';\n if ((width > 300) && (width <= 720)) {\n cssNode.href = \'', u'/static/', u"css/phone.css';\n } else if (width > 720) {\n cssNode.href = '", u'/static/', u'css/small.css\';\n }\n headID.appendChild(cssNode);\n </script>\n <![endif]-->\n\n <div id="wrap">\n <div id="top">\n <div id="social">\n <div class="addthis_toolbox addthis_default_style ">\n <a class="addthis_button_tweet"></a>\n <a class="addthis_button_google_plusone" g:plusone:size="medium"></a>\n <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>\n </div>\n <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4f27c5df01cccde8"></script>\n </div>\n <ul id="topmenu">\n <li class="first"><a href="/contact/">Gegevens wijzigen</a></li>\n <li><a href="/contact/klachtmelding/">Klachtmelding</a></li>\n <li><a href="/diensten/leegstandsbeheer/tip-een-pand/">Tip een pand</a></li>\n <li class="last"><a href="/over-ons/vacatures/">Vacatures</a></li>\t\n </ul>\n <div class="clear"></div>\n <a href="/nl" id="logo"> <img src="', u'/static/', u'img/prevenda.gif"></a>\n <ul id="mainMenu">\n ', u'\n\n<li class="ancestor">\n\t<a href="/aanbod/">Aanbod</a>\n\t\n</li>\n\n<li class="">\n\t<a href="/over-ons/">Over ons</a>\n\t\n</li>\n\n<li class="">\n\t<a href="/aanbod/inschrijven/">Inschrijven</a>\n\t\n</li>\n\n<li class="">\n\t<a href="/nieuws/">Nieuws</a>\n\t\n</li>\n\n<li class="">\n\t<a href="/contact/">Contact</a>\n\t\n</li>\n\n', u'\n </ul>\n <div class="clear"></div>\n </div>\n <div id="main">\n '] |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'source'):
e.source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
result = node.render(context)...
except TemplateSyntaxError, e:
if not hasattr(e, 'source'):
e.source = node.source
raise
except Exception, e:
from sys import exc_info
Variable | Value |
---|---|
node | <Block Node: main. Contents: [<Text Node: ' '>]> |
self | [<Text Node: ' <script type="text/'>, <Block Node: tpl_id. Contents: [<Text Node: 'none'>]>, <Text Node: '" class="'>, <Block Node: bodyclass. Contents: []>, <Text Node: '" lang="'>, <Variable Node: LANGUAGE_CODE>, <Text Node: '"> <!--[if lte IE 8]>'>, <Variable Node: STATIC_URL>, <Text Node: 'css/phone.css'; '>, <Variable Node: STATIC_URL>, <Text Node: 'css/small.css'; '>, <Variable Node: STATIC_URL>, <Text Node: 'img/prevenda.gif"></a> '>, <Tag: show_menu_below_id>, <Text Node: ' </ul> <d'>, <Block Node: main. Contents: [<Text Node: ' '>]>, <Text Node: ' </div> <div '>, <Tag: render_block>] |
e | TemplateSyntaxError(u'Caught DoesNotExist while rendering: VastgoedObject matching query does not exist.',) |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = BlockNode(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)
context.pop()
return result
def super(self):
Variable | Value |
---|---|
push | <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7fdfd34efb10> |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
block | <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]> |
self | <Block Node: main. Contents: [<Text Node: ' '>]> |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bits.append(self.render_node(node, context))...
else:
bits.append(node)
return mark_safe(''.join([force_unicode(b) for b in bits]))
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
Variable | Value |
---|---|
node | <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]> |
self | [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>] |
bits | [u'\n <div id="content">\n <div id="left">\n ', u'\n <div id="navigation">\n <ul>\n \n\n\n<li class="selected">\n\t<a href="/aanbod/woning-huren/">Reageren</a>\n\t\n</li>\n\n\n </ul>\n </div>\n ', u'\n <div id="leftPane">\n ', u'\n<script type="text/javascript" charset="utf-8">\n$(function(){\n\t// /aanbod/ajax/soort_range/verkoop/\n\t$(\'#aanbod-form select[name="soort"]\').on(\'change load\', function(){\n\t\tvar v = $(\'#aanbod-form select[name="soort"] option:selected\').val();\n\t\t\n\t\tif(v){\n\t\t\t$(\'#soort-range\').empty();\n\t\t\t$(\'#soort-range\').load(\'/aanbod/ajax/soort_range/\' + v + \'/\');\n\t\t}\n\t\t\n\t});\n\t\n\t$(\'#aanbod-form select[name="land"]\').on(\'change load\', function(){\n\t\tvar v = $(\'#aanbod-form select[name="land"] option:selected\').val();\n\t\t\n\t\tif (v){\n\t\t\t$(\'#provincie-list\').load(\'/aanbod/ajax/provincie_list/\' + v + \'/\');\n\t\t}\n\t});\n});\n</script>\n\n\n\n\n\n\n\n\n\n\n\n\n<div class="plugin_aanbod">\n <h1> Aanbod </h1>\n <p> Zoek binnen ons aanbod: </p>\n <form id="aanbod-form" action="/aanbod/" method="GET">\n\t \n\t\n <select name="land"> \n <option value="all" >Toon alle landen</option>\n\t \n\t \n <option value="nl" selected >Nederland</option>\n <option value="be">Belgi\xeb</option>\n\t \n\t \n\t \n\t \n </select>\n\t\n\t\n\t<select name="provincie" id="provincie-list">\n\t\t\t\t\n\t\t\n\t\t<option value="">Toon alle provincies</option>\n\t\t<option value="Groningen" >Groningen</option>\n\t\t<option value="Friesland" >Friesland</option>\n\t\t<option value="Drenthe" >Drenthe</option>\n\t\t<option value="Overijssel" >Overijssel</option>\n\t\t<option value="Flevoland" >Flevoland</option>\n\t\t<option value="Gelderland" >Gelderland</option>\n\t\t<option value="Utrecht" >Utrecht</option>\n\t\t<option value="Noord-Holland" >Noord-Holland</option>\n\t\t<option value="Zuid-Holland" >Zuid-Holland</option>\n\t\t<option value="Zeeland" >Zeeland</option>\n\t\t<option value="Noord-Brabant" >Noord-Brabant</option>\n\t\t<option value="Limburg" >Limburg</option>\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t\n\t</select>\n\t\n <select name="type">\n <option value="">Toon alle typen</option>\n \n <option value=\'klooster\' >Klooster</option>\n \n <option value=\'villa\' >Villa</option>\n \n <option value=\'appartement\' >Appartement</option>\n \n <option value=\'boerderij\' >Boerderij</option>\n \n <option value=\'garagebox\' >Garagebox</option>\n \n <option value=\'eengezinswoning\' >Eengezinswoning</option>\n \n <option value=\'winkelruimte\' >Winkelruimte</option>\n \n <option value=\'kantoorruimte\' >Kantoorruimte</option>\n \n <option value=\'bedrijfshal\' >Bedrijfshal</option>\n \n <option value=\'bouwkavel\' >Bouwkavel</option>\n \n <option value=\'recreatiewoning\' >Recreatiewoning</option>\n \n <option value=\'school\' >School</option>\n \n <option value=\'zwembad\' >Zwembad</option>\n \n <option value=\'benedenwoning\' >Benedenwoning</option>\n \n <option value=\'bovenwoning\' >Bovenwoning</option>\n \n <option value=\'kamer\' >kamer</option>\n \n <option value=\'kerk\' >Kerk</option>\n \n <option value=\'hoekwoning\' >Hoekwoning</option>\n \n <option value=\'vrijstaand\' >Vrijstaand</option>\n \n <option value=\'twee-onder-een-kap\' >twee-onder-een-kap</option>\n \n <option value=\'vrijstaand-geschakeld\' >Vrijstaand geschakeld</option>\n \n <option value=\'kasteel\' >Kasteel</option>\n \n <option value=\'flex-werkplek\' >Flex werkplek</option>\n \n <option value=\'studio\' >Studio</option>\n \n <option value=\'diverse\' >Diverse</option>\n \n <option value=\'diverse-antikraak\' >Diverse antikraak</option>\n \n <option value=\'zoeker\' >Zoeker</option>\n \n <option value=\'ziekenhuis\' >ziekenhuis</option>\n \n <option value=\'bos\' >Bos</option>\n \n </select>\n <select name="soort" class="selection">\n <option value="">Toon alle soorten</option>\n \n <option value=\'tijdelijke-verhuur\' >Tijdelijke verhuur</option>\n \n <option value=\'bruikleen-antikraak\' >Bruikleen Antikraak</option>\n \n <option value=\'verkoop\' >Verkoop</option>\n \n <option value=\'verhuur\' >Verhuur</option>\n \n <option value=\'bezetting-ter-bede\' >Bezetting ter bede</option>\n \n </select>\n\t<select name="soort_range" id="soort-range">\n\t\t<option value="">Toon alle ranges</option>\n\n\t</select>\n\n\t<input title="Zoek op plaatsnaam of straat. Of zoek op plaats EN straat als volgt: [plaats] - [straat zonder nummer]" type="text" name="keywords" class="searchbox" placeholder="Zoek plaats - straat" value=""/>\n <input type="submit" value="Toon resultaten" class="submit" /> \n </form>\n</div>\n<a class="plugin_tekstlink" href="https://www.prevenda.eu/diensten/leegstandsbeheer/tip-een-pand/" target="_self">\n <h1>Tip een pand</h1><p><img src="/media/filer_thumbnails/2012/02/08/ipadactie-klein.gif__180x111_q85_crop_upscale.jpg" alt="Image - ipadactie-klein.gif" title="Image - ipadactie-klein.gif" id="plugin_obj_227" /></p><p>Wanneer u een pand aandraagt, dat door Prevenda in beheer wordt genomen ontvangt u een Apple iPad Air of iWatch.</p><p class="leesmeer">Meer informatie</p>\n</a>\n', u'\n </div>\n </div>\n <div id="mid">\n '] |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'source'):
e.source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
result = node.render(context)...
except TemplateSyntaxError, e:
if not hasattr(e, 'source'):
e.source = node.source
raise
except Exception, e:
from sys import exc_info
Variable | Value |
---|---|
node | <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]> |
self | [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>] |
e | TemplateSyntaxError(u'Caught DoesNotExist while rendering: VastgoedObject matching query does not exist.',) |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
push = block = block_context.pop(self.name)
if block is None:
block = self
# Create new block so we can store context without thread-safety issues.
block = BlockNode(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)
context.pop()
return result
def super(self):
Variable | Value |
---|---|
push | <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7fdfd34efb10> |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
block | <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]> |
self | <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]> |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bits.append(self.render_node(node, context))...
else:
bits.append(node)
return mark_safe(''.join([force_unicode(b) for b in bits]))
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
Variable | Value |
---|---|
node | <WithNode> |
self | [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>] |
bits | [u'\n <div id="field">\n '] |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'source'):
e.source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
result = node.render(context)...
except TemplateSyntaxError, e:
if not hasattr(e, 'source'):
e.source = node.source
raise
except Exception, e:
from sys import exc_info
Variable | Value |
---|---|
node | <WithNode> |
self | [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>] |
e | TemplateSyntaxError(u'Caught DoesNotExist while rendering: VastgoedObject matching query does not exist.',) |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
def __repr__(self):
return "<WithNode>"
def render(self, context):
values = dict([(key, val.resolve(context)) for key, val in
self.extra_context.iteritems()])
context.update(values)
output = self.nodelist.render(context)...
context.pop()
return output
#@register.tag
def autoescape(parser, token):
"""
Variable | Value |
---|---|
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
self | <WithNode> |
values | {u'width': u'460'} |
key | u'width' |
val | <django.template.base.FilterExpression object at 0x7fdfd365e110> |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/base.py
in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bits.append(self.render_node(node, context))...
else:
bits.append(node)
return mark_safe(''.join([force_unicode(b) for b in bits]))
def get_nodes_by_type(self, nodetype):
"Return a list of all nodes of the given type"
Variable | Value |
---|---|
node | <Tag: placeholder> |
self | [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>] |
bits | [u'\n '] |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
def compile_function_error(self, token, e):
if not hasattr(e, 'source'):
e.source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
result = node.render(context)...
except TemplateSyntaxError, e:
if not hasattr(e, 'source'):
e.source = node.source
raise
except Exception, e:
from sys import exc_info
Variable | Value |
---|---|
node | <Tag: placeholder> |
e | DoesNotExist('VastgoedObject matching query does not exist.',) |
self | [<Text Node: ' '>, <Tag: placeholder>, <Text Node: ' '>] |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
wrapped | TemplateSyntaxError(u'Caught DoesNotExist while rendering: VastgoedObject matching query does not exist.',) |
exc_info | <built-in function exc_info> |
/srv/prev/env-u/local/lib/python2.7/site-packages/classytags/core.py
in render
"""
INTERNAL method to prepare rendering
Usually you should not override this method, but rather use render_tag.
"""
items = self.kwargs.items()
kwargs = dict([(key, value.resolve(context)) for key, value in items])
kwargs.update(self.blocks)
return self.render_tag(context, **kwargs)...
def render_tag(self, context, **kwargs):
"""
The method you should override in your custom tags
"""
raise NotImplementedError
Variable | Value |
---|---|
key | 'extra_bits' |
items | [('name', <classytags.values.StringValue object at 0x7fdfd32c1c10>), ('extra_bits', <TemplateConstant: []>)] |
self | <Tag: placeholder> |
value | <TemplateConstant: []> |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
kwargs | {'extra_bits': [], 'name': u'col_mid'} |
/srv/prev/env/201605090927/src/django-cms/cms/templatetags/cms_tags.py
in render_tag
if width:
context.update({'width': width})
page = request.current_page
if not page or page == 'dummy':
return ''
content = get_placeholder_content(context, request, page, name, inherit)...
if not content and nodelist:
return nodelist.render(context)
return content
def get_name(self):
return self.kwargs['name'].var.value.strip('"').strip("'")
Variable | Value |
---|---|
nodelist | None |
name | u'col_mid' |
self | <Tag: placeholder> |
request | <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}> |
inherit | False |
width | None |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
page | <Page: Reageren> |
extra_bits | [] |
/srv/prev/env/201605090927/src/django-cms/cms/templatetags/cms_tags.py
in get_placeholder_content
pages = chain([current_page], current_page.get_cached_ancestors(ascending=True))
for page in pages:
placeholder = _get_placeholder(current_page, page, context, name)
if placeholder is None:
continue
if not get_plugins(request, placeholder):
continue
content = render_placeholder(placeholder, context, name)...
if content:
return content
placeholder = _get_placeholder(current_page, current_page, context, name)
return render_placeholder(placeholder, context, name)
Variable | Value |
---|---|
name | u'col_mid' |
current_page | <Page: Reageren> |
request | <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}> |
inherit | False |
pages | [<Page: Reageren>] |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
placeholder | <Placeholder: col_mid> |
page | <Page: Reageren> |
/srv/prev/env/201605090927/src/django-cms/cms/plugin_rendering.py
in render_placeholder
edit = True
if edit:
from cms.middleware.toolbar import toolbar_plugin_processor
processors = (toolbar_plugin_processor,)
else:
processors = None
c.extend(render_plugins(plugins, context, placeholder, processors))...
content = "".join(c)
if edit:
content = render_placeholder_toolbar(placeholder, context, content, name_fallback)
context.pop()
return content
Variable | Value |
---|---|
slot | u'col_mid' |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
c | [] |
name_fallback | u'col_mid' |
processors | None |
get_plugins | <function get_plugins at 0x7fdfd481d500> |
plugin | <CMSPlugin: 4992> |
edit | False |
request | <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}> |
context_to_copy | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
template | u'page.html' |
plugins | [<CMSPlugin: 218>, <CMSPlugin: 4992>] |
extra_context | {} |
placeholder | <Placeholder: col_mid> |
page | <Page: Reageren> |
toolbar | <cms.cms_toolbar.CMSToolbar object at 0x7fdfd3293490> |
/srv/prev/env/201605090927/src/django-cms/cms/plugin_rendering.py
in render_plugins
"""
c = []
total = len(plugins)
for index, plugin in enumerate(plugins):
plugin._render_meta.total = total
plugin._render_meta.index = index
context.push()
c.append(plugin.render_plugin(context, placeholder, processors=processors))...
context.pop()
return c
def render_placeholder(placeholder, context_to_copy, name_fallback="Placeholder"):
"""
Renders plugins for a placeholder on the given page using shallow copies of the
Variable | Value |
---|---|
index | 1 |
c | [u'<h1>Reageren</h1><p>U kunt direct reageren door de adres-of locatiegegevens van de betreffende woning in te vullen. U kunt ook telefonisch contact met ons opnemen.\xa0Nog niet ingeschreven bij Prevenda? Schrijf u eerst in.</p><p><strong>Prevenda Belgi\xeb</strong></p><p>T: +32(0)14-76.23.50</p><p><strong>Prevenda Nederland</strong></p><p>T: +31(0)88-06.06.600</p>'] |
processors | None |
plugin | <CMSPlugin: 4992> |
context | [[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}] |
plugins | [<CMSPlugin: 218>, <CMSPlugin: 4992>] |
total | 2 |
placeholder | <Placeholder: col_mid> |
/srv/prev/env/201605090927/src/django-cms/cms/models/pluginmodel.py
in render_plugin
if instance and not (admin and not plugin.admin_preview):
if isinstance(placeholder, Placeholder):
placeholder_slot = placeholder.slot
else:
placeholder_slot = placeholder or instance.placeholder.slot
placeholder = instance.placeholder
context = PluginContext(context, instance, placeholder)
context = plugin.render(context, instance, placeholder_slot)...
if plugin.render_plugin:
template = hasattr(instance, 'render_template') and instance.render_template or plugin.render_template
if not template:
raise ValidationError("plugin has no render_template: %s" % plugin.__class__)
else:
template = None
Variable | Value |
---|---|
processors | None |
plugin | Vastgoed Contact |
admin | False |
self | <CMSPlugin: 4992> |
instance | <VastgoedContactPlugin: VastgoedContactForm> |
context | [[[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}], {'plugin_index': 1, 'plugin': {'revcounter0': 0, 'id_attr': 'plugin_353_4992', 'revcounter': 1, 'last': True, 'instance': <VastgoedContactPlugin: VastgoedContactForm>, 'total': 2, 'counter': 2, 'counter0': 1, 'first': False}}] |
placeholder | <Placeholder: col_mid> |
placeholder_slot | u'col_mid' |
/srv/prev/src/202209161110/apps/plugins/cms_plugins.py
in render
request = context['request']
form = FormClass()
if request.method == "GET":
slug = request.GET.get('slug')
if slug:
form = FormClass(initial={'vastgoed_object': VastgoedObject.objects.get(url=slug)})...
elif request.method == "POST":
form = FormClass(request.POST, request.FILES)
if form.is_valid():
mailstr = "Beste, \n\n Er is een formulier op de website ingevuld. De ingevulde gegevens zijn:\n\n"
Variable | Value |
---|---|
form | <plugins.plugin_forms.VastgoedContactForm object at 0x7fdfd32c4550> |
self | Vastgoed Contact |
request | <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}> |
instance | <VastgoedContactPlugin: VastgoedContactForm> |
context | [[[{}, {'csrf_token': <django.utils.functional.__proxy__ object at 0x7fdfd32c4590>}, {'perms': <django.utils.functional.__proxy__ object at 0x7fdfd3a8e0d0>, 'messages': <django.contrib.messages.storage.user_messages.LegacyFallbackStorage object at 0x7fdfd373b290>, 'user': <django.utils.functional.SimpleLazyObject object at 0x7fdfd3a8ec10>}, {'LANGUAGES': [('nl', 'Nederlands')], 'LANGUAGE_BIDI': False, 'LANGUAGE_CODE': 'nl'}, {'request': <WSGIRequest GET:<QueryDict: {u'slug': [u'tilburg-sint-filippushof-26']}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': '', 'CSRF_COOKIE': '563417235b93e7caea0dca6ed9b233be', 'DOCUMENT_ROOT': '/usr/share/nginx/html', 'HTTPS': 'on', 'HTTP_ACCEPT': '*/*', 'HTTP_HOST': 'www.prevenda.eu', 'HTTP_USER_AGENT': 'claudebot', 'PATH_INFO': u'/aanbod/woning-huren/', 'QUERY_STRING': 'slug=tilburg-sint-filippushof-26', 'REMOTE_ADDR': '3.215.77.96', 'REMOTE_PORT': '34784', 'REQUEST_METHOD': 'GET', 'REQUEST_SCHEME': 'https', 'REQUEST_URI': '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26', 'SCRIPT_NAME': u'', 'SERVER_NAME': 'www.prevenda.eu', 'SERVER_PORT': '443', 'SERVER_PROTOCOL': 'HTTP/1.1', 'uwsgi.node': 'localhost', 'uwsgi.version': '2.0.12-debian', 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390>, 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>, 'wsgi.input': <uwsgi._Input object at 0x7fdfd3cb0d20>, 'wsgi.multiprocess': True, 'wsgi.multithread': False, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0)}>}, {'MEDIA_URL': '/media/'}, {'STATIC_URL': '/static/'}, {'CMS_MEDIA_URL': '/media/cms/'}, {'SEKIZAI_CONTENT_HOLDER': {}}, {'lang': 'nl', 'has_change_permissions': False, 'current_page': <Page: Reageren>, 'USELESS_BROWSER': True, 'has_view_permissions': True}], {'to_level': 1, 'extra_active': 1000, 'namespace': None, 'from_level': 1, 'template': 'menu/menu.html', 'extra_inactive': 0, 'children': [<Navigation Node: Aanbod>, <Navigation Node: Over ons>, <Navigation Node: Inschrijven>, <Navigation Node: Nieuws>, <Navigation Node: Contact>]}, {'block': <Block Node: main. Contents: [<Text Node: ' <div id="content"> '>, <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>, <Text Node: ' <div id="leftPane"'>, <Tag: placeholder>, <Text Node: ' </div> </div> '>, <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>, <Text Node: ' </div> <div id="'>, <Tag: placeholder>, <Text Node: ' </div> </d'>]>}, {'block': <Block Node: submenu. Contents: [<Text Node: ' <div id="navigatio'>, <Tag: show_menu>, <Text Node: ' </ul> </di'>]>}, {'block': <Block Node: mid. Contents: [<Text Node: ' <div id="field">'>, <WithNode>, <Text Node: ' </div> '>]>}, {u'width': u'460'}, {}, {}], {'plugin_index': 1, 'plugin': {'revcounter0': 0, 'id_attr': 'plugin_353_4992', 'revcounter': 1, 'last': True, 'instance': <VastgoedContactPlugin: VastgoedContactForm>, 'total': 2, 'counter': 2, 'counter0': 1, 'first': False}}] |
msg | '' |
FormClass | <class 'plugins.plugin_forms.VastgoedContactForm'> |
placeholder | u'col_mid' |
slug | u'tilburg-sint-filippushof-26' |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/db/models/manager.py
in get
def distinct(self, *args, **kwargs):
return self.get_query_set().distinct(*args, **kwargs)
def extra(self, *args, **kwargs):
return self.get_query_set().extra(*args, **kwargs)
def get(self, *args, **kwargs):
return self.get_query_set().get(*args, **kwargs)...
def get_or_create(self, **kwargs):
return self.get_query_set().get_or_create(**kwargs)
def create(self, **kwargs):
return self.get_query_set().create(**kwargs)
Variable | Value |
---|---|
self | <django.db.models.manager.Manager object at 0x7fdfda0824d0> |
args | () |
kwargs | {'url': u'tilburg-sint-filippushof-26'} |
/srv/prev/env-u/local/lib/python2.7/site-packages/django/db/models/query.py
in get
if self.query.can_filter():
clone = clone.order_by()
num = len(clone)
if num == 1:
return clone._result_cache[0]
if not num:
raise self.model.DoesNotExist("%s matching query does not exist."
% self.model._meta.object_name)...
raise self.model.MultipleObjectsReturned("get() returned more than one %s -- it returned %s! Lookup parameters were %s"
% (self.model._meta.object_name, num, kwargs))
def create(self, **kwargs):
"""
Creates a new object with the given kwargs, saving it to the database
Variable | Value |
---|---|
clone | [] |
num | 0 |
self | [<VastgoedObject: 1 zoeker antikraak Nederland>, <VastgoedObject: 2 zoeker huur Nederland>, <VastgoedObject: 3 zoeker antikraak Belgie>, <VastgoedObject: Aarle-Rixtel>, <VastgoedObject: Alkmaar Verdronkenoord, Alkmaar>, <VastgoedObject: Amsterdam Harry Koningsbergerstraat 160>, <VastgoedObject: Amsterdam Tuigerstraat>, <VastgoedObject: antikraak - Berghem - Joeri Gagarinstraat>, <VastgoedObject: Antikraak - Boterstraat - Oss>, <VastgoedObject: Antikraak - gemeente Werkendam>, <VastgoedObject: Antikraak - Helvoirt>, <VastgoedObject: Antikraak - Oss - Hertogensingel>, <VastgoedObject: Antikraak - Oss - Industrielaan>, <VastgoedObject: Antikraak - Oss - Kapelaan Nausstraat>, <VastgoedObject: Antikraak - Uden - Aldetiendstraat>, <VastgoedObject: Antikraak - Utrecht - Woonruimte>, <VastgoedObject: Antikraak woonruimte - Burg Haamstede>, <VastgoedObject: Antwerpen - Blancefloerlaan>, <VastgoedObject: Antwerpen Brederode>, <VastgoedObject: Antwerpen - Everaertstraat>, '...(remaining elements truncated)...'] |
args | () |
kwargs | {'url': u'tilburg-sint-filippushof-26'} |
Variable | Value |
---|---|
slug | u'tilburg-sint-filippushof-26' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | True |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/aanbod/woning-huren/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | 'slug=tilburg-sint-filippushof-26' |
CONTENT_LENGTH | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'www.prevenda.eu' |
REMOTE_ADDR | '3.215.77.96' |
wsgi.url_scheme | 'https' |
SERVER_PORT | '443' |
uwsgi.node | 'localhost' |
DOCUMENT_ROOT | '/usr/share/nginx/html' |
wsgi.input | <uwsgi._Input object at 0x7fdfd3cb0d20> |
HTTP_HOST | 'www.prevenda.eu' |
HTTPS | 'on' |
wsgi.multithread | False |
REQUEST_URI | '/aanbod/woning-huren/?slug=tilburg-sint-filippushof-26' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
wsgi.run_once | False |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0x7fdfd9cd7390> |
REMOTE_PORT | '34784' |
REQUEST_SCHEME | 'https' |
uwsgi.version | '2.0.12-debian' |
CONTENT_TYPE | '' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | '563417235b93e7caea0dca6ed9b233be' |
settings
Setting | Value |
---|---|
USE_L10N | True |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'cms.middleware.page.CurrentPageMiddleware', 'cms.middleware.user.CurrentUserMiddleware', 'cms.middleware.toolbar.ToolbarMiddleware') |
USE_THOUSAND_SEPARATOR | False |
USELESS_BROWSER | True |
LANGUAGE_CODE | 'nl' |
ROOT_URLCONF | 'urls' |
MANAGERS | () |
DEFAULT_CHARSET | 'utf-8' |
CMS_MEDIA_ROOT | '/srv/prev/media/cms/' |
STATIC_ROOT | '/srv/prev/statics_collected' |
CMS_SHOW_START_DATE | False |
CMS_SITE_CHOICES_CACHE_KEY | 'CMS:site_choices' |
CMS_MODERATOR | False |
ALLOWED_HOSTS | ['*'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.user_messages.LegacyFallbackStorage' |
DATABASE_HOST | '' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
CMS_TEMPLATE_INHERITANCE_MAGIC | 'INHERIT' |
URL_VALIDATOR_USER_AGENT | 'Django/1.3.7 (http://www.djangoproject.com)' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
CMS_MEDIA_URL | '/media/cms/' |
CMS_SHOW_END_DATE | False |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
DATABASES | {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'prevenda', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': 5432, 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'Europe/Amsterdam', 'USER': 'prevenda'}} |
TEMPLATE_DEBUG | True |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.i18n', 'django.core.context_processors.request', 'django.core.context_processors.media', 'django.core.context_processors.static', 'cms.context_processors.media', 'sekizai.context_processors.sekizai', 'context_processors.less_processor') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
CMS_PLUGIN_PROCESSORS | () |
CMS_MENU_TITLE_OVERWRITE | False |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': ''}} |
OGONE_SHA_POST_SECRET | '********************' |
CMS_FRONTEND_LANGUAGES | ['nl'] |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
USE_X_FORWARDED_HOST | False |
CMS_TEMPLATE_INHERITANCE | True |
IGNORABLE_404_ENDS | ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php') |
WYM_CONTAINERS | "{'name': 'P', 'title': 'Paragraph', 'css': 'wym_containers_p'},\n{'name': 'H1', 'title': 'Heading_1', 'css': 'wym_containers_h1'}" |
CMS_TEMPLATES | (('page.html', 'Pagina'), ('frontpage.html', 'Home'), ('INHERIT', <django.utils.functional.__proxy__ object at 0x7fdfd9b32690>)) |
CMS_CACHE_PREFIX | 'cms-' |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
CMS_LANGUAGES | [('nl', 'Nederlands')] |
VIDEO_WIDTH | 460 |
OGONE_SHA_PRE_SECRET | '********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
SESSION_COOKIE_AGE | 1209600 |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
CMS_REDIRECTS | False |
OGONE_PSPID | 'prevenda' |
CSRF_COOKIE_NAME | 'csrftoken' |
COL_PLUGINS | ('TextPlugin', 'CMSTekstLinkPlugin', 'CMSLinkPlugin', 'CMSAanbodPlugin', 'TwitterRecentEntriesPlugin') |
TEST_DATABASE_COLLATION | None |
FORCE_SCRIPT_NAME | None |
CACHE_BACKEND | 'locmem://' |
SESSION_COOKIE_SECURE | False |
WYM_TOOLS | "{'name': 'Bold', 'title': 'Strong', 'css': 'wym_tools_strong'},\n{'name': 'Italic', 'title': 'Emphasis', 'css': 'wym_tools_emphasis'},\n{'name': 'Superscript', 'title': 'Superscript', 'css': 'wym_tools_superscript'},\n{'name': 'Subscript', 'title': 'Subscript', 'css': 'wym_tools_subscript'},\n{'name': 'InsertOrderedList', 'title': 'Ordered_List', 'css': 'wym_tools_ordered_list'},\n{'name': 'InsertUnorderedList', 'title': 'Unordered_List', 'css': 'wym_tools_unordered_list'},\n{'name': 'Undo', 'title': 'Undo', 'css': 'wym_tools_undo'},\n{'name': 'Redo', 'title': 'Redo', 'css': 'wym_tools_redo'},\n{'name': 'Paste', 'title': 'Paste_From_Word', 'css': 'wym_tools_paste'},\n{'name': 'ToggleHtml', 'title': 'HTML', 'css': 'wym_tools_html'},\n{'name': 'CreateLink', 'title': 'Link', 'css': 'wym_tools_link'},\n{'name': 'Unlink', 'title': 'Unlink', 'css': 'wym_tools_unlink'},\n{'name': 'InsertTable', 'title': 'Table', 'css': 'wym_tools_table'}" |
CMS_SOFTROOT | False |
CMS_LANGUAGE_FALLBACK | True |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
SESSION_FILE_PATH | None |
CMS_APPHOOKS | () |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'django_ogone', 'formwizard', 'cms', 'mptt', 'menus', 'south', 'sekizai', 'easy_thumbnails', 'cms.plugins.text', 'cms.plugins.twitter', 'filer', 'cmsplugin_filer_image', 'cmsplugin_filer_video', 'aanbod', 'plugins', 'nieuws', 'django_extensions', 'raven.contrib.django.raven_compat'] |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
DATABASE_ENGINE | '' |
DATABASE_NAME | '' |
COMMENTS_FIRST_FEW | 0 |
PREPEND_WWW | False |
TEST_DATABASE_CHARSET | None |
SESSION_COOKIE_HTTPONLY | False |
DATABASE_PORT | '' |
CMS_PAGE_MEDIA_PATH | 'cms_page_media/' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
SITE_BASE_URL | 'http://prevenda.eu' |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_SAVE_EVERY_REQUEST | False |
PLACEHOLDER_FRONTEND_EDITING | True |
TIME_FORMAT | 'P' |
VIDEO_HEIGHT | 260 |
NUMBER_GROUPING | 0 |
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') |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
EMAIL_HOST_PASSWORD | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CMS_PLUGIN_CONTEXT_PROCESSORS | () |
ADMIN_MEDIA_PREFIX | '/static/admin/' |
CMS_URL_OVERWRITE | True |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
COMMENTS_SKETCHY_USERS_GROUP | None |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
CMS_CACHE_DURATIONS | {'content': 60, 'menus': 3600, 'permissions': 3600} |
DECIMAL_SEPARATOR | '.' |
CMS_SEO_FIELDS | False |
CACHE_MIDDLEWARE_KEY_PREFIX | '' |
LOCALE_PATHS | () |
TEMPLATE_STRING_IF_INVALID | '' |
DISALLOWED_USER_AGENTS | () |
CMS_HIDE_UNTRANSLATED | True |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | True |
TEMPLATE_DIRS | ('/srv/prev/src/202209161110/templates',) |
CMS_PUBLIC_FOR | 'all' |
FIXTURE_DIRS | () |
EMAIL_HOST | 'smtp.sendgrid.net' |
DATE_FORMAT | 'N j, Y' |
WYM_CLASSES | "{'name': 'black', 'title': 'Zwart', 'expr': 'p,h1,h2'},\n{'name': 'leesmeer', 'title': 'Lees meer', 'expr': 'p,h1,h2'}" |
WYM_STYLES | "{'name': '.black', 'css': 'color: #000'},\n{'name': '.leesmeer', 'css': 'color: #91c83e; text-decoration: underline;'}" |
MEDIA_ROOT | '/srv/prev/media' |
THUMBNAIL_PROCESSORS | ('easy_thumbnails.processors.colorspace', 'easy_thumbnails.processors.autocrop', 'filer.thumbnail_processors.scale_and_crop_with_subject_location', 'easy_thumbnails.processors.filters') |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
STATICFILES_DIRS | ('/srv/prev/src/202209161110/static',) |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
IGNORABLE_404_STARTS | ('/cgi-bin/', '/_vti_bin', '/_vti_inf') |
CMS_PAGE_CHOICES_CACHE_KEY | 'CMS:page_choices' |
CMS_TITLE_CHARACTER | '+' |
SITE_ID | 1 |
CMS_PERMISSION | False |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {'disable_existing_loggers': False, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
SECRET_KEY | '********************' |
DATABASE_USER | '' |
TEST_DATABASE_NAME | None |
TEXT_PLUGINS | ('FilerImagePlugin',) |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
TIME_ZONE | 'Europe/Amsterdam' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
ENV_NAME | 'prod' |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
CMS_MEDIA_PATH | 'cms/' |
CMS_FLAT_URLS | False |
DEFAULT_TABLESPACE | '' |
CONTENT_PLUGINS | ('TextPlugin', 'CMSFormulierPlugin', 'CMSBSSFormPlugin', 'CMSHeaderPlugin', 'CMSVerhuurWoningFormulierPlugin', 'FilerVideoPlugin', 'CMSVastgoedContactPlugin') |
PROJECT_PATH | '/srv/prev/src/202209161110' |
COMMENTS_ALLOW_PROFANITIES | False |
SETTINGS_MODULE | 'settings' |
USE_ETAGS | False |
LANGUAGES | [('nl', 'Nederlands')] |
CMS_LANGUAGE_CONF | {} |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | () |
STATIC_URL | '/static/' |
EMAIL_PORT | 587 |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
CMS_PLACEHOLDER_CONF | {'aanbod': {'plugins': ('CMSAanbodPlugin',)}, 'afbeeldingen': {'plugins': ('CMSAfbeeldingPlugin',)}, 'blok': {'plugins': ('CMSTekstLinkPlugin',)}, 'col_left': {'name': 'Links', 'plugins': ('TextPlugin', 'CMSTekstLinkPlugin', 'CMSLinkPlugin', 'CMSAanbodPlugin', 'TwitterRecentEntriesPlugin')}, 'col_mid': {'name': 'Midden', 'plugins': ('TextPlugin', 'CMSFormulierPlugin', 'CMSBSSFormPlugin', 'CMSHeaderPlugin', 'CMSVerhuurWoningFormulierPlugin', 'FilerVideoPlugin', 'CMSVastgoedContactPlugin'), 'text_only_plugins': ('FilerImagePlugin',)}, 'col_right': {'name': 'Rechts', 'plugins': ('TextPlugin', 'CMSTekstLinkPlugin', 'CMSLinkPlugin', 'CMSAanbodPlugin', 'TwitterRecentEntriesPlugin')}, 'contact': {'plugins': ('CMSTekstLinkPlugin', 'FilerImagePlugin')}, 'news_col_left': {'name': 'Links', 'plugins': ('TextPlugin', 'CMSTekstLinkPlugin', 'CMSLinkPlugin', 'CMSAanbodPlugin', 'TwitterRecentEntriesPlugin')}, 'news_col_mid': {'name': 'Midden', 'plugins': ('TextPlugin', 'CMSFormulierPlugin', 'CMSBSSFormPlugin', 'CMSHeaderPlugin', 'CMSVerhuurWoningFormulierPlugin', 'FilerVideoPlugin', 'CMSVastgoedContactPlugin'), 'text_only_plugins': ('FilerImagePlugin',)}, 'news_col_right': {'name': 'Rechts', 'plugins': ('TextPlugin', 'CMSTekstLinkPlugin', 'CMSLinkPlugin', 'CMSAanbodPlugin', 'TwitterRecentEntriesPlugin')}, 'slideshow': {'plugins': ('CMSSlidePlugin',)}, 'voorpagina_links_1': {'plugins': ('CMSLinkPlugin', 'CMSTekstLinkPlugin', 'TextPlugin')}, 'voorpagina_links_2': {'plugins': ('TextPlugin',)}} |
ABSOLUTE_URL_OVERRIDES | {} |
DATABASE_OPTIONS | {} |
CACHE_MIDDLEWARE_SECONDS | 600 |
BANNED_IPS | () |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M', '%m/%d/%y') |
OGONE_CURRENCY | 'EUR' |
DATABASE_PASSWORD | '********************' |
COMMENTS_MODERATORS_GROUP | None |
PROFANITIES_LIST | '********************' |
CMS_SITE_LANGUAGES | {} |
EMAIL_HOST_USER | 'info@serpia.nl' |
COMMENTS_BANNED_USERS_GROUP | None |
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 500 page.