Cannot resolve keyword u'dataless_change' into field. Choices are: Change, data, data_id, date_entered, description, ends_age, gender, gene, gene_id, hide, id, identifier, image, name, organism, organism_id, people, process_measured, process_measured_id, properties, starts_age, time_measure, tissues, type
Request Method: | GET |
---|---|
Request URL: | https://ageing-map.org/bibliography/entry/2655/?sort=data |
Django Version: | 1.8 |
Exception Type: | FieldError |
Exception Value: | Cannot resolve keyword u'dataless_change' into field. Choices are: Change, data, data_id, date_entered, description, ends_age, gender, gene, gene_id, hide, id, identifier, image, name, organism, organism_id, people, process_measured, process_measured_id, properties, starts_age, time_measure, tissues, type |
Exception Location: | /srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/db/models/sql/query.py in names_to_path, line 1386 |
Python Executable: | /usr/local/bin/uwsgi |
Python Version: | 2.7.17 |
Python Path: | ['/srv/www/beta.ageing-map.org/', '.', '', '/srv/www/ageing-map.org/env/lib/python2.7', '/srv/www/ageing-map.org/env/lib/python2.7/plat-i386-linux-gnu', '/srv/www/ageing-map.org/env/lib/python2.7/lib-tk', '/srv/www/ageing-map.org/env/lib/python2.7/lib-old', '/srv/www/ageing-map.org/env/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-i386-linux-gnu', '/usr/lib/python2.7/lib-tk', '/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages', '/srv/www/ageing-map.org/env/lib/python2.7/site-packages', '/srv/www/beta.ageing-map.org/daa/lib'] |
Server time: | Tue, 19 Mar 2024 03:01:04 +0000 |
In template /srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django_tables2/templates/django_tables2/table.html
, error at line 24
14 | {% else %} |
---|---|
15 | <th {{ column.attrs.th.as_html }}>{{ column.header }}</th> |
16 | {% endif %} |
17 | {% endfor %} |
18 | </tr> |
19 | </thead> |
20 | {% endif %} |
21 | {% endblock table.thead %} |
22 | {% block table.tbody %} |
23 | <tbody> |
24 | {% for row in table.page.object_list|default:table.rows %} {# support pagination #} |
25 | {% block table.tbody.row %} |
26 | <tr {{ row.attrs.as_html }}> |
27 | {% for column, cell in row.items %} |
28 | <td {{ column.attrs.td.as_html }}>{% if column.localize == None %}{{ cell }}{% else %}{% if column.localize %}{{ cell|localize }}{% else %}{{ cell|unlocalize }}{% endif %}{% endif %}</td> |
29 | {% endfor %} |
30 | </tr> |
31 | {% endblock table.tbody.row %} |
32 | {% empty %} |
33 | {% if table.empty_text %} |
34 | {% block table.tbody.empty_text %} |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/core/handlers/base.py
in get_response
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
wrapped_callback = self.make_view_atomic(callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)...
except Exception as e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
e | FieldError(u"Cannot resolve keyword u'dataless_change' into field. Choices are: Change, data, data_id, date_entered, description, ends_age, gender, gene, gene_id, hide, id, identifier, image, name, organism, organism_id, people, process_measured, process_measured_id, properties, starts_age, time_measure, tissues, type",) |
callback_args | () |
resolver_match | ResolverMatch(func=daa.django_libage.views.reference, args=(), kwargs={'identifier': u'2655'}, url_name=entry, app_name=None, namespaces=['libage']) |
middleware_method | <bound method DebugToolbarMiddleware.process_view of <debug_toolbar.middleware.DebugToolbarMiddleware object at 0xf39ed06c>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0xf4356aac> |
request | "<WSGIRequest\npath:/bibliography/entry/2655/,\nGET:<QueryDict: {u'sort': [u'data']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'dRNgygUBcVQUnS8du1YV6AmrRH7JykfE',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'ageing-map.org',\n 'HTTP_REFERER': 'http://ageing-map.org/bibliography/entry/2655/?sort=data',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/bibliography/entry/2655/',\n 'QUERY_STRING': 'sort=data',\n 'REMOTE_ADDR': '54.221.159.188',\n 'REMOTE_PORT': '39060',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/bibliography/entry/2655/?sort=data',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'www.ageing-map.org',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'maglab',\n 'uwsgi.version': '2.0.15',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0xf56141d8>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0xf33b3b90>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
callback | <function reference at 0xf3771bc4> |
wrapped_callback | <function reference at 0xf3771bc4> |
resolver | <RegexURLResolver 'daa.urls' (None:None) ^/> |
callback_kwargs | {'identifier': u'2655'} |
response | None |
urlconf | 'daa.urls' |
/srv/www/beta.ageing-map.org/daa/django_libage/views.py
in reference
table.paginate(page=request.GET.get('page', 1))
resp = render(request, 'entry.html', {
'title': 'The Digital Ageing Atlas | '+results['reference'],
'ref': results['reference'],
'species_options': generate_species_options(request),
'table': table,
'libage_url': settings.LIBAGE_URL,
'use_sidebar': True, #show_sidebar(request),...
})
return resp
def _search_count(term):
"""
Variable | Value |
---|---|
url | 'http://la.ageing-map.org/api/details/daa/2655/' |
request | "<WSGIRequest\npath:/bibliography/entry/2655/,\nGET:<QueryDict: {u'sort': [u'data']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'dRNgygUBcVQUnS8du1YV6AmrRH7JykfE',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'ageing-map.org',\n 'HTTP_REFERER': 'http://ageing-map.org/bibliography/entry/2655/?sort=data',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/bibliography/entry/2655/',\n 'QUERY_STRING': 'sort=data',\n 'REMOTE_ADDR': '54.221.159.188',\n 'REMOTE_PORT': '39060',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/bibliography/entry/2655/?sort=data',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'www.ageing-map.org',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'maglab',\n 'uwsgi.version': '2.0.15',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0xf56141d8>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0xf33b3b90>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
results | {u'citations': [u'DAA827', u'DAA830', u'DAA826', u'DAA733', u'DAA654', u'DAA794', u'DAA815', u'DAA816', u'DAA817', u'DAA818', u'DAA819', u'DAA834', u'DAA839', u'DAA840', u'DAA845', u'DAA846', u'DAA847', u'DAA848', u'DAA651', u'DAA652', u'DAA653', u'DAA831', u'DAA657'], u'reference': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', u'tags': []} |
generate_species_options | <function generate_species_options at 0xf33d41b4> |
show_sidebar | <function show_sidebar at 0xf33d41ec> |
table | <daa.atlas.tables.ChangeTable object at 0xf28c588c> |
identifier | u'2655' |
changes | [<Change: DAA815: Alveolar duct size increases>, <Change: DAA845: Atrophy of all four layers of large intestine>, <Change: DAA839: Atrophy of mucosal lining in small intestine>, <Change: DAA653: Bone becomes more brittle, less flexible>, <Change: DAA651: Bone porosity increases>, <Change: DAA848: Calcium absorption in intestine decreases>, <Change: DAA830: Diminishing of glandular secretions>, <Change: DAA654: Fractures are cleaner>, <Change: DAA834: Gastric secretions diminish>, <Change: DAA847: Increase in incidence of diverticulosis>, <Change: DAA819: Maximum volume of air in lungs decreases>, <Change: DAA652: Mineralization of bone tissue increases>, <Change: DAA831: Mouth becomes drier>, <Change: DAA733: Neurotransmitter and neuro receptor concentrations are altered>, <Change: DAA816: Number of alveoli decreases>, <Change: DAA657: Osteoarthritis>, <Change: DAA840: Reduction in small intestine absorption rate>, <Change: DAA827: Slowing down of peristaltic motion in alimentary canal>, <Change: DAA794: Ventilatory rate at maximum exertion decreases>, <Change: DAA846: Weakening of intestinal wall>, '...(remaining elements truncated)...'] |
response | '{"citations": ["DAA827", "DAA830", "DAA826", "DAA733", "DAA654", "DAA794", "DAA815", "DAA816", "DAA817", "DAA818", "DAA819", "DAA834", "DAA839", "DAA840", "DAA845", "DAA846", "DAA847", "DAA848", "DAA651", "DAA652", "DAA653", "DAA831", "DAA657"], "reference": "Whitbourne, S. K. (1985) \\"<b>The Aging Body: Physiological Changes and Psychological Consequences</b>\\" ", "tags": []}' |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/shortcuts.py
in render
if (context_instance is _context_instance_undefined
and current_app is _current_app_undefined
and dirs is _dirs_undefined
and dictionary is _dictionary_undefined):
# No deprecated arguments were passed - use the new code path
# In Django 2.0, request should become a positional argument.
content = loader.render_to_string(
template_name, context, request=request, using=using)...
else:
# Some deprecated arguments were passed - use the legacy code path
if context_instance is not _context_instance_undefined:
if current_app is not _current_app_undefined:
raise ValueError('If you provide a context_instance you must '
Variable | Value |
---|---|
dirs | <object object at 0xf4cdb2a0> |
status | None |
content_type | None |
dictionary | <object object at 0xf4cdb298> |
template_name | 'entry.html' |
current_app | <object object at 0xf4cdb170> |
request | "<WSGIRequest\npath:/bibliography/entry/2655/,\nGET:<QueryDict: {u'sort': [u'data']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'dRNgygUBcVQUnS8du1YV6AmrRH7JykfE',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'ageing-map.org',\n 'HTTP_REFERER': 'http://ageing-map.org/bibliography/entry/2655/?sort=data',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/bibliography/entry/2655/',\n 'QUERY_STRING': 'sort=data',\n 'REMOTE_ADDR': '54.221.159.188',\n 'REMOTE_PORT': '39060',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/bibliography/entry/2655/?sort=data',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'www.ageing-map.org',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'maglab',\n 'uwsgi.version': '2.0.15',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0xf56141d8>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0xf33b3b90>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
context_instance | <object object at 0xf4cdb290> |
context | {'libage_url': 'http://la.ageing-map.org', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'use_sidebar': True} |
using | None |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/template/loader.py
in render_to_string
and dirs is _dirs_undefined
and dictionary is _dictionary_undefined):
# No deprecated arguments were passed - use the new code path
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)...
else:
# Some deprecated arguments were passed - use the legacy code path
for engine in _engine_list(using):
try:
# This is required for deprecating properly arguments specific
Variable | Value |
---|---|
dirs | <object object at 0xf4cdb2a0> |
template | <django.template.backends.django.Template object at 0xf23b7d4c> |
dictionary | <object object at 0xf4cdb298> |
template_name | 'entry.html' |
request | "<WSGIRequest\npath:/bibliography/entry/2655/,\nGET:<QueryDict: {u'sort': [u'data']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'dRNgygUBcVQUnS8du1YV6AmrRH7JykfE',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'ageing-map.org',\n 'HTTP_REFERER': 'http://ageing-map.org/bibliography/entry/2655/?sort=data',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/bibliography/entry/2655/',\n 'QUERY_STRING': 'sort=data',\n 'REMOTE_ADDR': '54.221.159.188',\n 'REMOTE_PORT': '39060',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/bibliography/entry/2655/?sort=data',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'www.ageing-map.org',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'maglab',\n 'uwsgi.version': '2.0.15',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0xf56141d8>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0xf33b3b90>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
context_instance | <object object at 0xf4cdb290> |
context | {'libage_url': 'http://la.ageing-map.org', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'use_sidebar': True} |
using | None |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/template/backends/django.py
in render
warnings.warn(
"render() must be called with a dict, not a Context.",
RemovedInDjango20Warning, stacklevel=2)
else:
context = make_context(context, request)
return self.template.render(context)...
Variable | Value |
---|---|
self | <django.template.backends.django.Template object at 0xf23b7d4c> |
request | "<WSGIRequest\npath:/bibliography/entry/2655/,\nGET:<QueryDict: {u'sort': [u'data']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'dRNgygUBcVQUnS8du1YV6AmrRH7JykfE',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'ageing-map.org',\n 'HTTP_REFERER': 'http://ageing-map.org/bibliography/entry/2655/?sort=data',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/bibliography/entry/2655/',\n 'QUERY_STRING': 'sort=data',\n 'REMOTE_ADDR': '54.221.159.188',\n 'REMOTE_PORT': '39060',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/bibliography/entry/2655/?sort=data',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'www.ageing-map.org',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'maglab',\n 'uwsgi.version': '2.0.15',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0xf56141d8>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0xf33b3b90>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
context | [{'False': False, 'None': None, 'True': True}, {}, {'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'use_sidebar': True, 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'libage_url': 'http://la.ageing-map.org'}] |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
with context.bind_template(self):
return self._render(context)...
else:
return self._render(context)
finally:
context.render_context.pop()
Variable | Value |
---|---|
self | <django.template.base.Template object at 0xf28c5bec> |
context | [{'False': False, 'None': None, 'True': True}, {}, {'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'use_sidebar': True, 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'libage_url': 'http://la.ageing-map.org'}] |
/srv/www/ageing-map.org/env/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 0xf28c5bec> |
context | [{'False': False, 'None': None, 'True': True}, {}, {'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'use_sidebar': True, 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'libage_url': 'http://la.ageing-map.org'}] |
/srv/www/ageing-map.org/env/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 'base.html'> |
self | [<ExtendsNode: extends 'base.html'>] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {}, {'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'use_sidebar': True, 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'libage_url': 'http://la.ageing-map.org'}] |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <ExtendsNode: extends 'base.html'> |
self | [<ExtendsNode: extends 'base.html'>] |
e | FieldError(u"Cannot resolve keyword u'dataless_change' into field. Choices are: Change, data, data_id, date_entered, description, ends_age, gender, gene, gene_id, hide, id, identifier, image, name, organism, organism_id, people, process_measured, process_measured_id, properties, starts_age, time_measure, tissues, type",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'use_sidebar': True, 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'libage_url': 'http://la.ageing-map.org'}] |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
blocks = {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 | <Block Node: title. Contents: [<Variable Node: title|striptags>, <Text Node: ' | The Digital Ageing Atl'>]> |
blocks | {u'content': <Block Node: content. Contents: []>, u'extrahead': <Block Node: extrahead. Contents: []>, u'extralibs': <Block Node: extralibs. Contents: []>, u'footer': <Block Node: footer. Contents: []>, u'header': <Block Node: header. Contents: []>, u'meta_description': <Block Node: meta_description. Contents: [<Variable Node: meta_description|default:'The Digital Ageing Atlas, the portal of ageing related changes'>]>, u'overridestyles': <Block Node: overridestyles. Contents: []>, u'postjs': <Block Node: postjs. Contents: []>, u'prejs': <Block Node: prejs. Contents: []>, u'sidebar': <Block Node: sidebar. Contents: [<Text Node: ' '>]>, u'title': <Block Node: title. Contents: [<Variable Node: title|striptags>, <Text Node: ' | The Digital Ageing Atl'>]>} |
block_context | <django.template.loader_tags.BlockContext object at 0xf21bfdec> |
context | [{'False': False, 'None': None, 'True': True}, {}, {'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'use_sidebar': True, 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'libage_url': 'http://la.ageing-map.org'}] |
compiled_parent | <django.template.base.Template object at 0xf23b76cc> |
self | <ExtendsNode: extends 'base.html'> |
/srv/www/ageing-map.org/env/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 0xf23b76cc> |
context | [{'False': False, 'None': None, 'True': True}, {}, {'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'use_sidebar': True, 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'libage_url': 'http://la.ageing-map.org'}] |
/srv/www/ageing-map.org/env/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: []> |
bit | u'\n\t\t\t\t ' |
bits | [u'<!doctype html>\n<html class="no-js" lang="en">\n<head>\n\t<meta charset="utf-8">\n\t<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">\n\n\t<title>', u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "The Aging Body: Physiological Changes and Psychological Consequences" | The Digital Ageing Atlas', u'</title>\n\t<meta name="description" content="', u'The Digital Ageing Atlas, the portal of ageing related changes', u'">\n\t<meta name="viewport" content="width=device-width,initial-scale=1">\n\n\t<link rel="shortcut icon" href="', u'/static/', u'images/favicon.ico" />\n\t<link rel="stylesheet" href="', u'/static/', u'css/grids-min.css">\n\t<link rel="stylesheet" href="', u'/static/', u'css/style.css" class="cssfx">\n\t<link rel="stylesheet" href="', u'/static/', u'css/libage.css">\n\t', u'', u'\n ', u'', u'\n\t<script src="', u'/static/', u'js/libs/respond.min.js"></script>\n\t<!--[if lt IE 9]>\n\t\t<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>\n\t\t<script src="', u'/static/', u'js/libs/cssfx.min.js"></script>\n\t<![endif]-->\n</head>\n<body>\n\t<div id="wrap">\n\t\t<div id="container" class="yui3-g">\n\t\t\t<header id="page-header" class="yui3-u-1">\n\t\t\t\t<div class="daa-logo-mid yui3-u-5-8"><a href="/">The Digital Ageing Atlas</a></div>\n\t\t\t\t<div class="yui3-u-3-8 yui-tweak header-right">\n\t\t\t\t\t<ul class="header-navigation yui3-u-1-2 yui-tweak">\n\t\t\t\t\t\t<li class="header-navigation-title">Navigation</li>\n\t\t\t\t\t\t<li><a href="', u'/atlas/about/', u'">About</a></li>\n\t\t\t\t\t\t<li><a href="', u'/atlas/help/', u'">Help</a></li>\n\t\t\t\t\t\t<li><a href="', u'/atlas/downloads/', u'">Downloads</a></li>\n\t\t\t\t\t\t<li><a href="', u'/atlas/contact/', u'">Contact or contribute</a></li>\n\t\t\t\t\t</ul>\n\t\t\t\t\t<form method="get" action="', u'/atlas/results/', u'" class="header-search yui3-u-1-2 yui-tweak">\n\t\t\t\t\t\t<span class="header-search-title">Search</span>\n\t\t\t\t\t\t<input class="header-search-search" type="search" placeholder="e.g. IGF1, heart, wrinkles" name="s" value="', u'', u'" />\n\t\t\t\t\t\t<div class="header-search-toggles">\n\t\t\t\t\t\t\t', u'<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', u'\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<button class="button" type="submit">Search</button>\n <a class="anatomical-model-nav-link" href="', u'/atlas/anatomical/', u'">Use anatomical model</a>\n\t\t\t\t\t</form>\n\t\t\t\t</div>\n\t\t\t', u'', u'\n\t\t\t</header>\n\t\t\t<div id="main" role="main" class="yui3-u-1">\n\t\t\t ', u'<div id="main-content" class="yui3-u-4-5">', u'\n\t\t\t\t '] |
self | [<Text Node: '<!doctype html> <html cla'>, <Block Node: title. Contents: [<Variable Node: title|striptags>, <Text Node: ' | The Digital Ageing Atl'>]>, <Text Node: '</title> <meta name="des'>, <Block Node: meta_description. Contents: [<Variable Node: meta_description|default:'The Digital Ageing Atlas, the portal of ageing related changes'>]>, <Text Node: '"> <meta name="viewport"'>, <Variable Node: STATIC_URL>, <Text Node: 'images/favicon.ico" /> <'>, <Variable Node: STATIC_URL>, <Text Node: 'css/grids-min.css"> <lin'>, <Variable Node: STATIC_URL>, <Text Node: 'css/style.css" class="css'>, <Variable Node: STATIC_URL>, <Text Node: 'css/libage.css"> '>, <Block Node: overridestyles. Contents: []>, <Text Node: ' '>, <Block Node: extrahead. Contents: []>, <Text Node: ' <script src="'>, <Variable Node: STATIC_URL>, <Text Node: 'js/libs/respond.min.js"><'>, <Variable Node: STATIC_URL>, <Text Node: 'js/libs/cssfx.min.js"></s'>, <django.template.defaulttags.URLNode object at 0xf26fe6ac>, <Text Node: '">About</a></li> <l'>, <django.template.defaulttags.URLNode object at 0xf26fe72c>, <Text Node: '">Help</a></li> <li'>, <django.template.defaulttags.URLNode object at 0xf26fedec>, <Text Node: '">Downloads</a></li> '>, <django.template.defaulttags.URLNode object at 0xf26fedac>, <Text Node: '">Contact or contribute</'>, <django.template.defaulttags.URLNode object at 0xf22cef4c>, <Text Node: '" class="header-search yu'>, <Variable Node: s>, <Text Node: '" /> <div class="he'>, <Variable Node: species_options>, <Text Node: ' </div> <butt'>, <django.template.defaulttags.URLNode object at 0xf1d6528c>, <Text Node: '">Use anatomical model</a'>, <Block Node: header. Contents: []>, <Text Node: ' </header> <div id='>, <IfNode>, <Text Node: ' '>, <Block Node: content. Contents: []>, <Text Node: ' </div> '>, <IfNode>, <Text Node: ' </div> </div> </di'>, <Block Node: footer. Contents: []>, <Text Node: ' <p>'>, <Variable Node: version>, <Text Node: ' <a href="/static/downloa'>, <Block Node: prejs. Contents: []>, <Text Node: ' <script src="'>, <Variable Node: STATIC_URL>, <Text Node: 'js/libs/jquery-1.6.4.min.'>, <Block Node: extralibs. Contents: []>, <Text Node: ' <script src="'>, <Variable Node: STATIC_URL>, <Text Node: 'js/ui.js"></script> '>, <Block Node: postjs. Contents: []>, <Text Node: ' <script> (func'>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'use_sidebar': True, 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'libage_url': 'http://la.ageing-map.org'}] |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <Block Node: content. Contents: []> |
self | [<Text Node: '<!doctype html> <html cla'>, <Block Node: title. Contents: [<Variable Node: title|striptags>, <Text Node: ' | The Digital Ageing Atl'>]>, <Text Node: '</title> <meta name="des'>, <Block Node: meta_description. Contents: [<Variable Node: meta_description|default:'The Digital Ageing Atlas, the portal of ageing related changes'>]>, <Text Node: '"> <meta name="viewport"'>, <Variable Node: STATIC_URL>, <Text Node: 'images/favicon.ico" /> <'>, <Variable Node: STATIC_URL>, <Text Node: 'css/grids-min.css"> <lin'>, <Variable Node: STATIC_URL>, <Text Node: 'css/style.css" class="css'>, <Variable Node: STATIC_URL>, <Text Node: 'css/libage.css"> '>, <Block Node: overridestyles. Contents: []>, <Text Node: ' '>, <Block Node: extrahead. Contents: []>, <Text Node: ' <script src="'>, <Variable Node: STATIC_URL>, <Text Node: 'js/libs/respond.min.js"><'>, <Variable Node: STATIC_URL>, <Text Node: 'js/libs/cssfx.min.js"></s'>, <django.template.defaulttags.URLNode object at 0xf26fe6ac>, <Text Node: '">About</a></li> <l'>, <django.template.defaulttags.URLNode object at 0xf26fe72c>, <Text Node: '">Help</a></li> <li'>, <django.template.defaulttags.URLNode object at 0xf26fedec>, <Text Node: '">Downloads</a></li> '>, <django.template.defaulttags.URLNode object at 0xf26fedac>, <Text Node: '">Contact or contribute</'>, <django.template.defaulttags.URLNode object at 0xf22cef4c>, <Text Node: '" class="header-search yu'>, <Variable Node: s>, <Text Node: '" /> <div class="he'>, <Variable Node: species_options>, <Text Node: ' </div> <butt'>, <django.template.defaulttags.URLNode object at 0xf1d6528c>, <Text Node: '">Use anatomical model</a'>, <Block Node: header. Contents: []>, <Text Node: ' </header> <div id='>, <IfNode>, <Text Node: ' '>, <Block Node: content. Contents: []>, <Text Node: ' </div> '>, <IfNode>, <Text Node: ' </div> </div> </di'>, <Block Node: footer. Contents: []>, <Text Node: ' <p>'>, <Variable Node: version>, <Text Node: ' <a href="/static/downloa'>, <Block Node: prejs. Contents: []>, <Text Node: ' <script src="'>, <Variable Node: STATIC_URL>, <Text Node: 'js/libs/jquery-1.6.4.min.'>, <Block Node: extralibs. Contents: []>, <Text Node: ' <script src="'>, <Variable Node: STATIC_URL>, <Text Node: 'js/ui.js"></script> '>, <Block Node: postjs. Contents: []>, <Text Node: ' <script> (func'>] |
e | FieldError(u"Cannot resolve keyword u'dataless_change' into field. Choices are: Change, data, data_id, date_entered, description, ends_age, gender, gene, gene_id, hide, id, identifier, image, name, organism, organism_id, people, process_measured, process_measured_id, properties, starts_age, time_measure, tissues, type",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'use_sidebar': True, 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'libage_url': 'http://la.ageing-map.org'}] |
/srv/www/ageing-map.org/env/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):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
push | <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0xf21bfdec> |
block | <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]> |
context | [{'False': False, 'None': None, 'True': True}, {}, {'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'use_sidebar': True, 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'libage_url': 'http://la.ageing-map.org'}] |
self | <Block Node: content. Contents: []> |
/srv/www/ageing-map.org/env/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_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c> |
bit | u' entries)</h1>\n </div>\t\n\n\t<div class="yui3-u-1 details-column large-column">\n <div>\n\t\t\t<h2>Changes associated with this reference</h2>\n\t\t\t' |
bits | [u'\n\t\n <div class="yui3-u-1 details-header reference-bg">\n <h1>', u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', u' (', u'21', u' entries)</h1>\n </div>\t\n\n\t<div class="yui3-u-1 details-column large-column">\n <div>\n\t\t\t<h2>Changes associated with this reference</h2>\n\t\t\t'] |
self | [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>] |
context | [{'False': False, 'None': None, 'True': True}, {}, {'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'use_sidebar': True, 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'libage_url': 'http://la.ageing-map.org'}] |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c> |
self | [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>] |
e | FieldError(u"Cannot resolve keyword u'dataless_change' into field. Choices are: Change, data, data_id, date_entered, description, ends_age, gender, gene, gene_id, hide, id, identifier, image, name, organism, organism_id, people, process_measured, process_measured_id, properties, starts_age, time_measure, tissues, type",) |
context | [{'False': False, 'None': None, 'True': True}, {}, {'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'use_sidebar': True, 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'libage_url': 'http://la.ageing-map.org'}] |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django_tables2/templatetags/django_tables2.py
in render
# HACK:
# TemplateColumn benefits from being able to use the context
# that the table is rendered in. The current way this is
# achieved is to temporarily attach the context to the table,
# which TemplateColumn then looks for and uses.
table.context = context
table.before_render(request)
return template.render(context.flatten())...
finally:
del table.context
context.pop()
@register.tag
Variable | Value |
---|---|
table | <daa.atlas.tables.ChangeTable object at 0xf28c588c> |
self | <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c> |
request | "<WSGIRequest\npath:/bibliography/entry/2655/,\nGET:<QueryDict: {u'sort': [u'data']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'dRNgygUBcVQUnS8du1YV6AmrRH7JykfE',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTPS': 'on',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'ageing-map.org',\n 'HTTP_REFERER': 'http://ageing-map.org/bibliography/entry/2655/?sort=data',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/bibliography/entry/2655/',\n 'QUERY_STRING': 'sort=data',\n 'REMOTE_ADDR': '54.221.159.188',\n 'REMOTE_PORT': '39060',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'https',\n 'REQUEST_URI': '/bibliography/entry/2655/?sort=data',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'www.ageing-map.org',\n 'SERVER_PORT': '443',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'maglab',\n 'uwsgi.version': '2.0.15',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0xf56141d8>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0xf33b3b90>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'https',\n 'wsgi.version': (1, 0)}>" |
template | <django.template.backends.django.Template object at 0xf26fb06c> |
context | [{'False': False, 'None': None, 'True': True}, {}, {'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'use_sidebar': True, 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'libage_url': 'http://la.ageing-map.org'}] |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/template/backends/django.py
in render
warnings.warn(
"render() must be called with a dict, not a Context.",
RemovedInDjango20Warning, stacklevel=2)
else:
context = make_context(context, request)
return self.template.render(context)...
Variable | Value |
---|---|
self | <django.template.backends.django.Template object at 0xf26fb06c> |
request | None |
context | [{'False': False, 'None': None, 'True': True}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]>, 'None': None, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xf23b792c>, u'request': <WSGIRequest: GET '/bibliography/entry/2655/?sort=data'>, u'csrf_token': <SimpleLazyObject: <function _get_val at 0xf1d4a9cc>>, u'STATIC_URL': '/static/', 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: <function <lambda> at 0xf2b6810c>>, u'LANGUAGE_CODE': 'en-gb', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'use_sidebar': True, 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'False': False, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xf235170c>, u'TIME_ZONE': 'GMT', 'version': '2017-12-17T20:51:06.887532', 'libage_url': 'http://la.ageing-map.org', 'True': True, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/template/base.py
in render
def render(self, context):
"Display stage -- can be called many times"
context.render_context.push()
try:
if context.template is None:
with context.bind_template(self):
return self._render(context)...
else:
return self._render(context)
finally:
context.render_context.pop()
Variable | Value |
---|---|
self | <django.template.base.Template object at 0xf26fb36c> |
context | [{'False': False, 'None': None, 'True': True}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]>, 'None': None, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xf23b792c>, u'request': <WSGIRequest: GET '/bibliography/entry/2655/?sort=data'>, u'csrf_token': <SimpleLazyObject: <function _get_val at 0xf1d4a9cc>>, u'STATIC_URL': '/static/', 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: <function <lambda> at 0xf2b6810c>>, u'LANGUAGE_CODE': 'en-gb', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'use_sidebar': True, 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'False': False, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xf235170c>, u'TIME_ZONE': 'GMT', 'version': '2017-12-17T20:51:06.887532', 'libage_url': 'http://la.ageing-map.org', 'True': True, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/srv/www/ageing-map.org/env/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 0xf26fb36c> |
context | [{'False': False, 'None': None, 'True': True}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]>, 'None': None, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xf23b792c>, u'request': <WSGIRequest: GET '/bibliography/entry/2655/?sort=data'>, u'csrf_token': <SimpleLazyObject: <function _get_val at 0xf1d4a9cc>>, u'STATIC_URL': '/static/', 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: <function <lambda> at 0xf2b6810c>>, u'LANGUAGE_CODE': 'en-gb', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'use_sidebar': True, 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'False': False, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xf235170c>, u'TIME_ZONE': 'GMT', 'version': '2017-12-17T20:51:06.887532', 'libage_url': 'http://la.ageing-map.org', 'True': True, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/srv/www/ageing-map.org/env/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 'django_tables2/table.html'> |
self | [<ExtendsNode: extends 'django_tables2/table.html'>] |
bits | [] |
context | [{'False': False, 'None': None, 'True': True}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]>, 'None': None, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xf23b792c>, u'request': <WSGIRequest: GET '/bibliography/entry/2655/?sort=data'>, u'csrf_token': <SimpleLazyObject: <function _get_val at 0xf1d4a9cc>>, u'STATIC_URL': '/static/', 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: <function <lambda> at 0xf2b6810c>>, u'LANGUAGE_CODE': 'en-gb', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'use_sidebar': True, 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'False': False, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xf235170c>, u'TIME_ZONE': 'GMT', 'version': '2017-12-17T20:51:06.887532', 'libage_url': 'http://la.ageing-map.org', 'True': True, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <ExtendsNode: extends 'django_tables2/table.html'> |
self | [<ExtendsNode: extends 'django_tables2/table.html'>] |
e | FieldError(u"Cannot resolve keyword u'dataless_change' into field. Choices are: Change, data, data_id, date_entered, description, ends_age, gender, gene, gene_id, hide, id, identifier, image, name, organism, organism_id, people, process_measured, process_measured_id, properties, starts_age, time_measure, tissues, type",) |
context | [{'False': False, 'None': None, 'True': True}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]>, 'None': None, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xf23b792c>, u'request': <WSGIRequest: GET '/bibliography/entry/2655/?sort=data'>, u'csrf_token': <SimpleLazyObject: <function _get_val at 0xf1d4a9cc>>, u'STATIC_URL': '/static/', 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: <function <lambda> at 0xf2b6810c>>, u'LANGUAGE_CODE': 'en-gb', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'use_sidebar': True, 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'False': False, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xf235170c>, u'TIME_ZONE': 'GMT', 'version': '2017-12-17T20:51:06.887532', 'libage_url': 'http://la.ageing-map.org', 'True': True, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/template/loader_tags.py
in render
blocks = {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 0xf23a754c> |
blocks | {u'pagination': <Block Node: pagination. Contents: [<Text Node: ' <ul class="pagination"> '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' '>, <IfNode>, <Text Node: ' </ul> '>]>, u'pagination.cardinality': <Block Node: pagination.cardinality. Contents: [<Text Node: ' <li class="c'>, <django.templatetags.i18n.BlockTranslateNode object at 0xf33b678c>, <Text Node: ' </li> '>]>, u'pagination.next': <Block Node: pagination.next. Contents: [<Text Node: ' <li class="n'>, <django_tables2.templatetags.django_tables2.QuerystringNode object at 0xf33b624c>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0xf26fbaec>, <Text Node: '</a> </li> '>]>, u'pagination.previous': <Block Node: pagination.previous. Contents: [<Text Node: ' <li class="p'>, <django_tables2.templatetags.django_tables2.QuerystringNode object at 0xf27c53cc>, <Text Node: '">'>, <django.templatetags.i18n.TranslateNode object at 0xf23afe8c>, <Text Node: '</a> </li> '>]>, u'table': <Block Node: table. Contents: [<Text Node: ' <table'>, <IfNode>, <Text Node: '> '>, <Block Node: table.thead. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' '>, <Block Node: table.tbody. Contents: [<Text Node: ' <tbody> '>, <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4>, <Text Node: ' </tbody> '>]>, <Text Node: ' '>, <Block Node: table.tfoot. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </table> '>]>, u'table.tbody': <Block Node: table.tbody. Contents: [<Text Node: ' <tbody> '>, <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4>, <Text Node: ' </tbody> '>]>, u'table.tbody.empty_text': <Block Node: table.tbody.empty_text. Contents: [<Text Node: ' <tr><td colspan='>, <Variable Node: table.columns|length>, <Text Node: '">'>, <Variable Node: table.empty_text>, <Text Node: '</td></tr> '>]>, u'table.tbody.row': <Block Node: table.tbody.row. Contents: [<Text Node: ' <tr '>, <Variable Node: row.attrs.as_html>, <Text Node: '> '>, <For Node: for column, cell in row.items, tail_len: 5>, <Text Node: ' </tr> '>]>, u'table.tfoot': <Block Node: table.tfoot. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, u'table.thead': <Block Node: table.thead. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>} |
block_context | <django.template.loader_tags.BlockContext object at 0xf26fbb6c> |
context | [{'False': False, 'None': None, 'True': True}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]>, 'None': None, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xf23b792c>, u'request': <WSGIRequest: GET '/bibliography/entry/2655/?sort=data'>, u'csrf_token': <SimpleLazyObject: <function _get_val at 0xf1d4a9cc>>, u'STATIC_URL': '/static/', 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: <function <lambda> at 0xf2b6810c>>, u'LANGUAGE_CODE': 'en-gb', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'use_sidebar': True, 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'False': False, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xf235170c>, u'TIME_ZONE': 'GMT', 'version': '2017-12-17T20:51:06.887532', 'libage_url': 'http://la.ageing-map.org', 'True': True, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
compiled_parent | <django.template.base.Template object at 0xf2307f4c> |
self | <ExtendsNode: extends 'django_tables2/table.html'> |
/srv/www/ageing-map.org/env/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 0xf2307f4c> |
context | [{'False': False, 'None': None, 'True': True}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]>, 'None': None, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xf23b792c>, u'request': <WSGIRequest: GET '/bibliography/entry/2655/?sort=data'>, u'csrf_token': <SimpleLazyObject: <function _get_val at 0xf1d4a9cc>>, u'STATIC_URL': '/static/', 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: <function <lambda> at 0xf2b6810c>>, u'LANGUAGE_CODE': 'en-gb', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'use_sidebar': True, 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'False': False, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xf235170c>, u'TIME_ZONE': 'GMT', 'version': '2017-12-17T20:51:06.887532', 'libage_url': 'http://la.ageing-map.org', 'True': True, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/srv/www/ageing-map.org/env/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: table. Contents: [<Text Node: ' <table'>, <IfNode>, <Text Node: '> '>, <Block Node: table.thead. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' '>, <Block Node: table.tbody. Contents: [<Text Node: ' <tbody> '>, <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4>, <Text Node: ' </tbody> '>]>, <Text Node: ' '>, <Block Node: table.tfoot. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </table> '>]> |
bit | u'\n\n<div class="table-container">\n' |
bits | [u'', u'\n', u'', u'\n\n<div class="table-container">\n'] |
self | [<django.template.defaulttags.LoadNode object at 0xf23a754c>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xf2382f0c>, <Text Node: ' <div class="table-conta'>, <Block Node: table. Contents: [<Text Node: ' <table'>, <IfNode>, <Text Node: '> '>, <Block Node: table.thead. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' '>, <Block Node: table.tbody. Contents: [<Text Node: ' <tbody> '>, <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4>, <Text Node: ' </tbody> '>]>, <Text Node: ' '>, <Block Node: table.tfoot. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </table> '>]>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> '>] |
context | [{'False': False, 'None': None, 'True': True}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]>, 'None': None, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xf23b792c>, u'request': <WSGIRequest: GET '/bibliography/entry/2655/?sort=data'>, u'csrf_token': <SimpleLazyObject: <function _get_val at 0xf1d4a9cc>>, u'STATIC_URL': '/static/', 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: <function <lambda> at 0xf2b6810c>>, u'LANGUAGE_CODE': 'en-gb', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'use_sidebar': True, 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'False': False, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xf235170c>, u'TIME_ZONE': 'GMT', 'version': '2017-12-17T20:51:06.887532', 'libage_url': 'http://la.ageing-map.org', 'True': True, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <Block Node: table. Contents: [<Text Node: ' <table'>, <IfNode>, <Text Node: '> '>, <Block Node: table.thead. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' '>, <Block Node: table.tbody. Contents: [<Text Node: ' <tbody> '>, <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4>, <Text Node: ' </tbody> '>]>, <Text Node: ' '>, <Block Node: table.tfoot. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </table> '>]> |
self | [<django.template.defaulttags.LoadNode object at 0xf23a754c>, <Text Node: ' '>, <django.template.defaulttags.LoadNode object at 0xf2382f0c>, <Text Node: ' <div class="table-conta'>, <Block Node: table. Contents: [<Text Node: ' <table'>, <IfNode>, <Text Node: '> '>, <Block Node: table.thead. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' '>, <Block Node: table.tbody. Contents: [<Text Node: ' <tbody> '>, <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4>, <Text Node: ' </tbody> '>]>, <Text Node: ' '>, <Block Node: table.tfoot. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </table> '>]>, <Text Node: ' '>, <IfNode>, <Text Node: ' </div> '>] |
e | FieldError(u"Cannot resolve keyword u'dataless_change' into field. Choices are: Change, data, data_id, date_entered, description, ends_age, gender, gene, gene_id, hide, id, identifier, image, name, organism, organism_id, people, process_measured, process_measured_id, properties, starts_age, time_measure, tissues, type",) |
context | [{'False': False, 'None': None, 'True': True}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]>, 'None': None, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xf23b792c>, u'request': <WSGIRequest: GET '/bibliography/entry/2655/?sort=data'>, u'csrf_token': <SimpleLazyObject: <function _get_val at 0xf1d4a9cc>>, u'STATIC_URL': '/static/', 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: <function <lambda> at 0xf2b6810c>>, u'LANGUAGE_CODE': 'en-gb', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'use_sidebar': True, 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'False': False, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xf235170c>, u'TIME_ZONE': 'GMT', 'version': '2017-12-17T20:51:06.887532', 'libage_url': 'http://la.ageing-map.org', 'True': True, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/srv/www/ageing-map.org/env/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):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
push | <Block Node: table. Contents: [<Text Node: ' <table'>, <IfNode>, <Text Node: '> '>, <Block Node: table.thead. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' '>, <Block Node: table.tbody. Contents: [<Text Node: ' <tbody> '>, <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4>, <Text Node: ' </tbody> '>]>, <Text Node: ' '>, <Block Node: table.tfoot. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </table> '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0xf26fbb6c> |
block | <Block Node: table. Contents: [<Text Node: ' <table'>, <IfNode>, <Text Node: '> '>, <Block Node: table.thead. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' '>, <Block Node: table.tbody. Contents: [<Text Node: ' <tbody> '>, <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4>, <Text Node: ' </tbody> '>]>, <Text Node: ' '>, <Block Node: table.tfoot. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </table> '>]> |
context | [{'False': False, 'None': None, 'True': True}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]>, 'None': None, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xf23b792c>, u'request': <WSGIRequest: GET '/bibliography/entry/2655/?sort=data'>, u'csrf_token': <SimpleLazyObject: <function _get_val at 0xf1d4a9cc>>, u'STATIC_URL': '/static/', 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: <function <lambda> at 0xf2b6810c>>, u'LANGUAGE_CODE': 'en-gb', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'use_sidebar': True, 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'False': False, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xf235170c>, u'TIME_ZONE': 'GMT', 'version': '2017-12-17T20:51:06.887532', 'libage_url': 'http://la.ageing-map.org', 'True': True, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
self | <Block Node: table. Contents: [<Text Node: ' <table'>, <IfNode>, <Text Node: '> '>, <Block Node: table.thead. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' '>, <Block Node: table.tbody. Contents: [<Text Node: ' <tbody> '>, <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4>, <Text Node: ' </tbody> '>]>, <Text Node: ' '>, <Block Node: table.tfoot. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </table> '>]> |
/srv/www/ageing-map.org/env/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: table.tbody. Contents: [<Text Node: ' <tbody> '>, <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4>, <Text Node: ' </tbody> '>]> |
bit | u'\n ' |
bits | [u'\n<table', u' class="results-table"', u'>\n ', u'\n \n <thead>\n <tr>\n \n \n <th class="identifier orderable"><a href="?sort=identifier">Identifier</a></th>\n \n \n \n <th class="name orderable"><a href="?sort=name">Name</a></th>\n \n \n \n <th class="orderable type"><a href="?sort=type">Type</a></th>\n \n \n \n <th class="orderable tissues"><a href="?sort=tissues">Tissues</a></th>\n \n \n \n <th class="orderable organism"><a href="?sort=organism">Organism</a></th>\n \n \n \n <th class="gene orderable"><a href="?sort=gene">Gene</a></th>\n \n \n \n <th class="asc data orderable"><a href="?sort=-data">Data</a></th>\n \n \n \n <th class="actions">Actions</th>\n \n \n </tr>\n </thead>\n \n ', u'\n '] |
self | [<Text Node: ' <table'>, <IfNode>, <Text Node: '> '>, <Block Node: table.thead. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' '>, <Block Node: table.tbody. Contents: [<Text Node: ' <tbody> '>, <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4>, <Text Node: ' </tbody> '>]>, <Text Node: ' '>, <Block Node: table.tfoot. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </table> '>] |
context | [{'False': False, 'None': None, 'True': True}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]>, 'None': None, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xf23b792c>, u'request': <WSGIRequest: GET '/bibliography/entry/2655/?sort=data'>, u'csrf_token': <SimpleLazyObject: <function _get_val at 0xf1d4a9cc>>, u'STATIC_URL': '/static/', 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: <function <lambda> at 0xf2b6810c>>, u'LANGUAGE_CODE': 'en-gb', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'use_sidebar': True, 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'False': False, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xf235170c>, u'TIME_ZONE': 'GMT', 'version': '2017-12-17T20:51:06.887532', 'libage_url': 'http://la.ageing-map.org', 'True': True, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <Block Node: table.tbody. Contents: [<Text Node: ' <tbody> '>, <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4>, <Text Node: ' </tbody> '>]> |
self | [<Text Node: ' <table'>, <IfNode>, <Text Node: '> '>, <Block Node: table.thead. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' '>, <Block Node: table.tbody. Contents: [<Text Node: ' <tbody> '>, <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4>, <Text Node: ' </tbody> '>]>, <Text Node: ' '>, <Block Node: table.tfoot. Contents: [<Text Node: ' '>, <IfNode>, <Text Node: ' '>]>, <Text Node: ' </table> '>] |
e | FieldError(u"Cannot resolve keyword u'dataless_change' into field. Choices are: Change, data, data_id, date_entered, description, ends_age, gender, gene, gene_id, hide, id, identifier, image, name, organism, organism_id, people, process_measured, process_measured_id, properties, starts_age, time_measure, tissues, type",) |
context | [{'False': False, 'None': None, 'True': True}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]>, 'None': None, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xf23b792c>, u'request': <WSGIRequest: GET '/bibliography/entry/2655/?sort=data'>, u'csrf_token': <SimpleLazyObject: <function _get_val at 0xf1d4a9cc>>, u'STATIC_URL': '/static/', 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: <function <lambda> at 0xf2b6810c>>, u'LANGUAGE_CODE': 'en-gb', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'use_sidebar': True, 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'False': False, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xf235170c>, u'TIME_ZONE': 'GMT', 'version': '2017-12-17T20:51:06.887532', 'libage_url': 'http://la.ageing-map.org', 'True': True, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/srv/www/ageing-map.org/env/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):
if not hasattr(self, 'context'):
Variable | Value |
---|---|
push | <Block Node: table.tbody. Contents: [<Text Node: ' <tbody> '>, <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4>, <Text Node: ' </tbody> '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0xf26fbb6c> |
block | <Block Node: table.tbody. Contents: [<Text Node: ' <tbody> '>, <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4>, <Text Node: ' </tbody> '>]> |
context | [{'False': False, 'None': None, 'True': True}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]>, 'None': None, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xf23b792c>, u'request': <WSGIRequest: GET '/bibliography/entry/2655/?sort=data'>, u'csrf_token': <SimpleLazyObject: <function _get_val at 0xf1d4a9cc>>, u'STATIC_URL': '/static/', 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: <function <lambda> at 0xf2b6810c>>, u'LANGUAGE_CODE': 'en-gb', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'use_sidebar': True, 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'False': False, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xf235170c>, u'TIME_ZONE': 'GMT', 'version': '2017-12-17T20:51:06.887532', 'libage_url': 'http://la.ageing-map.org', 'True': True, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
self | <Block Node: table.tbody. Contents: [<Text Node: ' <tbody> '>, <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4>, <Text Node: ' </tbody> '>]> |
/srv/www/ageing-map.org/env/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 row in table.page.object_list|default:table.rows, tail_len: 4> |
bit | u'\n <tbody>\n ' |
bits | [u'\n <tbody>\n '] |
self | [<Text Node: ' <tbody> '>, <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4>, <Text Node: ' </tbody> '>] |
context | [{'False': False, 'None': None, 'True': True}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]>, 'None': None, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xf23b792c>, u'request': <WSGIRequest: GET '/bibliography/entry/2655/?sort=data'>, u'csrf_token': <SimpleLazyObject: <function _get_val at 0xf1d4a9cc>>, u'STATIC_URL': '/static/', 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: <function <lambda> at 0xf2b6810c>>, u'LANGUAGE_CODE': 'en-gb', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'use_sidebar': True, 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'False': False, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xf235170c>, u'TIME_ZONE': 'GMT', 'version': '2017-12-17T20:51:06.887532', 'libage_url': 'http://la.ageing-map.org', 'True': True, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/template/debug.py
in render_node
if not hasattr(e, 'django_template_source'):
e.django_template_source = token.source
class DebugNodeList(NodeList):
def render_node(self, node, context):
try:
return node.render(context)...
except Exception as e:
if not hasattr(e, 'django_template_source'):
e.django_template_source = node.source
raise
Variable | Value |
---|---|
node | <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4> |
self | [<Text Node: ' <tbody> '>, <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4>, <Text Node: ' </tbody> '>] |
e | FieldError(u"Cannot resolve keyword u'dataless_change' into field. Choices are: Change, data, data_id, date_entered, description, ends_age, gender, gene, gene_id, hide, id, identifier, image, name, organism, organism_id, people, process_measured, process_measured_id, properties, starts_age, time_measure, tissues, type",) |
context | [{'False': False, 'None': None, 'True': True}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]>, 'None': None, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xf23b792c>, u'request': <WSGIRequest: GET '/bibliography/entry/2655/?sort=data'>, u'csrf_token': <SimpleLazyObject: <function _get_val at 0xf1d4a9cc>>, u'STATIC_URL': '/static/', 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: <function <lambda> at 0xf2b6810c>>, u'LANGUAGE_CODE': 'en-gb', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'use_sidebar': True, 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'False': False, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xf235170c>, u'TIME_ZONE': 'GMT', 'version': '2017-12-17T20:51:06.887532', 'libage_url': 'http://la.ageing-map.org', 'True': True, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/template/defaulttags.py
in render
def render(self, context):
if 'forloop' in context:
parentloop = context['forloop']
else:
parentloop = {}
with context.push():
try:
values = self.sequence.resolve(context, True)...
except VariableDoesNotExist:
values = []
if values is None:
values = []
if not hasattr(values, '__len__'):
values = list(values)
Variable | Value |
---|---|
parentloop | {} |
self | <For Node: for row in table.page.object_list|default:table.rows, tail_len: 4> |
context | [{'False': False, 'None': None, 'True': True}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]>, 'None': None, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xf23b792c>, u'request': <WSGIRequest: GET '/bibliography/entry/2655/?sort=data'>, u'csrf_token': <SimpleLazyObject: <function _get_val at 0xf1d4a9cc>>, u'STATIC_URL': '/static/', 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: <function <lambda> at 0xf2b6810c>>, u'LANGUAGE_CODE': 'en-gb', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'use_sidebar': True, 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'False': False, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xf235170c>, u'TIME_ZONE': 'GMT', 'version': '2017-12-17T20:51:06.887532', 'libage_url': 'http://la.ageing-map.org', 'True': True, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/template/base.py
in resolve
else:
arg_vals.append(arg.resolve(context))
if getattr(func, 'expects_localtime', False):
obj = template_localtime(obj, context.use_tz)
if getattr(func, 'needs_autoescape', False):
new_obj = func(obj, autoescape=context.autoescape, *arg_vals)
else:
new_obj = func(obj, *arg_vals)...
if getattr(func, 'is_safe', False) and isinstance(obj, SafeData):
obj = mark_safe(new_obj)
elif isinstance(obj, EscapeData):
obj = mark_for_escaping(new_obj)
else:
obj = new_obj
Variable | Value |
---|---|
obj | <django_tables2.rows.BoundRows object at 0xf23b7aec> |
func | <function default at 0xf4cab48c> |
arg_vals | [<django_tables2.rows.BoundRows object at 0xf2210eec>] |
self | <django.template.base.FilterExpression object at 0xf2382a4c> |
args | [(True, <Variable: u'table.rows'>)] |
ignore_failures | True |
lookup | True |
context | [{'False': False, 'None': None, 'True': True}, {'block': <Block Node: content. Contents: [<Text Node: ' <div class="yui3-u'>, <Variable Node: ref|safe>, <Text Node: ' ('>, <Variable Node: table.paginator.count>, <Text Node: ' entries)</h1> </div>'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf23b710c>, <Text Node: ' </div> </div> '>]>, 'None': None, 'perms': <django.contrib.auth.context_processors.PermWrapper object at 0xf23b792c>, u'request': <WSGIRequest: GET '/bibliography/entry/2655/?sort=data'>, u'csrf_token': <SimpleLazyObject: <function _get_val at 0xf1d4a9cc>>, u'STATIC_URL': '/static/', 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: <function <lambda> at 0xf2b6810c>>, u'LANGUAGE_CODE': 'en-gb', 'DEFAULT_MESSAGE_LEVELS': {'DEBUG': 10, 'INFO': 20, 'WARNING': 30, 'SUCCESS': 25, 'ERROR': 40}, 'use_sidebar': True, 'table': <daa.atlas.tables.ChangeTable object at 0xf28c588c>, 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'False': False, 'title': u'The Digital Ageing Atlas | Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'ref': u'Whitbourne, S. K. (1985) "<b>The Aging Body: Physiological Changes and Psychological Consequences</b>" ', 'messages': <django.contrib.messages.storage.fallback.FallbackStorage object at 0xf235170c>, u'TIME_ZONE': 'GMT', 'version': '2017-12-17T20:51:06.887532', 'libage_url': 'http://la.ageing-map.org', 'True': True, u'LANGUAGE_BIDI': False, u'MEDIA_URL': '/media/'}] |
arg | <Variable: u'table.rows'> |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/template/defaultfilters.py
in default
###################
# LOGIC #
###################
@register.filter(is_safe=False)
def default(value, arg):
"""If value is unavailable, use given default."""
return value or arg...
@register.filter(is_safe=False)
def default_if_none(value, arg):
"""If value is None, use given default."""
if value is None:
Variable | Value |
---|---|
value | <django_tables2.rows.BoundRows object at 0xf23b7aec> |
arg | <django_tables2.rows.BoundRows object at 0xf2210eec> |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django_tables2/rows.py
in __len__
yield BoundRow(record, table=self.table)
# Bottom pinned rows
for pinned_record in self.generator_pinned_row(self.pinned_data.get('bottom')):
yield pinned_record
def __len__(self):
length = len(self.data)...
pinned_top = self.pinned_data.get('top')
pinned_bottom = self.pinned_data.get('bottom')
length += 0 if pinned_top is None else len(pinned_top)
length += 0 if pinned_bottom is None else len(pinned_bottom)
return length
Variable | Value |
---|---|
self | <django_tables2.rows.BoundRows object at 0xf23b7aec> |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/db/models/query.py
in __len__
def __repr__(self):
data = list(self[:REPR_OUTPUT_SIZE + 1])
if len(data) > REPR_OUTPUT_SIZE:
data[-1] = "...(remaining elements truncated)..."
return repr(data)
def __len__(self):
self._fetch_all()...
return len(self._result_cache)
def __iter__(self):
"""
The queryset iterator protocol uses three nested iterators in the
default case:
Variable | Value |
---|---|
self | Error in formatting: FieldError: Cannot resolve keyword u'dataless_change' into field. Choices are: Change, data, data_id, date_entered, description, ends_age, gender, gene, gene_id, hide, id, identifier, image, name, organism, organism_id, people, process_measured, process_measured_id, properties, starts_age, time_measure, tissues, type |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/db/models/query.py
in _fetch_all
c.__dict__.update(kwargs)
if setup and hasattr(c, '_setup_query'):
c._setup_query()
return c
def _fetch_all(self):
if self._result_cache is None:
self._result_cache = list(self.iterator())...
if self._prefetch_related_lookups and not self._prefetch_done:
self._prefetch_related_objects()
def _next_is_sticky(self):
"""
Indicates that the next filter call and the one following that should
Variable | Value |
---|---|
self | Error in formatting: FieldError: Cannot resolve keyword u'dataless_change' into field. Choices are: Change, data, data_id, date_entered, description, ends_age, gender, gene, gene_id, hide, id, identifier, image, name, organism, organism_id, people, process_measured, process_measured_id, properties, starts_age, time_measure, tissues, type |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/db/models/query.py
in iterator
An iterator over the results from applying this QuerySet to the
database.
"""
db = self.db
compiler = self.query.get_compiler(using=db)
# Execute the query. This will also fill compiler.select, klass_info,
# and annotations.
results = compiler.execute_sql()...
select, klass_info, annotation_col_map = (compiler.select, compiler.klass_info,
compiler.annotation_col_map)
if klass_info is None:
return
model_cls = klass_info['model']
select_fields = klass_info['select_fields']
Variable | Value |
---|---|
self | Error in formatting: FieldError: Cannot resolve keyword u'dataless_change' into field. Choices are: Change, data, data_id, date_entered, description, ends_age, gender, gene, gene_id, hide, id, identifier, image, name, organism, organism_id, people, process_measured, process_measured_id, properties, starts_age, time_measure, tissues, type |
db | 'default' |
compiler | <django.db.models.sql.compiler.SQLCompiler object at 0xf219b62c> |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in execute_sql
subclasses such as InsertQuery). It's possible, however, that no query
is needed, as the filters describe an empty set. In that case, None is
returned, to avoid any unnecessary database interaction.
"""
if not result_type:
result_type = NO_RESULTS
try:
sql, params = self.as_sql()...
if not sql:
raise EmptyResultSet
except EmptyResultSet:
if result_type == MULTI:
return iter([])
else:
Variable | Value |
---|---|
self | <django.db.models.sql.compiler.SQLCompiler object at 0xf219b62c> |
result_type | 'multi' |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in as_sql
# setup created. So, take note of alias counts before the query ran.
# However we do not want to get rid of stuff done in pre_sql_setup(),
# as the pre_sql_setup will modify query state in a way that forbids
# another run of it.
self.subquery = subquery
refcounts_before = self.query.alias_refcount.copy()
try:
extra_select, order_by, group_by = self.pre_sql_setup()...
if with_limits and self.query.low_mark == self.query.high_mark:
return '', ()
distinct_fields = self.get_distinct()
# This must come after 'select', 'ordering', and 'distinct' -- see
# docstring of get_from_clause() for details.
Variable | Value |
---|---|
subquery | False |
refcounts_before | {u'atlas_change': 1} |
with_limits | True |
with_col_aliases | False |
self | <django.db.models.sql.compiler.SQLCompiler object at 0xf219b62c> |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in pre_sql_setup
def pre_sql_setup(self):
"""
Does any necessary class setup immediately prior to producing SQL. This
is for things that can't necessarily be done in __init__ because we
might not have all the pieces in place at that time.
"""
self.setup_query()
order_by = self.get_order_by()...
extra_select = self.get_extra_select(order_by, self.select)
group_by = self.get_group_by(self.select + extra_select, order_by)
return extra_select, order_by, group_by
def get_group_by(self, select, order_by):
"""
Variable | Value |
---|---|
self | <django.db.models.sql.compiler.SQLCompiler object at 0xf219b62c> |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in get_order_by
), False))
continue
if not self.query._extra or col not in self.query._extra:
# 'col' is of the form 'field' or 'field1__field2' or
# '-field1__field2__field', etc.
order_by.extend(self.find_ordering_name(
field, self.query.get_meta(), default_order=asc))...
else:
if col not in self.query.extra_select:
order_by.append((
OrderBy(RawSQL(*self.query.extra[col]), descending=descending),
False))
else:
Variable | Value |
---|---|
order_by | [(OrderBy(Col(atlas_data, atlas.Data.percentage_change), descending=False), False), (OrderBy(Col(atlas_change, atlas.Change.data), descending=False), False)] |
ordering | [u'data__percentage_change', u'data', u'dataless_change'] |
self | <django.db.models.sql.compiler.SQLCompiler object at 0xf219b62c> |
pos | 2 |
order | 'ASC' |
asc | 'ASC' |
field | u'dataless_change' |
descending | False |
col | u'dataless_change' |
desc | 'DESC' |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in find_ordering_name
Returns the table alias (the name might be ambiguous, the alias will
not be) and column name for ordering by the given 'name' parameter.
The 'name' is of the form 'field1__field2__...__fieldN'.
"""
name, order = get_order_dir(name, default_order)
descending = True if order == 'DESC' else False
pieces = name.split(LOOKUP_SEP)
field, targets, alias, joins, path, opts = self._setup_joins(pieces, opts, alias)...
# If we get to this point and the field is a relation to another model,
# append the default ordering for that model unless the attribute name
# of the field is specified.
if field.rel and path and opts.ordering and name != field.attname:
# Firstly, avoid infinite loops.
Variable | Value |
---|---|
name | u'dataless_change' |
default_order | 'ASC' |
self | <django.db.models.sql.compiler.SQLCompiler object at 0xf219b62c> |
pieces | [u'dataless_change'] |
alias | None |
descending | False |
already_seen | None |
order | 'ASC' |
opts | <Options for Change> |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py
in _setup_joins
Note that get_ordering and get_distinct must produce same target
columns on same input, as the prefixes of get_ordering and get_distinct
must match. Executing SQL where this is not true is an error.
"""
if not alias:
alias = self.query.get_initial_alias()
field, targets, opts, joins, path = self.query.setup_joins(
pieces, opts, alias)...
alias = joins[-1]
return field, targets, alias, joins, path, opts
def get_from_clause(self):
"""
Returns a list of strings that are joined together to go after the
Variable | Value |
---|---|
alias | u'atlas_change' |
self | <django.db.models.sql.compiler.SQLCompiler object at 0xf219b62c> |
opts | <Options for Change> |
pieces | [u'dataless_change'] |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/db/models/sql/query.py
in setup_joins
that value. Final field is needed for example in some value
conversions (convert 'obj' in fk__id=obj to pk val using the foreign
key field for example).
"""
joins = [alias]
# First, generate the path for the names
path, final_field, targets, rest = self.names_to_path(
names, opts, allow_many, fail_on_missing=True)...
# Then, add the path to the query's joins. Note that we can't trim
# joins at this stage - we will need the information about join type
# of the trimmed joins.
for join in path:
opts = join.to_opts
Variable | Value |
---|---|
self | <django.db.models.sql.query.Query object at 0xf23b7dec> |
alias | u'atlas_change' |
names | [u'dataless_change'] |
joins | [u'atlas_change'] |
can_reuse | None |
allow_many | True |
opts | <Options for Change> |
/srv/www/ageing-map.org/env/local/lib/python2.7/site-packages/django/db/models/sql/query.py
in names_to_path
# We didn't find the current field, so move position back
# one step.
pos -= 1
if pos == -1 or fail_on_missing:
field_names = list(get_field_names_from_opts(opts))
available = sorted(field_names + list(self.annotation_select))
raise FieldError("Cannot resolve keyword %r into field. "
"Choices are: %s" % (name, ", ".join(available)))...
break
# Check if we need any joins for concrete inheritance cases (the
# field lives in parent, but we are currently in one of its
# children)
if model is not opts.model:
# The field lives on a base class of the current model.
Variable | Value |
---|---|
available | [u'Change', 'data', u'data_id', 'date_entered', 'description', 'ends_age', 'gender', 'gene', u'gene_id', 'hide', u'id', 'identifier', 'image', 'name', 'organism', u'organism_id', 'people', 'process_measured', u'process_measured_id', 'properties', 'starts_age', 'time_measure', 'tissues', 'type'] |
name | u'dataless_change' |
self | <django.db.models.sql.query.Query object at 0xf23b7dec> |
pos | -1 |
names | [u'dataless_change'] |
fail_on_missing | True |
path | [] |
field_names | ['people', 'image', 'tissues', u'organism_id', u'id', 'date_entered', 'time_measure', 'type', u'Change', 'description', 'starts_age', u'gene_id', u'process_measured_id', 'hide', 'data', 'properties', 'process_measured', 'identifier', 'name', u'data_id', 'gender', 'ends_age', 'gene', 'organism'] |
cur_names_with_path | (u'dataless_change', []) |
names_with_path | [] |
allow_many | True |
opts | <Options for Change> |
Variable | Value |
---|---|
sort | u'data' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | True |
HTTP_REFERER | 'http://ageing-map.org/bibliography/entry/2655/?sort=data' |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/bibliography/entry/2655/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | 'sort=data' |
CONTENT_LENGTH | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'www.ageing-map.org' |
REMOTE_ADDR | '54.221.159.188' |
wsgi.url_scheme | 'https' |
SERVER_PORT | '443' |
uwsgi.node | 'maglab' |
DOCUMENT_ROOT | '/usr/share/nginx/html' |
wsgi.input | <uwsgi._Input object at 0xf33b3b90> |
HTTP_HOST | 'ageing-map.org' |
HTTPS | 'on' |
wsgi.multithread | False |
REQUEST_URI | '/bibliography/entry/2655/?sort=data' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
wsgi.run_once | False |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0xf56141d8> |
REMOTE_PORT | '39060' |
REQUEST_SCHEME | 'https' |
uwsgi.version | '2.0.15' |
CONTENT_TYPE | '' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'dRNgygUBcVQUnS8du1YV6AmrRH7JykfE' |
daa.settings
Setting | Value |
---|---|
LIBAGE_DATABASE | 'daa' |
SECURE_BROWSER_XSS_FILTER | False |
USE_THOUSAND_SEPARATOR | False |
CSRF_COOKIE_SECURE | False |
LANGUAGE_CODE | 'en-gb' |
ROOT_URLCONF | 'daa.urls' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/srv/www/beta.ageing-map.org/daa/static/' |
ALLOWED_HOSTS | ['localhost', '.ageing-map.org'] |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SERVER_EMAIL | 'root@localhost' |
SECURE_HSTS_SECONDS | 0 |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M:%S.%f', '%H:%M') |
SECURE_REDIRECT_EXEMPT | [] |
DATABASES | {'anage': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'dev_anage', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'Europe/London', 'USER': 'daa_curator'}, 'cellage': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'dev_cell_age', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'Europe/London', 'USER': 'daa_curator'}, 'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '', 'NAME': 'beta_daa', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'Europe/London', 'USER': 'postgres'}, 'drugage': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'dev_drug_age', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'Europe/London', 'USER': 'daa_curator'}, 'genage_human': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'dev_genage_human', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'Europe/London', 'USER': 'daa_curator'}, 'genage_model': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'dev_genage_models', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'Europe/London', 'USER': 'daa_curator'}, 'gendr': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'dev_gendr', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'Europe/London', 'USER': 'daa_curator'}, 'libage': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': '', 'NAME': 'la', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'Europe/London', 'USER': 'postgres'}, 'longevity': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'dev_longevity', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'Europe/London', 'USER': 'daa_curator'}, 'ortholog': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.mysql', 'HOST': '', 'NAME': 'dev_orthologs', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': 'Europe/London', 'USER': 'daa_curator'}} |
EMAIL_SSL_KEYFILE | u'********************' |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
SUIT_CONFIG | {'ADMIN_NAME': 'HAGR Curator', 'LIST_PER_PAGE': 50, 'MENU': ({'app': 'atlas', 'label': 'The Digital Ageing Atlas', 'models': ({'label': 'Changes', 'model': 'atlas.change'}, {'label': 'Relationships', 'model': 'atlas.relationship'}, {'label': 'Genes', 'model': 'atlas.gene'}, {'label': 'Tissues', 'model': 'atlas.tissue'}, {'label': u'\u2611 Check changes for issues', 'url': 'admin:atlas_check'}, {'label': u'\u2611 Check changes for referencing issues', 'url': 'admin:atlas_check_references'}, {'label': u'\u2611 Check and indicate genes in both GenAge and the DAA', 'url': 'admin:atlas_check_genage'}, {'label': u'\u21f2 Import changes from CSV', 'url': 'admin:atlas_import_changes'})}, {'app': 'genage_human', 'label': 'GenAge', 'models': ({'label': 'Human Ageing Genes', 'model': 'genage_human.name'}, {'label': 'Model Organism Ageing Genes', 'model': 'genage_model.model'}, {'label': u'\u2611 Check model organisms for issues', 'url': 'admin:genage_model_checks'}, {'label': u'\u21f2 Import model organisms', 'url': 'admin:genage_csvimport'}, {'label': u'\u21f2 Update longevity entries in model organisms', 'url': 'admin:genage_csvupdate'}, {'label': u'\u21f1 Export GenAge human entries', 'url': 'admin:genage_human_export'}, {'label': u'\u21f1 Export GenAge model entries', 'url': 'admin:genage_models_export'})}, {'app': 'anage', 'label': 'AnAge', 'models': ({'label': 'Species Longevity Entries', 'model': 'anage.anagename'}, {'label': 'Bibliographic References', 'model': 'anage.anagebiblio'})}, {'app': 'gendr', 'label': 'GenDR', 'models': ({'label': 'Gene Manipulations', 'model': 'gendr.gene'}, {'label': 'Gene Expressions', 'model': 'gendr.expression'}, {'label': u'\u2611 Check gene manipulations for issues', 'url': 'admin:gene_manip_check'}, {'label': u'\u21f1 Export GenDR manipulations entries', 'url': 'admin:gendr_manip_export'}, {'label': u'\u21f1 Export GenDR expression entries', 'url': 'admin:gendr_exp_export'})}, {'app': 'longevity', 'label': 'LongevityMap', 'models': ({'label': 'Longevity Variant', 'model': 'longevity.variant'}, {'label': 'Longevity Variant Group', 'model': 'longevity.variantgroup'}, {'label': 'Genes', 'model': 'longevity.gene'}, {'label': 'Populations', 'model': 'longevity.population'}, {'label': u'\u21f2 Import longevity entries', 'url': 'admin:longevity_csvimport'}, {'label': u'\u21f1 Expport longevity entries', 'url': 'admin:longevity_csvexport'}, {'label': u'Delete citations from LibAge', 'url': 'admin:longevity_clearlibage'})}, {'app': 'django_libage', 'label': 'LibAge', 'models': ({'label': 'Bibliographic Entries', 'model': 'django_libage.bibliographicentry'}, {'label': 'Citations', 'model': 'django_libage.citation'}, {'label': 'Sources', 'model': 'django_libage.source'})}, {'app': 'drugage', 'label': 'DrugAge', 'models': ({'label': 'Bibliographic Entries', 'model': 'drugage.drugagebiblio'}, {'label': 'DrugAge Results', 'model': 'drugage.drugageresults'}, {'label': 'DrugAge Compounds', 'model': 'drugage.drugagecompounds'}, {'label': 'DrugAge Compound Synonyms', 'model': 'drugage.drugagecompoundsynonyms'}, {'label': u'\u21f2 Import DrugAge', 'url': 'admin:drugage_csvimport'}, {'label': u'\u21f1 Export DrugAge', 'url': 'admin:drugage_csvexport'})}, {'app': 'cellage', 'label': 'CellAge', 'models': ({'label': 'Bibliographic Entries', 'model': 'cellage.cellagebiblio'}, {'label': 'Gene Interventions', 'model': 'cellage.cellagegeneinterventions'}, {'label': 'Methods', 'model': 'cellage.cellagemethod'}, {'label': 'Cells', 'model': 'cellage.cellagecell'}, {'label': 'Cell Lines', 'model': 'cellage.cellagecellline'}, {'label': 'Senescence Types', 'model': 'cellage.cellagesenescence'}, {'label': 'Genes', 'model': 'cellage.cellagegene'}, {'label': u'\u21f2 Import Interventions', 'url': 'admin:cellage_csvimport'}, {'label': u'\u21f1 Export Interventions', 'url': 'admin:cellage_csvexport'}, {'label': u'Delete citations from LibAge', 'url': 'admin:cellage_clearlibage'})}, '-', {'icon': 'icon-inbox', 'label': 'Submissions', 'models': ('submissions.submission',)}, '-', {'icon': 'icon-cog', 'label': 'Admin', 'models': ('auth.user', 'auth.group', 'admin.logentry')})} |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
APPEND_SLASH | True |
LOCALE_PATHS | () |
DATABASE_ROUTERS | ['daa.genage_human.router.GenageRouter', 'daa.genage_model.router.GenageRouter', 'daa.anage.router.AnageRouter', 'daa.gendr.router.GendrRouter', 'daa.django_libage.router.LibageRouter', 'daa.longevity.router.LongevityRouter', 'daa.ortholog.router.OrthologRouter', 'daa.drugage.router.DrugAgeRouter', 'daa.cellage.router.CellAgeRouter'] |
DEFAULT_TABLESPACE | '' |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
ABSOLUTE_PATH | '/srv/www/beta.ageing-map.org/daa' |
SECURE_CONTENT_TYPE_NOSNIFF | False |
MIDDLEWARE_CLASSES | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware', 'debug_toolbar.middleware.DebugToolbarMiddleware'] |
USE_I18N | True |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
DEFAULT_INDEX_TABLESPACE | '' |
LOGGING_CONFIG | 'logging.config.dictConfig' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
FIRST_DAY_OF_WEEK | 0 |
WSGI_APPLICATION | None |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
FORCE_SCRIPT_NAME | None |
USE_X_FORWARDED_HOST | False |
EMAIL_TIMEOUT | None |
SECURE_SSL_HOST | None |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SESSION_COOKIE_SECURE | False |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
LANGUAGE_COOKIE_DOMAIN | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('suit', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'django_tables2', 'django_filters', 'markdown_deux', 'django_markwhat', 'mptt', 'reversion', 'debug_toolbar', 'daa.atlas', 'daa.genage_human', 'daa.genage_model', 'daa.anage', 'daa.gendr', 'daa.go_db', 'daa.ortholog', 'daa.django_libage', 'daa.log_admin', 'daa.drugage', 'daa.cellage', 'daa.longevity', 'daa.submissions', 'django.contrib.admindocs') |
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')) |
USE_L10N | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
STATICFILES_DIRS | ('/srv/www/beta.ageing-map.org/daa/resources',) |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | None |
LANGUAGE_COOKIE_AGE | None |
SESSION_COOKIE_HTTPONLY | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
CSRF_COOKIE_AGE | 31449600 |
MONTH_DAY_FORMAT | 'F j' |
MANAGERS | () |
LIBAGE_ENDPOINT | 'http://la.ageing-map.org/api' |
TIME_FORMAT | 'P' |
AUTH_USER_MODEL | 'auth.User' |
DATE_INPUT_FORMATS | ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y') |
CSRF_COOKIE_NAME | 'csrftoken' |
EMAIL_HOST_PASSWORD | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
SESSION_FILE_PATH | None |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
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/' |
SESSION_COOKIE_PATH | '/' |
DECIMAL_SEPARATOR | '.' |
IGNORABLE_404_URLS | () |
MIGRATION_MODULES | {} |
TEMPLATE_STRING_IF_INVALID | '' |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'localhost' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '/srv/www/beta.ageing-map.org/daa/media' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
MEDIA_URL | '/media/' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | () |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
LOGGING | {} |
SHORT_DATE_FORMAT | 'm/d/Y' |
LIBAGE_URL | 'http://la.ageing-map.org' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/srv/www/beta.ageing-map.org/daa/templates/', '/srv/www/beta.ageing-map.org/daa/atlas/templates/atlas/', '/srv/www/beta.ageing-map.org/daa/tools/templates/tools/', '/srv/www/beta.ageing-map.org/daa/go_db/templates/go_db/'], 'OPTIONS': {'context_processors': ['django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'daa.version.context_processors.version', 'django.template.context_processors.request', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages']}}] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
SECURE_SSL_REDIRECT | False |
TIME_ZONE | 'Europe/London' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_USE_SSL | False |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.template.context_processors.debug', 'django.template.context_processors.i18n', 'django.template.context_processors.media', 'django.template.context_processors.static', 'django.template.context_processors.tz', 'django.contrib.messages.context_processors.messages') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'daa.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa', 'ur') |
FILE_UPLOAD_TEMP_DIR | None |
INTERNAL_IPS | ('127.0.0.1',) |
STATIC_URL | '/static/' |
EMAIL_PORT | 25 |
USE_TZ | False |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
TEST_NON_SERIALIZED_APPS | [] |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
LANGUAGE_COOKIE_PATH | '/' |
CACHE_MIDDLEWARE_SECONDS | 600 |
EMAIL_SSL_CERTFILE | None |
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') |
EMAIL_HOST_USER | '' |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.