No exception message supplied
Request Method: | |
---|---|
Request URL: | http://shadow.historyworks.tv |
Django Version: | 1.7 |
Exception Type: | KeyboardInterrupt |
Exception Location: | /var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py in quote_name, line 320 |
Python Executable: | /var/www/Envs/foiresearch/bin/python |
Python Version: | 2.7.6 |
Python Path: | ['/var/www/djapp/dev/historyworks', '/var/www/Envs/foiresearch/src/django-ajax-selects-master', '/var/www/Envs/foiresearch/src/django-doctohtml', '/var/www/Envs/foiresearch/src/django-jimmypage-master', '/var/www/Envs/foiresearch/src/django-oembed', '/var/www/Envs/foiresearch/src/django-ordered-model', '/var/www/Envs/foiresearch/src/django-proxyfix', '/var/www/Envs/foiresearch/src/django-twync', '/var/www/Envs/foiresearch/src/django-forms-builder', '/var/www/Envs/foiresearch/src/django-staticgenerator', '/var/www/djapp/utils/django-translate', '/var/www/Envs/foiresearch/src/django-filebrowser-plus', '/var/www/Envs/foiresearch/src/django-cacheds3-storage', '/var/www/Envs/foiresearch/src/django-sitestructure-django17', '/var/www/Envs/foiresearch/lib/python2.7', '/var/www/Envs/foiresearch/lib/python2.7/plat-linux2', '/var/www/Envs/foiresearch/lib/python2.7/lib-tk', '/var/www/Envs/foiresearch/lib/python2.7/lib-old', '/var/www/Envs/foiresearch/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/var/www/Envs/foiresearch/local/lib/python2.7/site-packages'] |
Server time: | Sat, 11 Jul 2015 13:51:08 +0100 |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
% (callback.__module__, view_name))
# If the response supports deferred rendering, apply template
# response middleware and then render the response
if hasattr(response, 'render') and callable(response.render):
for middleware_method in self._template_response_middleware:
response = middleware_method(request, response)
response = response.render()...
except http.Http404 as e:
logger.warning('Not Found: %s', request.path,
extra={
'status_code': 404,
'request': request
Variable | Value |
---|---|
callback_args | () |
resolver_match | ResolverMatch(func=<function default_site_node at 0xafb0224>, args=(), kwargs={'url': u'projects/cycle-of-songs-news/hollie-mcnish-support-at-cambridge-junction-inja-performs-freedom-may-5th-8pm/'}, url_name='default_view', app_name='None', namespace='') |
middleware_method | <bound method AdminAddUrlsMiddleware.process_template_response of <sitestructure.middleware.AdminAddUrlsMiddleware instance at 0xdb0cf6c>> |
self | <staticgenerator.handlers.DummyHandler object at 0xdb0c84c> |
request | "<HttpRequest\npath:,\nGET:{},\nPOST:{},\nCOOKIES:{},\nMETA:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>" |
callback | <function default_site_node at 0xafb0224> |
wrapped_callback | <function default_site_node at 0xafb0224> |
resolver | <RegexURLResolver 'historyworks.urls' (None:None) ^/> |
callback_kwargs | {'url': u'projects/cycle-of-songs-news/hollie-mcnish-support-at-cambridge-junction-inja-performs-freedom-may-5th-8pm/'} |
response | <django.template.response.TemplateResponse object at 0xe482c4c> |
urlconf | 'historyworks.urls' |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/template/response.py
in render
If the content has already been rendered, this is a no-op.
Returns the baked response instance.
"""
retval = self
if not self._is_rendered:
self.content = self.rendered_content...
for post_callback in self._post_render_callbacks:
newretval = post_callback(retval)
if newretval is not None:
retval = newretval
return retval
Variable | Value |
---|---|
self | <django.template.response.TemplateResponse object at 0xe482c4c> |
retval | <django.template.response.TemplateResponse object at 0xe482c4c> |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/template/response.py
in rendered_content
This *does not* set the final content of the response. To set the
response content, you must either call render(), or set the
content explicitly using the value of this property.
"""
template = self.resolve_template(self.template_name)
context = self.resolve_context(self.context_data)
content = template.render(context)...
return content
def add_post_render_callback(self, callback):
"""Adds a new post-rendering callback.
If the response has already been rendered,
Variable | Value |
---|---|
self | <django.template.response.TemplateResponse object at 0xe482c4c> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
template | <django.template.base.Template object at 0xe48262c> |
/var/www/Envs/foiresearch/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"
Variable | Value |
---|---|
self | <django.template.base.Template object at 0xe48262c> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/test/utils.py
in instrumented_test_render
def instrumented_test_render(self, context):
"""
An instrumented Template render method, providing a signal
that can be intercepted by the test system Client
"""
template_rendered.send(sender=self, template=self, context=context)
return self.nodelist.render(context)...
def setup_test_environment():
"""Perform any global pre-test setup. This involves:
- Installing the instrumented test renderer
Variable | Value |
---|---|
self | <django.template.base.Template object at 0xe48262c> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/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):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <ExtendsNode: extends 'main.html'> |
self | [<ExtendsNode: extends 'main.html'>] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/template/base.py
in render_node
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
return nodes
def render_node(self, node, context):
return node.render(context)...
class TextNode(Node):
def __init__(self, s):
self.s = s
Variable | Value |
---|---|
node | <ExtendsNode: extends 'main.html'> |
self | [<ExtendsNode: extends 'main.html'>] |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/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 IncludeNode(Node):
def __init__(self, template, *args, **kwargs):
self.template = template
self.extra_context = kwargs.pop('extra_context', {})
Variable | Value |
---|---|
node | <django.template.defaulttags.LoadNode object at 0xdf7954c> |
blocks | {u'banner': <Block Node: banner. Contents: [<Text Node: ' <div class="main-cont'>, <Block Node: banner_title. Contents: [<Variable Node: object.get_display_name>]>, <Text Node: '</h2> '>, <Block Node: banner_content. Contents: []>, <Text Node: ' </div> </div> '>]>, u'banner_content': <Block Node: banner_content. Contents: []>, u'banner_title': <Block Node: banner_title. Contents: [<Variable Node: object.get_display_name>]>, u'breadcrumbs': <Block Node: breadcrumbs. Contents: [<Text Node: ' <div id="breadcrumbs">'>, <For Node: for bc in breadcrumbs, tail_len: 5>, <Text Node: ' '>, <Variable Node: object>, <Text Node: ' </div> </div> '>]>, u'content': <Block Node: content. Contents: [<Text Node: ' '>]>, u'css': <Block Node: css. Contents: [<Text Node: ' <link rel="stylesheet" t'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0xdf79f6c>, <Text Node: '" /> '>]>, u'extra_admin_bar_tools': <Block Node: extra_admin_bar_tools. Contents: []>, u'extra_css': <Block Node: extra_css. Contents: [<Text Node: ' '>]>, u'extra_scripts': <Block Node: extra_scripts. Contents: [<Text Node: ' '>]>, u'menu': <Block Node: menu. Contents: [<Text Node: ' '>]>, u'meta': <Block Node: meta. Contents: [<Text Node: ' <meta property="og:site_'>, <Variable Node: site_url>, <Variable Node: object.get_absolute_url>, <Text Node: '" /> <meta property="og:t'>, <filebrowser.templatetags.fb_versions.VersionNode object at 0xdf7956c>, <Text Node: '" /> <meta property="og:t'>, <Variable Node: object.get_link_name>, <Text Node: '" /> <meta name="descript'>, <Variable Node: object.get_meta_description>, <Text Node: '" /> <meta property="og:d'>, <Variable Node: object.get_meta_description>, <Text Node: '" /> <meta http-equiv='Co'>, <IfNode>, <Text Node: ' '>]>, u'title': <Block Node: title. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, u'use_us': <Block Node: use_us. Contents: [<Text Node: ' '>, <IfEqualNode>, <Text Node: ' '>]>} |
block_context | <django.template.loader_tags.BlockContext object at 0xb39222c> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
compiled_parent | <django.template.base.Template object at 0xb26b62c> |
self | <ExtendsNode: extends 'main.html'> |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/test/utils.py
in instrumented_test_render
def instrumented_test_render(self, context):
"""
An instrumented Template render method, providing a signal
that can be intercepted by the test system Client
"""
template_rendered.send(sender=self, template=self, context=context)
return self.nodelist.render(context)...
def setup_test_environment():
"""Perform any global pre-test setup. This involves:
- Installing the instrumented test renderer
Variable | Value |
---|---|
self | <django.template.base.Template object at 0xb26b62c> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/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):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Block Node: content. Contents: [<Text Node: ' '>]> |
bit | u'\n\t\t<div class="main-container">\n\n\t\t' |
bits | [u'', u'\n', u'', u'\n', u'', u'\n', u'', u'\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\n\n<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\n<head>\n<link href=\'http://fonts.googleapis.com/css?family=PT+Sans\' rel=\'stylesheet\' type=\'text/css\'>\n', u'\n<link rel="stylesheet" type="text/css" href="/static/css/main.css" />\n', u'\n\t\t<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>\n', u'\n', u'\n\n\t\t<script src="', u'/static/js/main.js', u'"></script>\n\n<title>\n', u'\n\nHollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm :: Historyworks\n\n', u'\n</title>\n<script type="text/javascript">\n\n var _gaq = _gaq || [];\n _gaq.push([\'_setAccount\', \'UA-31433821-1\']);\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', u'\n<meta property="og:site_name" content="Historyworks"/>\n<meta property="fb:admins" content="505923878"/>\n<meta property="og:url" content="http://shadow.historyworks.tv/projects/cycle-of-songs-news/hollie-mcnish-support-at-cambridge-junction-inja-performs-freedom-may-5th-8pm/" />\n<meta property="og:type" content="article" />\n<meta property="og:image" content="https://historyworks-media-01.s3.amazonaws.com/media/uploads/thumbnails/05may05_meta_thumb.jpg" />\n<meta property="og:title" content="Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm" />\n<meta name="description" content="Hollie McNish is the poet whose words formed the basis of track one of Cycle of Songs called \u201cThis is why we ride\u201d. Hollie\u2019s tour comes to Cambridge Junction on the evening of 8th May with a very special support ..." />\n<meta property="og:description" content="Hollie McNish is the poet whose words formed the basis of track one of Cycle of Songs called \u201cThis is why we ride\u201d. Hollie\u2019s tour comes to Cambridge Junction on the evening of 8th May with a very special support ..." />\n<meta http-equiv=\'Content-Type\' content=\'text/html; charset=utf-8\'>\n\n\n<style>\n#banner-canvas {\n\n\tbackground-image: url(\'https://historyworks-media-01.s3.amazonaws.com/media/uploads/cover_pics/helen_ross_cover_pic.jpg\');\n}\n</style>\n\n', u'\n', u'\n\n', u'\n\n\n\n</head>\n<body>\n<script type="text/javascript">\n (function() {\n var po = document.createElement(\'script\'); po.type = \'text/javascript\'; po.async = true;\n po.src = \'https://apis.google.com/js/plusone.js\';\n var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(po, s);\n })();\n</script>\n<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>\n<div id="fb-root"></div>\n<script>(function(d, s, id) {\n var js, fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id)) return;\n js = d.createElement(s); js.id = id;\n js.src = "//connect.facebook.net/en_GB/all.js#xfbml=1";\n fjs.parentNode.insertBefore(js, fjs);\n}(document, \'script\', \'facebook-jssdk\'));</script>\n\n\t<div id="header">\n\t\t\t', u'', u'\n\t\t\t<div class="main-container">\n\t<h2>\n\t\t\t<a href = "/"><img src="', u'/static/', u'/images/historyworks.png" alt="Historyworks"/></a>\n\t\t\t</h2>\n\t\t\n\t\t\n\t\t\t<div id="nav">\n\t\t\t<ul>\n\t\t', u'\n\t\t\t<li ><a href="/">\n\t\t\t\tHome\n\t\t\t</a></li>\n\n\t\t\n\t\t\t<li class="selected" ><a href="/projects/">\n\t\t\t\tProjects\n\t\t\t</a></li>\n\n\t\t\n\t\t\t<li ><a href="/products/">\n\t\t\t\tProducts\n\t\t\t</a></li>\n\n\t\t\n\t\t\t<li ><a href="/training/">\n\t\t\t\tTraining\n\t\t\t</a></li>\n\n\t\t\n\t\t\t<li ><a href="/about_us/">\n\t\t\t\tAbout us\n\t\t\t</a></li>\n\n\t\t\n\t\t\t<li ><a href="/use_us/">\n\t\t\t\tCommission us\n\t\t\t</a></li>\n\n\t\t', u'\n\n\t\t\t<div class="clearfix"> </div>\n\n\t\t\t\t\t</ul>\n\n\t\t\n\t\t</div>\n\t\t</div>\n\t</div>\n\t<div id="banner">\n\t\t', u'\n\t\t\t<div class="main-container">\n\t\t\t<div id="banner-canvas">\n\t\t\t<h2>\n\nOur projects\n\n</h2>\n\t\t\t\n\t\t\t</div>\n\t\t\t</div>\n\t\t', u'\n\t</div>\n\t<div id="content">\t\n\t\n\n\n\t\t', u'\n\t\t<div id="breadcrumbs">\n\t\t\t<div class="main-container">\n\t\t\n\t\t\t<a href="/">Home</a> »\n\t\t\n\t\t\t<a href="/projects/">News</a> »\n\t\t\n\t\t\t<a href="/projects/2014/07/07/cycle-of-songs-news/">Cycle of Songs: News</a> »\n\t\t\n\t\t\tHollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm\n\t\t\t</div>\n\t\n\t\t</div>\n\t\t', u'\n\t\t<div class="main-container">\n\n\t\t'] |
self | [<django.template.defaulttags.LoadNode object at 0xdf7954c>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xdf7984c>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xc11acac>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xc11aaac>, <Text Node: ' <!DOCTYPE html PUBLIC "-'>, <Block Node: css. Contents: [<Text Node: ' <link rel="stylesheet" t'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0xdf79f6c>, <Text Node: '" /> '>]>, <Text Node: ' <script src="//ajax.go'>, <Block Node: extra_scripts. Contents: [<Text Node: ' '>]>, <Text Node: ' <script src="'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0xc11a74c>, <Text Node: '"></script> <title> '>, <Block Node: title. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </title> <script type="t'>, <Block Node: meta. Contents: [<Text Node: ' <meta property="og:site_'>, <Variable Node: site_url>, <Variable Node: object.get_absolute_url>, <Text Node: '" /> <meta property="og:t'>, <filebrowser.templatetags.fb_versions.VersionNode object at 0xdf7956c>, <Text Node: '" /> <meta property="og:t'>, <Variable Node: object.get_link_name>, <Text Node: '" /> <meta name="descript'>, <Variable Node: object.get_meta_description>, <Text Node: '" /> <meta property="og:d'>, <Variable Node: object.get_meta_description>, <Text Node: '" /> <meta http-equiv='Co'>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' '>, <Block Node: extra_css. Contents: [<Text Node: ' '>]>, <Text Node: ' </head> <body> <scrip'>, <AdminBarNode>, <Text Node: ' <div class="main-cont'>, <Variable Node: STATIC_URL>, <Text Node: '/images/historyworks.png"'>, <For Node: for node in nav_nodes, tail_len: 7>, <Text Node: ' <div class="clearfix'>, <Block Node: banner. Contents: [<Text Node: ' <div class="main-cont'>, <Block Node: banner_title. Contents: [<Variable Node: object.get_display_name>]>, <Text Node: '</h2> '>, <Block Node: banner_content. Contents: []>, <Text Node: ' </div> </div> '>]>, <Text Node: ' </div> <div id="conten'>, <Block Node: breadcrumbs. Contents: [<Text Node: ' <div id="breadcrumbs">'>, <For Node: for bc in breadcrumbs, tail_len: 5>, <Text Node: ' '>, <Variable Node: object>, <Text Node: ' </div> </div> '>]>, <Text Node: ' <div class="main-conta'>, <Block Node: content. Contents: [<Text Node: ' '>]>, <Text Node: ' <div class="clear"> '>, <Block Node: use_us. Contents: [<Text Node: ' '>, <IfEqualNode>, <Text Node: ' '>]>, <Text Node: ' '>, <Block Node: menu. Contents: [<Text Node: ' '>]>, <Text Node: ' </div> </div> '>] |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/template/base.py
in render_node
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
return nodes
def render_node(self, node, context):
return node.render(context)...
class TextNode(Node):
def __init__(self, s):
self.s = s
Variable | Value |
---|---|
node | <Block Node: content. Contents: [<Text Node: ' '>]> |
self | [<django.template.defaulttags.LoadNode object at 0xdf7954c>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xdf7984c>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xc11acac>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xc11aaac>, <Text Node: ' <!DOCTYPE html PUBLIC "-'>, <Block Node: css. Contents: [<Text Node: ' <link rel="stylesheet" t'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0xdf79f6c>, <Text Node: '" /> '>]>, <Text Node: ' <script src="//ajax.go'>, <Block Node: extra_scripts. Contents: [<Text Node: ' '>]>, <Text Node: ' <script src="'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0xc11a74c>, <Text Node: '"></script> <title> '>, <Block Node: title. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </title> <script type="t'>, <Block Node: meta. Contents: [<Text Node: ' <meta property="og:site_'>, <Variable Node: site_url>, <Variable Node: object.get_absolute_url>, <Text Node: '" /> <meta property="og:t'>, <filebrowser.templatetags.fb_versions.VersionNode object at 0xdf7956c>, <Text Node: '" /> <meta property="og:t'>, <Variable Node: object.get_link_name>, <Text Node: '" /> <meta name="descript'>, <Variable Node: object.get_meta_description>, <Text Node: '" /> <meta property="og:d'>, <Variable Node: object.get_meta_description>, <Text Node: '" /> <meta http-equiv='Co'>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' '>, <Block Node: extra_css. Contents: [<Text Node: ' '>]>, <Text Node: ' </head> <body> <scrip'>, <AdminBarNode>, <Text Node: ' <div class="main-cont'>, <Variable Node: STATIC_URL>, <Text Node: '/images/historyworks.png"'>, <For Node: for node in nav_nodes, tail_len: 7>, <Text Node: ' <div class="clearfix'>, <Block Node: banner. Contents: [<Text Node: ' <div class="main-cont'>, <Block Node: banner_title. Contents: [<Variable Node: object.get_display_name>]>, <Text Node: '</h2> '>, <Block Node: banner_content. Contents: []>, <Text Node: ' </div> </div> '>]>, <Text Node: ' </div> <div id="conten'>, <Block Node: breadcrumbs. Contents: [<Text Node: ' <div id="breadcrumbs">'>, <For Node: for bc in breadcrumbs, tail_len: 5>, <Text Node: ' '>, <Variable Node: object>, <Text Node: ' </div> </div> '>]>, <Text Node: ' <div class="main-conta'>, <Block Node: content. Contents: [<Text Node: ' '>]>, <Text Node: ' <div class="clear"> '>, <Block Node: use_us. Contents: [<Text Node: ' '>, <IfEqualNode>, <Text Node: ' '>]>, <Text Node: ' '>, <Block Node: menu. Contents: [<Text Node: ' '>]>, <Text Node: ' </div> </div> '>] |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/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 = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
render_context = self.context.render_context
Variable | Value |
---|---|
push | <Block Node: content. Contents: [<Text Node: ' '>, <Block Node: main_headline. Contents: [<Text Node: ' <h2>'>, <Variable Node: object.get_display_name>, <Text Node: '</h2> '>]>, <Text Node: ' '>, <Block Node: col1. Contents: [<Text Node: ' <div id="column1" class='>, <AdminLinkNode>, <Text Node: ' <div class="news-full"> '>, <oembed.templatetags.oembed_tags.OEmbedNode object at 0xda0554c>, <Text Node: ' '>, <For Node: for child in sections, tail_len: 11>, <Text Node: ' <ul class="standard-lis'>, <For Node: for child in node_children, tail_len: 13>, <Text Node: ' </ul> </div> </div> '>]>, <Text Node: ' '>, <Block Node: col2. Contents: [<Text Node: ' <div id="column2" class='>, <IfNode>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0xd1e016c>, <Text Node: ' <p style="height: 8px">&'>, <Block Node: floating_menu. Contents: []>, <Text Node: '"> '>, <IfNode>, <Text Node: ' '>, <AdminLinkNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> '>]>, <Text Node: ' '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0xb39222c> |
block | <Block Node: content. Contents: [<Text Node: ' '>, <Block Node: main_headline. Contents: [<Text Node: ' <h2>'>, <Variable Node: object.get_display_name>, <Text Node: '</h2> '>]>, <Text Node: ' '>, <Block Node: col1. Contents: [<Text Node: ' <div id="column1" class='>, <AdminLinkNode>, <Text Node: ' <div class="news-full"> '>, <oembed.templatetags.oembed_tags.OEmbedNode object at 0xda0554c>, <Text Node: ' '>, <For Node: for child in sections, tail_len: 11>, <Text Node: ' <ul class="standard-lis'>, <For Node: for child in node_children, tail_len: 13>, <Text Node: ' </ul> </div> </div> '>]>, <Text Node: ' '>, <Block Node: col2. Contents: [<Text Node: ' <div id="column2" class='>, <IfNode>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0xd1e016c>, <Text Node: ' <p style="height: 8px">&'>, <Block Node: floating_menu. Contents: []>, <Text Node: '"> '>, <IfNode>, <Text Node: ' '>, <AdminLinkNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> '>]>, <Text Node: ' '>]> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
self | <Block Node: content. Contents: [<Text Node: ' '>]> |
/var/www/Envs/foiresearch/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):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Block Node: col2. Contents: [<Text Node: ' <div id="column2" class='>, <IfNode>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0xd1e016c>, <Text Node: ' <p style="height: 8px">&'>, <Block Node: floating_menu. Contents: []>, <Text Node: '"> '>, <IfNode>, <Text Node: ' '>, <AdminLinkNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> '>]> |
bit | u'\n' |
bits | [u'\n', u'\n<h2>Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm</h2>\n', u'\n', u'\n<div id="column1" class="large">\n\n<div class="news-full">\n\n<p>Hollie McNish is the poet whose words formed the basis of track one of Cycle of Songs called “This is why we ride”. Hollie’s tour comes to Cambridge Junction on the evening of 8<sup>th</sup> May with a very special support act appearance from the writer and performer of track 4 “Freedom” which Inja will perform LIVE at the Junction as part of his set. Hollie Poetry’s tour is bookended with a single release on 13<sup>th</sup> April called “Get Used To This (Embarassed)” part of Hollie’s Versus album launch comprising 12 poems. The album is essentially a mix of poems for those who love, hate or who have never bothered to listen to poetry before. Hollie’s new single “Get Used to This (Embarassed)” is a very personal tale of her own struggles faced whilst breast-feeding her young daughter…</p>\n\n\n\n<ul class="standard-list">\n\n</ul>\n\n</div>\n</div>\n', u'\n'] |
self | [<Text Node: ' '>, <Block Node: main_headline. Contents: [<Text Node: ' <h2>'>, <Variable Node: object.get_display_name>, <Text Node: '</h2> '>]>, <Text Node: ' '>, <Block Node: col1. Contents: [<Text Node: ' <div id="column1" class='>, <AdminLinkNode>, <Text Node: ' <div class="news-full"> '>, <oembed.templatetags.oembed_tags.OEmbedNode object at 0xda0554c>, <Text Node: ' '>, <For Node: for child in sections, tail_len: 11>, <Text Node: ' <ul class="standard-lis'>, <For Node: for child in node_children, tail_len: 13>, <Text Node: ' </ul> </div> </div> '>]>, <Text Node: ' '>, <Block Node: col2. Contents: [<Text Node: ' <div id="column2" class='>, <IfNode>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0xd1e016c>, <Text Node: ' <p style="height: 8px">&'>, <Block Node: floating_menu. Contents: []>, <Text Node: '"> '>, <IfNode>, <Text Node: ' '>, <AdminLinkNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> '>]>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/template/base.py
in render_node
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
return nodes
def render_node(self, node, context):
return node.render(context)...
class TextNode(Node):
def __init__(self, s):
self.s = s
Variable | Value |
---|---|
node | <Block Node: col2. Contents: [<Text Node: ' <div id="column2" class='>, <IfNode>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0xd1e016c>, <Text Node: ' <p style="height: 8px">&'>, <Block Node: floating_menu. Contents: []>, <Text Node: '"> '>, <IfNode>, <Text Node: ' '>, <AdminLinkNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> '>]> |
self | [<Text Node: ' '>, <Block Node: main_headline. Contents: [<Text Node: ' <h2>'>, <Variable Node: object.get_display_name>, <Text Node: '</h2> '>]>, <Text Node: ' '>, <Block Node: col1. Contents: [<Text Node: ' <div id="column1" class='>, <AdminLinkNode>, <Text Node: ' <div class="news-full"> '>, <oembed.templatetags.oembed_tags.OEmbedNode object at 0xda0554c>, <Text Node: ' '>, <For Node: for child in sections, tail_len: 11>, <Text Node: ' <ul class="standard-lis'>, <For Node: for child in node_children, tail_len: 13>, <Text Node: ' </ul> </div> </div> '>]>, <Text Node: ' '>, <Block Node: col2. Contents: [<Text Node: ' <div id="column2" class='>, <IfNode>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0xd1e016c>, <Text Node: ' <p style="height: 8px">&'>, <Block Node: floating_menu. Contents: []>, <Text Node: '"> '>, <IfNode>, <Text Node: ' '>, <AdminLinkNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> '>]>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/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 = type(self)(block.name, block.nodelist)
block.context = context
context['block'] = block
result = block.nodelist.render(context)...
if push is not None:
block_context.push(self.name, push)
return result
def super(self):
render_context = self.context.render_context
Variable | Value |
---|---|
push | <Block Node: col2. Contents: [<Text Node: ' <div id="column2" class='>, <IfNode>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0xd1e016c>, <Text Node: ' <p style="height: 8px">&'>, <Block Node: floating_menu. Contents: []>, <Text Node: '"> '>, <IfNode>, <Text Node: ' '>, <AdminLinkNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0xb39222c> |
block | <Block Node: col2. Contents: [<Text Node: ' <div id="column2" class='>, <IfNode>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0xd1e016c>, <Text Node: ' <p style="height: 8px">&'>, <Block Node: floating_menu. Contents: []>, <Text Node: '"> '>, <IfNode>, <Text Node: ' '>, <AdminLinkNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> '>]> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
self | <Block Node: col2. Contents: [<Text Node: ' <div id="column2" class='>, <IfNode>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0xd1e016c>, <Text Node: ' <p style="height: 8px">&'>, <Block Node: floating_menu. Contents: []>, <Text Node: '"> '>, <IfNode>, <Text Node: ' '>, <AdminLinkNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> '>]> |
/var/www/Envs/foiresearch/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):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <IfNode> |
bit | u'\n\n' |
bits | [u'\n<div id="column2" class="vsmall">\n', u'\n<img src="https://historyworks-media-01.s3.amazonaws.com/media/uploads/thumbnails/05may05_news_index.jpg" alt="Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm" />\n', u'\n', u'<ul class="social-bar vertical">\n<li>\n<a href="http://shadow.historyworks.tv/projects/cycle-of-songs-news/hollie-mcnish-support-at-cambridge-junction-inja-performs-freedom-may-5th-8pm/" class="twitter-share-button" data-count="vertical" data-url="http://shadow.historyworks.tv/projects/cycle-of-songs-news/hollie-mcnish-support-at-cambridge-junction-inja-performs-freedom-may-5th-8pm/" data-via="historyworkstv">Tweet</a>\n</li>\n<li>\n<g:plusone size="tall" href="http://shadow.historyworks.tv/projects/cycle-of-songs-news/hollie-mcnish-support-at-cambridge-junction-inja-performs-freedom-may-5th-8pm/"></g:plusone>\n</li>\n<li>\n<fb:like href="http://shadow.historyworks.tv/projects/cycle-of-songs-news/hollie-mcnish-support-at-cambridge-junction-inja-performs-freedom-may-5th-8pm/" layout="box_count" send="true" show_faces="false"></fb:like>\n</li>\n<li>\n<a name="fb_share" type="button" share_url="http://shadow.historyworks.tv/projects/cycle-of-songs-news/hollie-mcnish-support-at-cambridge-junction-inja-performs-freedom-may-5th-8pm/"></a> \n</li>\n</ul>\n\n', u'\n<p style="height: 8px"> </p>\n</div>\n<div id="article_menu" class="', u'', u'">\n\n', u'', u'\n', u'', u'\n\n'] |
self | [<Text Node: ' <div id="column2" class='>, <IfNode>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0xd1e016c>, <Text Node: ' <p style="height: 8px">&'>, <Block Node: floating_menu. Contents: []>, <Text Node: '"> '>, <IfNode>, <Text Node: ' '>, <AdminLinkNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> '>] |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/template/base.py
in render_node
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
return nodes
def render_node(self, node, context):
return node.render(context)...
class TextNode(Node):
def __init__(self, s):
self.s = s
Variable | Value |
---|---|
node | <IfNode> |
self | [<Text Node: ' <div id="column2" class='>, <IfNode>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0xd1e016c>, <Text Node: ' <p style="height: 8px">&'>, <Block Node: floating_menu. Contents: []>, <Text Node: '"> '>, <IfNode>, <Text Node: ' '>, <AdminLinkNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> '>] |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)...
return ''
class RegroupNode(Node):
def __init__(self, target, expression, var_name):
Variable | Value |
---|---|
self | <IfNode> |
match | True |
nodelist | [<Text Node: ' <h3>In this section</h3'>, <django.template.loader_tags.IncludeNode object at 0xc11a60c>, <Text Node: ' '>] |
condition | (literal <django.template.base.FilterExpression object at 0xd1e040c>) |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/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):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <django.template.loader_tags.IncludeNode object at 0xc11a60c> |
bit | u'\n\n<h3>In this section</h3>\n' |
bits | [u'\n\n<h3>In this section</h3>\n'] |
self | [<Text Node: ' <h3>In this section</h3'>, <django.template.loader_tags.IncludeNode object at 0xc11a60c>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/template/base.py
in render_node
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
return nodes
def render_node(self, node, context):
return node.render(context)...
class TextNode(Node):
def __init__(self, s):
self.s = s
Variable | Value |
---|---|
node | <django.template.loader_tags.IncludeNode object at 0xc11a60c> |
self | [<Text Node: ' <h3>In this section</h3'>, <django.template.loader_tags.IncludeNode object at 0xc11a60c>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
values = {
name: var.resolve(context)
for name, var in six.iteritems(self.extra_context)
}
if self.isolated_context:
return template.render(context.new(values))
with context.push(**values):
return template.render(context)...
except Exception:
if settings.TEMPLATE_DEBUG:
raise
return ''
Variable | Value |
---|---|
self | <django.template.loader_tags.IncludeNode object at 0xc11a60c> |
values | {} |
template | <django.template.base.Template object at 0xd9f83cc> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/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"
Variable | Value |
---|---|
self | <django.template.base.Template object at 0xd9f83cc> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/test/utils.py
in instrumented_test_render
def instrumented_test_render(self, context):
"""
An instrumented Template render method, providing a signal
that can be intercepted by the test system Client
"""
template_rendered.send(sender=self, template=self, context=context)
return self.nodelist.render(context)...
def setup_test_environment():
"""Perform any global pre-test setup. This involves:
- Installing the instrumented test renderer
Variable | Value |
---|---|
self | <django.template.base.Template object at 0xd9f83cc> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/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):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <For Node: for child in sidebar_children, tail_len: 3> |
bit | u'\n<ul>\n' |
bits | [u'<ul>\n', u'\n<li class="ancestor"><a href="/projects/">News</a></li>\n', u'\n\n', u'\n<li class="root">\n<a href="/projects/2014/07/07/cycle-of-songs-news/">Cycle of Songs: News</a>\n</li>\n', u'\n<ul>\n'] |
self | [<Text Node: '<ul> '>, <For Node: for el in sidebar_ancestors, tail_len: 5>, <Text Node: ' '>, <IfEqualNode>, <Text Node: ' <ul> '>, <For Node: for child in sidebar_children, tail_len: 3>, <Text Node: ' </ul> </li> </ul> '>] |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/template/base.py
in render_node
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
return nodes
def render_node(self, node, context):
return node.render(context)...
class TextNode(Node):
def __init__(self, s):
self.s = s
Variable | Value |
---|---|
node | <For Node: for child in sidebar_children, tail_len: 3> |
self | [<Text Node: '<ul> '>, <For Node: for el in sidebar_ancestors, tail_len: 5>, <Text Node: ' '>, <IfEqualNode>, <Text Node: ' <ul> '>, <For Node: for child in sidebar_children, tail_len: 3>, <Text Node: ' </ul> </li> </ul> '>] |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
nodelist.append(node.render(context))
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
else:
for node in self.nodelist_loop:
nodelist.append(node.render(context))...
if pop_context:
# The loop variables were pushed on to the context so pop them
# off again. This is necessary because the tag lets the length
# of loopvars differ to the length of each set of items and we
# don't want to leave any vars from the previous loop on the
# context.
Variable | Value |
---|---|
node | <IfEqualNode> |
len_values | 86 |
pop_context | False |
nodelist | [u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/the-cycle-of-songs-video/">The Cycle of Songs Video</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/clicking-to-connectivity-arts-project-for-july-and-august-2015/">Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/sing-swim-sat-4th-july-6pm-onwards/">Sing & Swim! Sat 4th July 6pm onwards. </a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/ocean-song-workshop-in-the-cambridge-museum-of-technology-on-sunday-21st-june-2pm-to-330pm/">Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/time-together-women-of-note-8pm-concert-on-friday-19th-june/">Time Together \u2013 Women of Note \u2013 8pm Concert on Friday 19TH June</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/singing-music-at-open-gardens-come-along/">Singing & Music at Open Gardens \u2013 Come Along! </a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/moving-on-up-invite-to-sings-summer-concert-sunday-12th-june-8pm-onwards/">Moving On Up! Invite to Sing\u2019s Summer Concert \u2013 Sunday 12th June 8pm onwards</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/revelation-rock-gospel-choir-fundraiser-concert-on-saturday-86th-june/">Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/dosoco-community-grants-5th-june-deadline/">Do/So/Co Community Grants \u2013 5th June Deadline</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/michael-berkeley-returns-to-kings-all-welcome/">Michael Berkeley returns to King\u2019s \u2013 All Welcome! </a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/alex-cook-performs-at-kettles-yard-on-15th-may-free/">Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! </a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf selected">\nHollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/ocean-songs-recording-session-at-wicken-fen/">Ocean Songs Sessions</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/film-score-a-little-credit/">Film score \u201cA Little Chaos\u201d</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/cambridges-first-ever-lungjam-1st-april/">Cambridge\u2019s first ever LungJam - 1st April </a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/cambridge-culture-finder-features-cycle-of-songs/">Cambridge Culture Finder features Cycle of Songs: 20th March </a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/ten-sing-saturday-14th-march/">Ten Sing \u2013 Saturday 14th March</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/creating-my-cambridge-singing-history-concert-success/">Creating My Cambridge - Singing History Concert Success: 9th March 2015</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/concert-at-8pm-saturday-14th-march/">Chalk Circle Concerts: 14th & 15th March</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/cycle-of-songs/">Singing History - 8th March Concert - West Road - All Welcome!</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/heart-song-workshops-with-rowena-whitehead/">"Heart Song" Workshops with Rowena Whitehead - 4.30pm on 4th Jan</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/michael-rosen-film-by-historyworks/">Michael Rosen Film by Historyworks</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/dowsing-sound-collective-christmas-cocktail/">Dowsing Sound Collective Christmas Cocktail</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/album-lights-in-the-sky-peter-gregson/">Album - \u201cLights in the Sky\u201d \u2013 Peter Gregson</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/singing-history-project/">Singing History Project</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/scratch-choir-performance-at-cambridge-united/">Scratch Choir Performance at Cambridge United</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/WW1match/">Scratch Choir Rehearsal for WW1 Commemoration</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/ComeSing/">'Come Sing' event at the Winter Fair</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/WinterFairRehearsal/">Scratch Choir Rehearsal for Mill Road Winter Fair</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/kettles-yard-young-composers-free-concert-at-8pm-on-18th-november/">Kettle's Yard Young Composers *free* Concert at 8pm on 18th November</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/kings-chapel-evensong-at-330pm-on-sunday-16th-november-features-michael-berkeleys-cycleofsongs-composition/">King's Chapel Evensong at 3.30pm on Sunday 16th November features Michael Berkeley's CycleofSongs Composition</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/resound-concert-for-the-memory-notes-8pm-on-8th-november-at-st-pauls-centre/">ReSound Concert for "The Memory Notes" 8pm on 8th November at St Paul's Centre</a>\n', u'\n</li>\n', u'\n', u'\n<li class="leaf">\n<a href="/projects/cycle-of-songs-news/freedom-performance-with-zimbe-7pm-on-29th-october-at-concert-hall-music-faculty-west-road/">"Freedom" Performance with "Zimbe!" 7pm on 29th October at Concert Hall, Music Faculty, West Road </a>\n', u'\n</li>\n', u'\n'] |
item | <ContentNode: Castle Hill Open Day - 18th October> |
loop_dict | {u'counter': 34, u'counter0': 33, u'first': False, u'last': False, u'parentloop': {}, u'revcounter': 53, u'revcounter0': 52} |
self | <For Node: for child in sidebar_children, tail_len: 3> |
parentloop | {} |
i | 33 |
values | [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'] |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
unpack | False |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
return "<IfEqualNode>"
def render(self, context):
val1 = self.var1.resolve(context, True)
val2 = self.var2.resolve(context, True)
if (self.negate and val1 != val2) or (not self.negate and val1 == val2):
return self.nodelist_true.render(context)
return self.nodelist_false.render(context)...
class IfNode(Node):
def __init__(self, conditions_nodelists):
self.conditions_nodelists = conditions_nodelists
Variable | Value |
---|---|
val2 | 396L |
val1 | 347L |
self | <IfEqualNode> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/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):
bit = self.render_node(node, context)...
else:
bit = node
bits.append(force_text(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
node | <Variable Node: child.get_absolute_url> |
bit | u'\n<li class="leaf">\n<a href="' |
bits | [u'\n<li class="leaf">\n<a href="'] |
self | [<Text Node: ' <li class="leaf"> <a hre'>, <Variable Node: child.get_absolute_url>, <Text Node: '">'>, <Variable Node: child.get_link_name>, <Text Node: '</a> '>] |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/template/base.py
in render_node
"Return a list of all nodes of the given type"
nodes = []
for node in self:
nodes.extend(node.get_nodes_by_type(nodetype))
return nodes
def render_node(self, node, context):
return node.render(context)...
class TextNode(Node):
def __init__(self, s):
self.s = s
Variable | Value |
---|---|
node | <Variable Node: child.get_absolute_url> |
self | [<Text Node: ' <li class="leaf"> <a hre'>, <Variable Node: child.get_absolute_url>, <Text Node: '">'>, <Variable Node: child.get_link_name>, <Text Node: '</a> '>] |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/template/base.py
in render
self.filter_expression = filter_expression
def __repr__(self):
return "<Variable Node: %s>" % self.filter_expression
def render(self, context):
try:
output = self.filter_expression.resolve(context)...
except UnicodeDecodeError:
# Unicode conversion can fail sometimes for reasons out of our
# control (e.g. exception rendering). In that case, we fail
# quietly.
return ''
return render_value_in_context(output, context)
Variable | Value |
---|---|
self | <Variable Node: child.get_absolute_url> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/template/base.py
in resolve
self.filters = filters
self.var = var_obj
def resolve(self, context, ignore_failures=False):
if isinstance(self.var, Variable):
try:
obj = self.var.resolve(context)...
except VariableDoesNotExist:
if ignore_failures:
obj = None
else:
if settings.TEMPLATE_STRING_IF_INVALID:
global invalid_var_format_string
Variable | Value |
---|---|
self | <django.template.base.FilterExpression object at 0xd201c2c> |
ignore_failures | False |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/template/base.py
in resolve
var)
self.lookups = tuple(var.split(VARIABLE_ATTRIBUTE_SEPARATOR))
def resolve(self, context):
"""Resolve this variable against a given context."""
if self.lookups is not None:
# We're dealing with a variable that needs to be resolved
value = self._resolve_lookup(context)...
else:
# We're dealing with a literal, so it's already been "resolved"
value = self.literal
if self.translate:
if self.message_context:
return pgettext_lazy(self.message_context, value)
Variable | Value |
---|---|
self | <Variable: u'child.get_absolute_url'> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/template/base.py
in _resolve_lookup
if callable(current):
if getattr(current, 'do_not_call_in_templates', False):
pass
elif getattr(current, 'alters_data', False):
current = settings.TEMPLATE_STRING_IF_INVALID
else:
try: # method call (assuming no args required)
current = current()...
except TypeError:
try:
getcallargs(current)
except TypeError: # arguments *were* required
current = settings.TEMPLATE_STRING_IF_INVALID # invalid method call
else:
Variable | Value |
---|---|
current | <bound method ContentNode.get_absolute_url of <ContentNode: Castle Hill Open Day - 18th October>> |
bit | u'get_absolute_url' |
self | <Variable: u'child.get_absolute_url'> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=396', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=396', 'sidebar_children': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'object': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'menu_nodes': [], 'current_node': <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, 'node_children': [], 'cover_pic': <FileObject: uploads/cover_pics/helen_ross.jpg>, 'node_siblings': [<ContentNode: The Cycle of Songs Video>, <ContentNode: Clicking to Connectivity - Arts Project for Summer & Autumn 2015 in Cambridge: Young People Welcome!>, <ContentNode: Sing & Swim! Sat 4th July 6pm onwards. >, <ContentNode: Ocean Song Workshop in the Cambridge Museum of Technology on Sunday 21st June 2pm to 3.30pm>, <ContentNode: Time Together – Women of Note – 8pm Concert on Friday 19TH June>, <ContentNode: Singing & Music at Open Gardens – Come Along! >, <ContentNode: Moving On Up! Invite to Sing’s Summer Concert – Sunday 12th June 8pm onwards>, <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>, <ContentNode: Do/So/Co Community Grants – 5th June Deadline>, <ContentNode: Michael Berkeley returns to King’s – All Welcome! >, <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, <ContentNode: Hollie McNish + support at Cambridge Junction – Inja performs “Freedom” MAY 5th 8pm>, <ContentNode: Ocean Songs Sessions>, <ContentNode: Film score “A Little Chaos”>, <ContentNode: Cambridge’s first ever LungJam - 1st April >, <ContentNode: Cambridge Culture Finder features Cycle of Songs: 20th March >, <ContentNode: Ten Sing – Saturday 14th March>, <ContentNode: Creating My Cambridge - Singing History Concert Success: 9th March 2015>, <ContentNode: Chalk Circle Concerts: 14th & 15th March>, <ContentNode: Singing History - 8th March Concert - West Road - All Welcome!>, '...(remaining elements truncated)...'], 'add_url': '/admin/pages/contentnode/add/?parent=396', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Hollie McNish + support at Cambridge Junction \u2013 Inja performs \u201cFreedom\u201d MAY 5th 8pm', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/396/', 'show_sidebar': True, 'category_root': None, 'sections': [], 'section_nodes': [], 'sidebar_ancestors': [<ContentNode: Projects>], 'sidebar_root': <ContentNode: Cycle of Songs: News>}, {'nav_nodes': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Products>, <ContentNode: Training>, <ContentNode: About us>, <ContentNode: Commission us>], u'csrf_token': <django.utils.functional.__proxy__ object at 0xde091cc>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xe482eac>, u'request': <HttpRequest path:, GET:{}, POST:{}, COOKIES:{}, META:{'SERVER_NAME': u'shadow.historyworks.tv', 'SERVER_PORT': 80}>, 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xb39bf4c>, 'recent_projects': [<NewsItem: Leap - Making Music and Marvellous Machines>, <NewsItem: Debating the Past #Historians for Britain>, <NewsItem: Creating My Cambridge>, <NewsItem: Reports on Projects - Directed by Helen Weinstein>, <NewsItem: Maker Challenge - Films/Photos at Cambridge Makespace>, <NewsItem: York Art Gallery Film - opening of new Ceramics Centre>, <NewsItem: Clicking to Connectivity - Abbey Meadows to the Guildhall>, <NewsItem: Cambridge History Festival>, <NewsItem: York Castle Project. Understanding Clifford's Tower in Context>, <NewsItem: Singing History: Lions of the Fitzwilliam Museum - Michael Rosen Poem & Songs>], u'STATIC_URL': '/static/', 'site_url': 'http://shadow.historyworks.tv', u'LANGUAGES': (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')), 'user': <SimpleLazyObject: <django.contrib.auth.models.AnonymousUser object at 0xe48260c>>, u'LANGUAGE_CODE': u'en-us', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, u'LANGUAGE_BIDI': False, u'MEDIA_URL': ''}] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/utils/functional.py
in _curried
# You can't trivially replace this with `functools.partial` because this binds
# to classes and returns bound instances, whereas functools.partial (on
# CPython) is a type and its instances don't bind.
def curry(_curried_func, *args, **kwargs):
def _curried(*moreargs, **morekwargs):
return _curried_func(*(args + moreargs), **dict(kwargs, **morekwargs))...
return _curried
def memoize(func, cache, num_args):
"""
Wrap a function so that results for any argument tuple are stored in
Variable | Value |
---|---|
morekwargs | {} |
moreargs | (<ContentNode: Castle Hill Open Day - 18th October>,) |
args | (<Options for ContentNode>, <unbound method ContentNode.get_absolute_url>) |
_curried_func | <function get_absolute_url at 0xa5b1924> |
kwargs | {} |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/db/models/base.py
in get_absolute_url
##############################################
# HELPER FUNCTIONS (CURRIED MODEL FUNCTIONS) #
##############################################
def get_absolute_url(opts, func, self, *args, **kwargs):
return settings.ABSOLUTE_URL_OVERRIDES.get('%s.%s' % (opts.app_label, opts.model_name), func)(self, *args, **kwargs)...
########
# MISC #
########
Variable | Value |
---|---|
self | <ContentNode: Castle Hill Open Day - 18th October> |
args | () |
func | <unbound method ContentNode.get_absolute_url> |
opts | <Options for ContentNode> |
kwargs | {} |
/var/www/djapp/dev/historyworks/historyworks/base_content/models.py
in get_absolute_url
def behaves_as_section(self):
return self.model.pk == SectionSingleton.getInstance().content_type.pk
def get_absolute_url(self, *args, **kwargs):
if not(self.slug=="home") and self.behaves_as_section():
return self.get_parent().get_absolute_url()+"#"+self.slug
else:
return super(PageContent, self).get_absolute_url(*args, **kwargs)...
class Meta:
Variable | Value |
---|---|
self | <ContentNode: Castle Hill Open Day - 18th October> |
args | () |
kwargs | {} |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/utils/functional.py
in _curried
# You can't trivially replace this with `functools.partial` because this binds
# to classes and returns bound instances, whereas functools.partial (on
# CPython) is a type and its instances don't bind.
def curry(_curried_func, *args, **kwargs):
def _curried(*moreargs, **morekwargs):
return _curried_func(*(args + moreargs), **dict(kwargs, **morekwargs))...
return _curried
def memoize(func, cache, num_args):
"""
Wrap a function so that results for any argument tuple are stored in
Variable | Value |
---|---|
morekwargs | {} |
moreargs | (<ContentNode: Castle Hill Open Day - 18th October>,) |
args | (<Options for SiteNode>, <unbound method SiteNode.get_absolute_url>) |
_curried_func | <function get_absolute_url at 0xa5b1924> |
kwargs | {} |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/db/models/base.py
in get_absolute_url
##############################################
# HELPER FUNCTIONS (CURRIED MODEL FUNCTIONS) #
##############################################
def get_absolute_url(opts, func, self, *args, **kwargs):
return settings.ABSOLUTE_URL_OVERRIDES.get('%s.%s' % (opts.app_label, opts.model_name), func)(self, *args, **kwargs)...
########
# MISC #
########
Variable | Value |
---|---|
self | <ContentNode: Castle Hill Open Day - 18th October> |
args | () |
func | <unbound method SiteNode.get_absolute_url> |
opts | <Options for SiteNode> |
kwargs | {} |
/var/www/Envs/foiresearch/src/django-sitestructure-django17/sitestructure/models.py
in get_absolute_url
if self.id and hasattr(self.get_promoted_model(),"overridden_url"):
return self.get_promoted_model().get_absolute_url()
ext = self.get_external_url()
if ext and allow_external:
return ext
if self._abs_url == None:
self._abs_url = ""
ancestors = list(self.get_ancestors())...
if(len(ancestors) and ancestors[0].slug == "home"):
del ancestors[0]
if(len(ancestors)):
self._abs_url = "/".join([a.slug for a in ancestors])+"/"+self.slug+"/"
elif self.slug != "home":
self._abs_url = self.slug+"/"
Variable | Value |
---|---|
ext | '' |
allow_external | True |
self | <ContentNode: Castle Hill Open Day - 18th October> |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/db/models/query.py
in __iter__
- Returns one row at time. At this point the rows are still just
tuples. In some cases the return values are converted to
Python values at this location (see resolve_columns(),
resolve_aggregate()).
3. self.iterator()
- Responsible for turning the rows into model objects.
"""
self._fetch_all()...
return iter(self._result_cache)
def __nonzero__(self):
self._fetch_all()
return bool(self._result_cache)
Variable | Value |
---|---|
self | [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/db/models/query.py
in _fetch_all
c.__dict__.update(kwargs)
if setup and hasattr(c, '_setup_query'):
c._setup_query()
return c
def _fetch_all(self):
if self._result_cache is None:
self._result_cache = list(self.iterator())...
if self._prefetch_related_lookups and not self._prefetch_done:
self._prefetch_related_objects()
def _next_is_sticky(self):
"""
Indicates that the next filter call and the one following that should
Variable | Value |
---|---|
self | [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/db/models/query.py
in iterator
# Cache db and model outside the loop
db = self.db
model = self.model
compiler = self.query.get_compiler(using=db)
if fill_cache:
klass_info = get_klass_info(model, max_depth=max_depth,
requested=requested, only_load=only_load)
for row in compiler.results_iter():...
if fill_cache:
obj, _ = get_cached_row(row, index_start, db, klass_info,
offset=len(aggregate_select))
else:
# Omit aggregates in object creation.
row_data = row[index_start:aggregate_start]
Variable | Value |
---|---|
requested | None |
fill_cache | False |
aggregate_select | [] |
skip | None |
self | [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>] |
load_fields | [] |
db | 'default' |
index_start | 0 |
extra_select | [] |
fields | [<django.db.models.fields.AutoField: id>, <django.db.models.fields.related.ForeignKey: model>, <django.db.models.fields.related.ForeignKey: proxy_model>, <django.db.models.fields.SlugField: slug>, <django.db.models.fields.CharField: full_url>, <django.db.models.fields.CharField: name>, <django.db.models.fields.related.ForeignKey: link_to>, <django.db.models.fields.URLField: link_url>, <filebrowser.fields.FileBrowseField: link_resource>, <django.db.models.fields.BooleanField: is_model_index>, <django.db.models.fields.CharField: template>, <mptt.fields.TreeForeignKey: parent>, <django.db.models.fields.BooleanField: active>, <django.db.models.fields.CharField: is_section>, <django.db.models.fields.BooleanField: has_url>, <django.db.models.fields.BooleanField: changed>, <django.db.models.fields.BooleanField: publishable>, <django.db.models.fields.PositiveIntegerField: lft>, <django.db.models.fields.PositiveIntegerField: rght>, <django.db.models.fields.PositiveIntegerField: tree_id>, <django.db.models.fields.PositiveIntegerField: level>, <django.db.models.fields.related.OneToOneField: sitenode_ptr>, <django.db.models.fields.CharField: display_name>, <filebrowser.fields.FileBrowseField: parent_thumbnail_pic>, <django.db.models.fields.CharField: parent_thumbnail_title>, <django.db.models.fields.TextField: parent_thumbnail_summary>, <filebrowser.fields.FileBrowseField: cover_pic>, <django.db.models.fields.TextField: content>, <django.db.models.fields.TextField: content2>, <django.db.models.fields.TextField: content3>, <django.db.models.fields.TextField: banner_content>, <django.db.models.fields.BooleanField: is_auto_embed>, <cachedS3.fields.ImageTagField: image_tag>] |
aggregate_start | 33 |
model | <class 'historyworks.pages.models.ContentNode'> |
only_load | {} |
max_depth | 5 |
compiler | <django.db.backends.mysql.compiler.SQLCompiler object at 0xb396a6c> |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in results_iter
def results_iter(self):
"""
Returns an iterator over the results from executing this query.
"""
resolve_columns = hasattr(self, 'resolve_columns')
fields = None
has_aggregate_select = bool(self.query.aggregate_select)
for rows in self.execute_sql(MULTI):...
for row in rows:
if has_aggregate_select:
loaded_fields = self.query.get_loaded_field_names().get(self.query.model, set()) or self.query.select
aggregate_start = len(self.query.extra_select) + len(loaded_fields)
aggregate_end = aggregate_start + len(self.query.aggregate_select)
if resolve_columns:
Variable | Value |
---|---|
fields | None |
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0xb396a6c> |
has_aggregate_select | False |
resolve_columns | True |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in execute_sql
subclasses such as InsertQuery). It's possible, however, that no query
is needed, as the filters describe an empty set. In that case, None is
returned, to avoid any unnecessary database interaction.
"""
if not result_type:
result_type = NO_RESULTS
try:
sql, params = self.as_sql()...
if not sql:
raise EmptyResultSet
except EmptyResultSet:
if result_type == MULTI:
return iter([])
else:
Variable | Value |
---|---|
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0xb396a6c> |
result_type | 'multi' |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in as_sql
self.pre_sql_setup()
# After executing the query, we must get rid of any joins the query
# setup created. So, take note of alias counts before the query ran.
# However we do not want to get rid of stuff done in pre_sql_setup(),
# as the pre_sql_setup will modify query state in a way that forbids
# another run of it.
self.refcounts_before = self.query.alias_refcount.copy()
out_cols, s_params = self.get_columns(with_col_aliases)...
ordering, o_params, ordering_group_by = self.get_ordering()
distinct_fields = self.get_distinct()
# This must come after 'select', 'ordering' and 'distinct' -- see
# docstring of get_from_clause() for details.
Variable | Value |
---|---|
with_col_aliases | False |
with_limits | True |
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0xb396a6c> |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in get_columns
if hasattr(col, 'alias'):
aliases.add(col.alias)
col_aliases.add(col.alias)
elif self.query.default_cols:
cols, new_aliases = self.get_default_columns(with_aliases,
col_aliases)...
result.extend(cols)
aliases.update(new_aliases)
max_name_length = self.connection.ops.max_name_length()
for alias, aggregate in self.query.aggregate_select.items():
agg_sql, agg_params = self.compile(aggregate)
Variable | Value |
---|---|
qn2 | <bound method DatabaseOperations.quote_name of <django.db.backends.mysql.base.DatabaseOperations object at 0xaa2a44c>> |
with_aliases | False |
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0xb396a6c> |
params | [] |
result | [] |
qn | <django.db.backends.mysql.compiler.SQLCompiler object at 0xb396a6c> |
col_aliases | set([]) |
aliases | set([]) |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in get_default_columns
if with_aliases and column in col_aliases:
c_alias = 'Col%d' % len(col_aliases)
result.append('%s.%s AS %s' % (qn(alias),
qn2(column), c_alias))
col_aliases.add(c_alias)
aliases.add(c_alias)
else:
r = '%s.%s' % (qn(alias), qn2(column))...
result.append(r)
aliases.add(r)
if with_aliases:
col_aliases.add(column)
return result, aliases
Variable | Value |
---|---|
qn2 | <bound method DatabaseOperations.quote_name of <django.db.backends.mysql.base.DatabaseOperations object at 0xaa2a44c>> |
seen_model | None |
result | [u'`sitestructure_sitenode`.`id`', u'`sitestructure_sitenode`.`model_id`', u'`sitestructure_sitenode`.`proxy_model_id`', u'`sitestructure_sitenode`.`slug`', u'`sitestructure_sitenode`.`full_url`', u'`sitestructure_sitenode`.`name`', u'`sitestructure_sitenode`.`link_to_id`', u'`sitestructure_sitenode`.`link_url`', u'`sitestructure_sitenode`.`link_resource`', u'`sitestructure_sitenode`.`is_model_index`', u'`sitestructure_sitenode`.`template`', u'`sitestructure_sitenode`.`parent_id`', u'`sitestructure_sitenode`.`active`', u'`sitestructure_sitenode`.`is_section`', u'`sitestructure_sitenode`.`has_url`', u'`sitestructure_sitenode`.`changed`', u'`sitestructure_sitenode`.`publishable`', u'`sitestructure_sitenode`.`lft`', u'`sitestructure_sitenode`.`rght`', u'`sitestructure_sitenode`.`tree_id`', u'`sitestructure_sitenode`.`level`', u'`pages_contentnode`.`sitenode_ptr_id`', u'`pages_contentnode`.`display_name`', u'`pages_contentnode`.`parent_thumbnail_pic`', u'`pages_contentnode`.`parent_thumbnail_title`', u'`pages_contentnode`.`parent_thumbnail_summary`', u'`pages_contentnode`.`cover_pic`', u'`pages_contentnode`.`content`', u'`pages_contentnode`.`content2`'] |
table | u'pages_contentnode' |
from_parent | None |
aliases | set([u'`pages_contentnode`.`content2`', u'`pages_contentnode`.`content`', u'`pages_contentnode`.`cover_pic`', u'`pages_contentnode`.`display_name`', u'`pages_contentnode`.`parent_thumbnail_pic`', u'`pages_contentnode`.`parent_thumbnail_summary`', u'`pages_contentnode`.`parent_thumbnail_title`', u'`pages_contentnode`.`sitenode_ptr_id`', u'`sitestructure_sitenode`.`active`', u'`sitestructure_sitenode`.`changed`', u'`sitestructure_sitenode`.`full_url`', u'`sitestructure_sitenode`.`has_url`', u'`sitestructure_sitenode`.`id`', u'`sitestructure_sitenode`.`is_model_index`', u'`sitestructure_sitenode`.`is_section`', u'`sitestructure_sitenode`.`level`', u'`sitestructure_sitenode`.`lft`', u'`sitestructure_sitenode`.`link_resource`', u'`sitestructure_sitenode`.`link_to_id`', u'`sitestructure_sitenode`.`link_url`', u'`sitestructure_sitenode`.`model_id`', u'`sitestructure_sitenode`.`name`', u'`sitestructure_sitenode`.`parent_id`', u'`sitestructure_sitenode`.`proxy_model_id`', u'`sitestructure_sitenode`.`publishable`', u'`sitestructure_sitenode`.`rght`', u'`sitestructure_sitenode`.`slug`', u'`sitestructure_sitenode`.`template`', u'`sitestructure_sitenode`.`tree_id`']) |
start_alias | u'pages_contentnode' |
self | <django.db.backends.mysql.compiler.SQLCompiler object at 0xb396a6c> |
seen_models | {None: u'pages_contentnode', <class 'sitestructure.models.SiteNode'>: u'sitestructure_sitenode'} |
field | <django.db.models.fields.TextField: content3> |
only_load | {} |
seen_alias | u'pages_contentnode' |
with_aliases | False |
as_pairs | False |
ancestor_link | None |
column | 'content3' |
alias | u'pages_contentnode' |
r | u'`pages_contentnode`.`content2`' |
model | None |
col_aliases | set([]) |
opts | <Options for ContentNode> |
qn | <django.db.backends.mysql.compiler.SQLCompiler object at 0xb396a6c> |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py
in quote_name
return force_text(getattr(cursor, '_last_executed', None), errors='replace')
def no_limit_value(self):
# 2**64 - 1, as recommended by the MySQL documentation
return 18446744073709551615
def quote_name(self, name):
if name.startswith("`") and name.endswith("`"):...
return name # Quoting once is enough.
return "`%s`" % name
def random_function_sql(self):
return 'RAND()'
Variable | Value |
---|---|
self | <django.db.backends.mysql.base.DatabaseOperations object at 0xaa2a44c> |
name | 'content3' |
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
SERVER_NAME | u'shadow.historyworks.tv' |
SERVER_PORT | 80 |
historyworks.settings
Setting | Value |
---|---|
FILEBROWSER_VERSIONS | {'admin_bar': {'height': 15, 'opts': 'crop upscale', 'width': ''}, 'banner_cover_pic': {'height': 150, 'opts': 'crop upscale', 'verbose_name': 'Long thin black+white banner pic (3000px)', 'width': 3000}, 'big': {'height': '', 'opts': '', 'verbose_name': 'Big (620px)', 'width': 620}, 'cover_pic': {'height': '', 'opts': 'crop upscale', 'verbose_name': 'Banner image (1000px)', 'width': 1000}, 'fb_thumb': {'height': 60, 'opts': 'crop upscale', 'verbose_name': 'Admin Thumbnail', 'width': 60}, 'front_menu': {'height': 215, 'opts': 'crop upscale', 'verbose_name': 'Front page menu (215px)', 'width': 215}, 'front_news_thumb': {'height': 100, 'opts': 'crop upscale', 'width': 100}, 'inner_thumbnail': {'height': 200, 'opts': 'crop upscale', 'verbose_name': 'Standard inner page thumbnail (200px)', 'width': 200}, 'ipup_thumb': {'height': 140, 'opts': 'crop upscale', 'width': 130}, 'large': {'height': '', 'opts': '', 'verbose_name': 'Big (620px)', 'width': 620}, 'medium': {'height': '', 'opts': '', 'verbose_name': 'Medium (460px)', 'width': 460}, 'meta_thumb': {'height': 200, 'opts': 'crop upscale', 'verbose_name': 'Meta property thumbnail', 'width': 200}, 'news_index': {'height': 200, 'opts': 'crop upscale', 'width': 200}, 'person_detail': {'height': 180, 'opts': 'crop upscale', 'verbose_name': 'Main person pic', 'width': 200}, 'rhs_thumb': {'height': 110, 'opts': 'crop upscale', 'verbose_name': 'RHS menu thumb', 'width': 125}, 'rhs_thumb_small': {'height': 80, 'opts': 'crop upscale', 'verbose_name': 'RHS menu thumb', 'width': 90}, 'small': {'height': '', 'opts': '', 'verbose_name': 'Small (300px)', 'width': 300}, 'thumbnail': {'height': '', 'opts': '', 'verbose_name': 'Thumbnail (140px)', 'width': 140}, 'training_person_thumb': {'height': 70, 'opts': 'crop upscale', 'verbose_name': 'Training person thumbnail (80px)', 'width': 100}} |
USE_L10N | True |
SITE_URL | 'http://shadow.historyworks.tv' |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-gb' |
ROOT_URLCONF | 'historyworks.urls' |
MANAGERS | () |
TWYNC_NUMBER | 5 |
TEST_NON_SERIALIZED_APPS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/var/www/djapp/historyworks/static/' |
USE_THOUSAND_SEPARATOR | False |
ALLOWED_HOSTS | ['historyworks.tv'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
FILEBROWSER_DIRECTORY | 'uploads/' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
AWS_STORAGE_BUCKET_NAME | 'historyworks-media-01' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
DATABASES | {'cached_s3_db': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'tenar', 'NAME': 'singinghistory', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'singinghistory'}, 'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'tenar', 'NAME': 'historyworks', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'historyworks'}} |
FILEBROWSER_ADMIN_THUMBNAIL | 'fb_thumb' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
AWS_PRELOAD_METADATA | True |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
MAILCHIMP_LIST_ID | '254752842b' |
APPEND_SLASH | True |
FIRST_DAY_OF_WEEK | 0 |
DATABASE_ROUTERS | [] |
FILEBROWSER_OVERWRITE_EXISTING | False |
SECTION_MODEL | ('pages', 'section') |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
DATABASE_DISTRIBUTION | {'development': {'cached_s3_db': {'ENGINE': 'django.db.backends.mysql', 'HOST': 'tenar', 'NAME': 'singinghistory', 'PASSWORD': u'********************', 'PORT': '', 'USER': 'singinghistory'}, 'default': {'ENGINE': 'django.db.backends.mysql', 'HOST': 'tenar', 'NAME': 'historyworks', 'PASSWORD': u'********************', 'PORT': '', 'USER': 'historyworks'}}, 'production': {'cached_s3_db': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'tenar', 'NAME': 'singinghistory', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'singinghistory'}, 'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': 'tenar', 'NAME': 'historyworks', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'historyworks'}}} |
ADMIN_SITE_URL | 'http://shadow.historyworks.tv' |
SERVER_EMAIL | 'root@localhost' |
SESSION_COOKIE_PATH | '/' |
SILENCED_SYSTEM_CHECKS | [] |
MIDDLEWARE_CLASSES | ('sitestructure.middleware.AdminAddUrlsMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'sitestructure.middleware.AdminRedirectMiddleware') |
USE_I18N | True |
SITE_NODE_MODELS | ('training', 'project', 'person', 'newsitem') |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
FILE_UPLOAD_TEMP_DIR | None |
TWYNC_SECRET | u'********************' |
DEFAULT_TABLESPACE | '' |
TWYNC_KEY | u'********************' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'logging.config.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', 'apptemplates.Loader') |
WSGI_APPLICATION | None |
TEMPLATE_DEBUG | False |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
CSRF_COOKIE_NAME | 'csrftoken' |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
LANGUAGE_COOKIE_DOMAIN | None |
AWS_ACCESS_KEY_ID | u'********************' |
DEFAULT_FILE_STORAGE | 'historyworks.backends.MediaS3BotoStorage' |
INSTALLED_APPS | ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'sitestructure', 'oembed', 'jimmypage', 'grappelli', 'filebrowser', 'django.contrib.admin', 'mptt', 'staticgenerator', 'twync', 'forms_builder.forms', 'storages', 'cachedS3', 'rpc4django', 'historyworks.base_content', 'historyworks.pages') |
LANGUAGES | (('af', 'Afrikaans'), ('ar', 'Arabic'), ('ast', 'Asturian'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('es-ve', 'Venezuelan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('os', 'Ossetic'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese'), ('zh-tw', 'Traditional Chinese')) |
COMMENTS_ALLOW_PROFANITIES | False |
STATICFILES_DIRS | () |
TWYNC_ACCESS_SECRET | u'********************' |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
AWS_SECRET_ACCESS_KEY | u'********************' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
CSRF_COOKIE_AGE | 31449600 |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
APP_HANDLE | 'historyworks' |
MONTH_DAY_FORMAT | 'F j' |
AWS_QUERYSTRING_AUTH | False |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
TIME_FORMAT | 'P' |
AUTH_USER_MODEL | 'auth.User' |
DATE_INPUT_FORMATS | ('%Y-%m-%d', '%d/%m/%Y', '%d/%m/%y', '%m/%d/%Y', '%m/%d/%y', '%d %b %Y', '%d %b, %Y', '%b %d %Y', '%b %d, %Y', '%d %B %Y', '%d %B, %Y', '%B %d %Y', '%B %d, %Y') |
SITE_HANDLE | 'historyworks' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
EMAIL_HOST_PASSWORD | u'********************' |
GRAPPELLI_ADMIN_TITLE | 'Historyworks Admin' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
ADMIN_MEDIA_PREFIX | '/static/admin/' |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
TEMPLATE_STRING_IF_INVALID | '' |
DECIMAL_SEPARATOR | '.' |
CACHEDS3_USE_TAG_DIRECTORIES | True |
IGNORABLE_404_URLS | () |
SITE_ID | 1 |
LOCALE_PATHS | () |
CONTENT_NODE_APP | 'pages' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'j F, Y' |
TWYNC_ACCESS | '570095292-2uzUs4kHgI535L4DDH4gRSqEb5pAtFmlXieLXOqt' |
MEDIA_ROOT | '' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
THOUSAND_SEPARATOR | ',' |
MEDIA_URL | '' |
DATETIME_FORMAT | 'j F, Y, P' |
TEMPLATE_DIRS | ('/var/www/djapp/historyworks/historyworks/templates',) |
MAILCHIMP_API_KEY | u'********************' |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {'disable_existing_loggers': False, 'handlers': {'null': {'class': 'django.utils.log.NullHandler', 'level': 'DEBUG'}}, 'loggers': {'django.db.backends': {'handlers': ['null'], 'level': 'DEBUG', 'propagate': False}}, 'version': 1} |
SHORT_DATE_FORMAT | 'm/d/Y' |
TWYNC_HANDLE | '@historyworkstv' |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
TWYNC_SHOW_RETWEETS | False |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
TWYNC_SHOW_REPLIES | False |
TIME_ZONE | None |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
WEB_ROOT | '/var/www/sites/historyworks' |
RUNNING_DEVSERVER | False |
CONTENT_NODE_MODEL | 'contentnode' |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_USE_SSL | False |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.static', 'django.contrib.messages.context_processors.messages', 'django.core.context_processors.request', 'historyworks.pages.context_processors.structure') |
FILEBROWSER_LIST_PER_PAGE | 40 |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'historyworks.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
NON_STANDARD_SITE_NODES | ('newsitem',) |
DEFAULT_INDEX_TABLESPACE | '' |
INTERNAL_IPS | () |
STATIC_URL | '/static/' |
PUBLISHABLE_MODEL | ('pages', 'contentnode') |
EMAIL_PORT | 25 |
USE_TZ | False |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
MIGRATION_MODULES | {} |
SERIALIZATION_MODULES | {'njson': 'sitestructure.serializers.json'} |
CACHE_MIDDLEWARE_SECONDS | 600 |
CSRF_COOKIE_HTTPONLY | False |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y') |
FORMS_BUILDER_UPLOAD_ROOT | '/var/www/djapp/roderick/form-uploads/' |
EMAIL_HOST_USER | '' |
PROFANITIES_LIST | u'********************' |
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.