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/utils/encoding.py in force_bytes, line 127 |
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:05 +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/alex-cook-performs-at-kettles-yard-on-15th-may-free/'}, url_name='default_view', app_name='None', namespace='') |
middleware_method | <bound method AdminAddUrlsMiddleware.process_template_response of <sitestructure.middleware.AdminAddUrlsMiddleware instance at 0xda168ac>> |
self | <staticgenerator.handlers.DummyHandler object at 0xda166ac> |
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/alex-cook-performs-at-kettles-yard-on-15th-may-free/'} |
response | <django.template.response.TemplateResponse object at 0xdb0310c> |
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 0xdb0310c> |
retval | <django.template.response.TemplateResponse object at 0xdb0310c> |
/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 0xdb0310c> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 0xdb03eec> |
/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 0xdb03eec> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 0xdb03eec> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 0xe78c6ec> |
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 0xe78ca0c>, <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 0xe78c92c>, <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 0xda1628c> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 0xbcfeaec> |
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 0xbcfeaec> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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\nAlex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! :: 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/alex-cook-performs-at-kettles-yard-on-15th-may-free/" />\n<meta property="og:type" content="article" />\n<meta property="og:image" content="https://historyworks-media-01.s3.amazonaws.com/media/uploads/thumbnails/05may15_meta_thumb.jpg" />\n<meta property="og:title" content="Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! " />\n<meta name="description" content="Museums At Night \u2013 May 15th \u2013 Come and explore the wonderful art in a domestic setting at Kettle\u2019s Yard and hear the talented composer of the Cycle of Songs track 9, Alex Cook play the piano and talk about ..." />\n<meta property="og:description" content="Museums At Night \u2013 May 15th \u2013 Come and explore the wonderful art in a domestic setting at Kettle\u2019s Yard and hear the talented composer of the Cycle of Songs track 9, Alex Cook play the piano and talk about ..." />\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\tAlex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! \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 0xe78c6ec>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xe78c72c>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xe85b78c>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xe85b98c>, <Text Node: ' <!DOCTYPE html PUBLIC "-'>, <Block Node: css. Contents: [<Text Node: ' <link rel="stylesheet" t'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0xe78ca0c>, <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 0xe85bf0c>, <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 0xe78c92c>, <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=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 0xe78c6ec>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xe78c72c>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xe85b78c>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xe85b98c>, <Text Node: ' <!DOCTYPE html PUBLIC "-'>, <Block Node: css. Contents: [<Text Node: ' <link rel="stylesheet" t'>, <django.contrib.staticfiles.templatetags.staticfiles.StaticFilesNode object at 0xe78ca0c>, <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 0xe85bf0c>, <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 0xe78c92c>, <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=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 0xe48282c>, <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 0xdafef8c>, <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 0xda1628c> |
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 0xe48282c>, <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 0xdafef8c>, <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=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 0xdafef8c>, <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>Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! </h2>\n', u'\n', u'\n<div id="column1" class="large">\n\n<div class="news-full">\n\n<p><strong>Museums At Night – May 15<sup>th</sup></strong> – Come and explore the wonderful art in a domestic setting at Kettle’s Yard and hear the talented composer of the Cycle of Songs track 9, Alex Cook play the piano and talk about his new compositions</p>\n<p>To preview Anka’s Story by composer Alex Cook, go to :<br /><a href="https://twitter.com/kettlesyard/status/599245725831159808/photo/1">https://twitter.com/kettlesyard/status/599245725831159808/photo/1</a></p>\n<p>Links to soundcloud for preview of Anka’s Story here:<br />http://soundcloud.com/alex-cook-1/ankas-story-preview</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 0xe48282c>, <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 0xdafef8c>, <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=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 0xdafef8c>, <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 0xe48282c>, <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 0xdafef8c>, <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=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 0xdafef8c>, <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 0xda1628c> |
block | <Block Node: col2. Contents: [<Text Node: ' <div id="column2" class='>, <IfNode>, <Text Node: ' '>, <django.template.loader_tags.IncludeNode object at 0xdafef8c>, <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=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 0xdafef8c>, <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/05may15_news_index.jpg" alt="Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! " />\n', u'\n', u'<ul class="social-bar vertical">\n<li>\n<a href="http://shadow.historyworks.tv/projects/cycle-of-songs-news/alex-cook-performs-at-kettles-yard-on-15th-may-free/" class="twitter-share-button" data-count="vertical" data-url="http://shadow.historyworks.tv/projects/cycle-of-songs-news/alex-cook-performs-at-kettles-yard-on-15th-may-free/" data-via="historyworkstv">Tweet</a>\n</li>\n<li>\n<g:plusone size="tall" href="http://shadow.historyworks.tv/projects/cycle-of-songs-news/alex-cook-performs-at-kettles-yard-on-15th-may-free/"></g:plusone>\n</li>\n<li>\n<fb:like href="http://shadow.historyworks.tv/projects/cycle-of-songs-news/alex-cook-performs-at-kettles-yard-on-15th-may-free/" 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/alex-cook-performs-at-kettles-yard-on-15th-may-free/"></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 0xdafef8c>, <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=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 0xdafef8c>, <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=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 0xdafe6ec>, <Text Node: ' '>] |
condition | (literal <django.template.base.FilterExpression object at 0xdafee0c>) |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 0xdafe6ec> |
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 0xdafe6ec>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 0xdafe6ec> |
self | [<Text Node: ' <h3>In this section</h3'>, <django.template.loader_tags.IncludeNode object at 0xdafe6ec>, <Text Node: ' '>] |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 0xdafe6ec> |
values | {} |
template | <django.template.base.Template object at 0xd1cec6c> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 0xd1cec6c> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 0xd1cec6c> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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'] |
item | <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June> |
loop_dict | {u'counter': 8, u'counter0': 7, u'first': False, u'last': False, u'parentloop': {}, u'revcounter': 79, u'revcounter0': 78} |
self | <For Node: for child in sidebar_children, tail_len: 3> |
parentloop | {} |
i | 7 |
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=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 | 397L |
val1 | 400L |
self | <IfEqualNode> |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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 0xe85bb2c> |
ignore_failures | False |
context | [{'False': False, 'None': None, 'True': True}, {'add_model_url': '/admin/pages/contentnode/add/?parent=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>> |
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=397', 'is_auth': False, 'sidebar_parent': <ContentNode: Projects>, 'children_url': '/admin/pages/contentnode/?parent__id=397', '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: Alex Cook performs at Kettle’s Yard on 15th May – free! >, 'menu_nodes': [], 'current_node': <ContentNode: Alex Cook performs at Kettle’s Yard on 15th May – free! >, '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=397', 'breadcrumbs': [<ContentNode: Home>, <ContentNode: Projects>, <ContentNode: Cycle of Songs: News>], 'list': None, 'node_name': u'Alex Cook performs at Kettle\u2019s Yard on 15th May \u2013 free! ', 'theme': <SiteScene: SiteScene object>, 'edit_url': '/admin/pages/contentnode/397/', '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 0xb523b2c>, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xb52344c>, 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 0xda16c0c>, '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 0xdb03a2c>>, 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: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>,) |
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: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June> |
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: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June> |
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: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June>,) |
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: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June> |
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
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+"/"
else:
self._abs_url= ""
self._abs_url = urlresolvers.reverse("default_view",kwargs={'url':self._abs_url})...
return self._abs_url
def get_external_url(self):
if self._ext_url == None:
self._ext_url = ""
if(self.link_to):
self._ext_url = self.get_link().get_absolute_url()
Variable | Value |
---|---|
a | <ContentNode: Cycle of Songs: News> |
ext | '' |
ancestors | [<ContentNode: Projects>, <ContentNode: Cycle of Songs: News>] |
allow_external | True |
self | <ContentNode: Revelation Rock Gospel Choir Fundraiser Concert on Saturday 6th June> |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/core/urlresolvers.py
in reverse
(key, ':'.join(resolved_path)))
else:
raise NoReverseMatch("%s is not a registered namespace" %
key)
if ns_pattern:
resolver = get_ns_resolver(ns_pattern, resolver)
return iri_to_uri(resolver._reverse_with_prefix(view, prefix, *args, **kwargs))...
reverse_lazy = lazy(reverse, str)
def clear_url_caches():
get_callable.cache_clear()
Variable | Value |
---|---|
ns_pattern | u'' |
viewname | 'default_view' |
args | [] |
current_app | None |
prefix | u'/' |
parts | [u'default_view'] |
resolver | <RegexURLResolver 'historyworks.urls' (None:None) ^/> |
kwargs | {'url': u'projects/cycle-of-songs-news/revelation-rock-gospel-choir-fundraiser-concert-on-saturday-86th-june/'} |
path | [] |
view | u'default_view' |
urlconf | 'historyworks.urls' |
resolved_path | [] |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/core/urlresolvers.py
in _reverse_with_prefix
# WSGI provides decoded URLs, without %xx escapes, and the URL
# resolver operates on such URLs. First substitute arguments
# without quoting to build a decoded URL and look for a match.
# Then, if we have a match, redo the substitution with quoted
# arguments in order to return a properly encoded URL.
candidate_pat = prefix_norm.replace('%', '%%') + result
if re.search('^%s%s' % (prefix_norm, pattern), candidate_pat % candidate_subs, re.UNICODE):
candidate_subs = dict((k, urlquote(v)) for (k, v) in candidate_subs.items())...
url = candidate_pat % candidate_subs
# Don't allow construction of scheme relative urls.
if url.startswith('//'):
url = '/%%2F%s' % url[2:]
return url
# lookup_view can be URL label, or dotted path, or callable, Any of
Variable | Value |
---|---|
candidate_pat | u'/%(url)s' |
matches | True |
pattern | '(?P<url>.*)$' |
self | <RegexURLResolver 'historyworks.urls' (None:None) ^/> |
args | () |
_prefix | u'/' |
prefix_norm | u'/' |
text_args | [] |
possibilities | [([(u'%(url)s', [u'url'])], '(?P<url>.*)$', {})] |
lookup_view | u'default_view' |
text_kwargs | {'url': u'projects/cycle-of-songs-news/revelation-rock-gospel-choir-fundraiser-concert-on-saturday-86th-june/'} |
prefix_args | [] |
params | [u'url'] |
possibility | [(u'%(url)s', [u'url'])] |
defaults | {} |
kwargs | {'url': u'projects/cycle-of-songs-news/revelation-rock-gospel-choir-fundraiser-concert-on-saturday-86th-june/'} |
candidate_subs | {'url': u'projects/cycle-of-songs-news/revelation-rock-gospel-choir-fundraiser-concert-on-saturday-86th-june/'} |
result | u'%(url)s' |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/core/urlresolvers.py
in <genexpr>
# WSGI provides decoded URLs, without %xx escapes, and the URL
# resolver operates on such URLs. First substitute arguments
# without quoting to build a decoded URL and look for a match.
# Then, if we have a match, redo the substitution with quoted
# arguments in order to return a properly encoded URL.
candidate_pat = prefix_norm.replace('%', '%%') + result
if re.search('^%s%s' % (prefix_norm, pattern), candidate_pat % candidate_subs, re.UNICODE):
candidate_subs = dict((k, urlquote(v)) for (k, v) in candidate_subs.items())...
url = candidate_pat % candidate_subs
# Don't allow construction of scheme relative urls.
if url.startswith('//'):
url = '/%%2F%s' % url[2:]
return url
# lookup_view can be URL label, or dotted path, or callable, Any of
Variable | Value |
---|---|
.0 | <listiterator object at 0xd1e048c> |
k | 'url' |
v | u'projects/cycle-of-songs-news/revelation-rock-gospel-choir-fundraiser-concert-on-saturday-86th-june/' |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/utils/functional.py
in wrapper
"""
@wraps(func)
def wrapper(*args, **kwargs):
for arg in list(args) + list(six.itervalues(kwargs)):
if isinstance(arg, Promise):
break
else:
return func(*args, **kwargs)...
return lazy(func, *resultclasses)(*args, **kwargs)
return wrapper
empty = object()
Variable | Value |
---|---|
arg | u'projects/cycle-of-songs-news/revelation-rock-gospel-choir-fundraiser-concert-on-saturday-86th-june/' |
args | (u'projects/cycle-of-songs-news/revelation-rock-gospel-choir-fundraiser-concert-on-saturday-86th-june/',) |
resultclasses | (<type 'unicode'>,) |
func | <function urlquote at 0xa5c910c> |
kwargs | {} |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/utils/http.py
in urlquote
def urlquote(url, safe='/'):
"""
A version of Python's urllib.quote() function that can operate on unicode
strings. The url is first UTF-8 encoded before quoting. The returned string
can safely be used as part of an argument to a subsequent iri_to_uri() call
without double-quoting occurring.
"""
return force_text(quote(force_str(url), force_str(safe)))...
urlquote = allow_lazy(urlquote, six.text_type)
def urlquote_plus(url, safe=''):
"""
A version of Python's urllib.quote_plus() function that can operate on
Variable | Value |
---|---|
url | u'projects/cycle-of-songs-news/revelation-rock-gospel-choir-fundraiser-concert-on-saturday-86th-june/' |
safe | u'/' |
/var/www/Envs/foiresearch/local/lib/python2.7/site-packages/django/utils/encoding.py
in force_bytes
"""
Similar to smart_bytes, except that lazy instances are resolved to
strings, rather than kept as lazy objects.
If strings_only is True, don't convert (some) non-string-like objects.
"""
# Handle the common case first for performance reasons.
if isinstance(s, bytes):...
if encoding == 'utf-8':
return s
else:
return s.decode('utf-8', errors).encode(encoding, errors)
if strings_only and is_protected_type(s):
return s
Variable | Value |
---|---|
s | u'projects/cycle-of-songs-news/revelation-rock-gospel-choir-fundraiser-concert-on-saturday-86th-june/' |
strings_only | False |
errors | u'strict' |
encoding | u'utf-8' |
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.