Expected table or queryset, not NoneType
Request Method: | GET |
---|---|
Request URL: | http://beta.ageing-map.org/atlas/results/?species%5B%5D=9606&t=gene&page=767 |
Django Version: | 1.8 |
Exception Type: | ValueError |
Exception Value: | Expected table or queryset, not NoneType |
Exception Location: | /home/angelo/hagr-beta/HAGR-Beta-Backend/app/env/local/lib/python2.7/site-packages/django_tables2/templatetags/django_tables2.py in render, line 153 |
Python Executable: | /home/angelo/hagr-beta/HAGR-Beta-Backend/app/env/bin/uwsgi |
Python Version: | 2.7.17 |
Python Path: | ['/home/angelo/hagr-beta/HAGR-Beta-Backend/app/', '.', '', '/home/angelo/hagr-beta/HAGR-Beta-Backend/app/env/lib/python2.7', '/home/angelo/hagr-beta/HAGR-Beta-Backend/app/env/lib/python2.7/plat-i386-linux-gnu', '/home/angelo/hagr-beta/HAGR-Beta-Backend/app/env/lib/python2.7/lib-tk', '/home/angelo/hagr-beta/HAGR-Beta-Backend/app/env/lib/python2.7/lib-old', '/home/angelo/hagr-beta/HAGR-Beta-Backend/app/env/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-i386-linux-gnu', '/usr/lib/python2.7/lib-tk', '/home/angelo/hagr-beta/HAGR-Beta-Backend/app/env/local/lib/python2.7/site-packages', '/home/angelo/hagr-beta/HAGR-Beta-Backend/app/env/lib/python2.7/site-packages', '/home/angelo/hagr-beta/HAGR-Beta-Backend/app/daa/lib'] |
Server time: | Thu, 28 Mar 2024 13:57:22 +0000 |
In template /home/angelo/hagr-beta/HAGR-Beta-Backend/app/daa/atlas/templates/atlas/results.html
, error at line 13
3 | |
---|---|
4 | {% block overridestyles %} |
5 | <link rel="stylesheet" href="{{ STATIC_URL }}css/jquery-ui-1.8.16.custom.css"> |
6 | <link rel="stylesheet" href="{{ STATIC_URL }}css/jquery.multiselect.css"> |
7 | <link rel="stylesheet" href="{{ STATIC_URL }}css/jquery.multiselect.filter.css"> |
8 | {% endblock %} |
9 | |
10 | {% block content %} |
11 | <h1 class="{% if not limited %}{{ type }}-type{% endif %}">{{ title }}</h2> |
12 | <div class="results-table-container"> |
13 | {% render_table table 'atlas/table.html' %} |
14 | </div> |
15 | {% endblock %} |
16 | {% block sidebar %} |
17 | <div class="sidebar-module"> |
18 | <h2>Filters</h2> |
19 | {% if not type %} |
20 | <strong>Common Filters:</strong> |
21 | <br> |
22 | <a href="#" class="add-specific-filter internal-link molecular-type" data-filter-for="type" data-filter-value="molecular">Molecular</a>, <a href="#" class="add-specific-filter internal-link physiological-type" data-filter-for="type" data-filter-value="physiological">Physiological</a>, <a href="#" class="add-specific-filter internal-link pathological-type" data-filter-for="type" data-filter-value="pathological">Pathological</a>, <a href="#" class="add-specific-filter internal-link psychological-type" data-filter-for="type" data-filter-value="psychological">Psychological</a> |
23 | {% endif %} |
/home/angelo/hagr-beta/HAGR-Beta-Backend/app/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 | ValueError(u'Expected table or queryset, not NoneType',) |
callback_args | () |
resolver_match | ResolverMatch(func=daa.atlas.views.results, args=(), kwargs={}, url_name=None, app_name=None, namespaces=[]) |
middleware_method | <bound method DebugToolbarMiddleware.process_view of <debug_toolbar.middleware.DebugToolbarMiddleware object at 0xf3a05a4c>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0xf454756c> |
request | "<WSGIRequest\npath:/atlas/results/,\nGET:<QueryDict: {u'species[]': [u'9606'], u't': [u'gene'], u'page': [u'767']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'NZLqLyVXtkProVbLUpod1rFHzvdpdNm0',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'beta.ageing-map.org',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/atlas/results/',\n 'QUERY_STRING': 'species%5B%5D=9606&t=gene&page=767',\n 'REMOTE_ADDR': '34.201.37.128',\n 'REMOTE_PORT': '47020',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/atlas/results/?species%5B%5D=9606&t=gene&page=767',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'beta.ageing-map.org',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'maglab',\n 'uwsgi.version': '2.0.22',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0xf703e230>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0xf3254e30>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function results at 0xf338102c> |
wrapped_callback | <function results at 0xf338102c> |
resolver | <RegexURLResolver 'daa.urls' (None:None) ^/> |
callback_kwargs | {} |
response | None |
urlconf | 'daa.urls' |
/home/angelo/hagr-beta/HAGR-Beta-Backend/app/daa/atlas/views.py
in results
'table': table,
'stats': stats,
'type': showtype,
'limited': True if limit_to != None else False,
'use_sidebar': show_sidebar(request, use_sidebar),
'keys': ('s', 't', 'species[]', 'l', 'lid', 'page', 'sort'),
'fields': fields,
}, context_instance=RequestContext(request))...
return resp
def anatomical(request):
species = request.GET.get('species')
try:
Variable | Value |
---|---|
genes | [<Gene: EMILIN2 (elastin microfibril interfacer 2)>, <Gene: EFEMP2 (EGF-containing fibulin-like extracellular matrix protein 2)>, <Gene: PIANP (PILR alpha associated neural protein)>, <Gene: KIAA0317 (KIAA0317)>, <Gene: KL (klotho)>, <Gene: TARDBP (TAR DNA binding protein)>, <Gene: TXNIP (thioredoxin interacting protein)>, <Gene: DAAM2 (dishevelled associated activator of morphogenesis 2)>, <Gene: IKBKB (inhibitor of kappa light polypeptide gene enhancer in B-cells, kinase beta)>, <Gene: ZNF662 (zinc finger protein 662)>, <Gene: SPAG7 (sperm associated antigen 7)>, <Gene: MIR29C (microRNA 29c)>, <Gene: HOOK2 (hook microtubule-tethering protein 2)>, <Gene: LAPTM5 (lysosomal protein transmembrane 5)>, <Gene: POU4F3 (POU class 4 homeobox 3)>, <Gene: TRHDE (thyrotropin-releasing hormone degrading enzyme)>, <Gene: ZNF621 (zinc finger protein 621)>, <Gene: BSG (basigin (Ok blood group))>, <Gene: PTPRJ (protein tyrosine phosphatase, receptor type, J)>, <Gene: NDUFA9 (NADH dehydrogenase (ubiquinone) 1 alpha subcomplex, 9, 39kDa)>, '...(remaining elements truncated)...'] |
stats | None |
fltr | <daa.atlas.filters.GeneFilterSet object at 0xf2da04ec> |
title | u'All genes <span class="results-count">(2599)</span>' |
fields | {u'alias': {'html': u'<input id="id_alias" name="alias" type="text" />', 'type': 'CharField'}, u'ensembl': {'html': u'<input id="id_ensembl" name="ensembl" type="text" />', 'type': 'CharField'}, u'in_genage': {'html': u'<select id="id_in_genage" name="in_genage">\n<option value="1" selected="selected">Unknown</option>\n<option value="2">Yes</option>\n<option value="3">No</option>\n</select>', 'type': 'NullBooleanField'}, u'name': {'html': u'<input id="id_name" name="name" type="text" />', 'type': 'CharField'}, u'number_of_changes': {'html': u'<input id="id_number_of_changes" name="number_of_changes" step="any" type="number" />', 'type': 'DecimalField'}, u'omim': {'html': u'<input id="id_omim" name="omim" type="text" />', 'type': 'CharField'}, u'symbol': {'html': u'<input id="id_symbol" name="symbol" type="text" />', 'type': 'CharField'}, u'unigene': {'html': u'<input id="id_unigene" name="unigene" type="text" />', 'type': 'CharField'}, u'uniprot': {'html': u'<input id="id_uniprot" name="uniprot" type="text" />', 'type': 'CharField'}} |
is_pre_result | False |
request | "<WSGIRequest\npath:/atlas/results/,\nGET:<QueryDict: {u'species[]': [u'9606'], u't': [u'gene'], u'page': [u'767']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'NZLqLyVXtkProVbLUpod1rFHzvdpdNm0',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'beta.ageing-map.org',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/atlas/results/',\n 'QUERY_STRING': 'species%5B%5D=9606&t=gene&page=767',\n 'REMOTE_ADDR': '34.201.37.128',\n 'REMOTE_PORT': '47020',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/atlas/results/?species%5B%5D=9606&t=gene&page=767',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'beta.ageing-map.org',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'maglab',\n 'uwsgi.version': '2.0.22',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0xf703e230>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0xf3254e30>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
rc | '(2599)' |
limit_id | None |
s | '' |
showtype | u'gene' |
species_list | [<Q: (AND: ('organism__taxonomy_id', u'9606'))>] |
template | 'results.html' |
limit_to | None |
table | None |
use_sidebar | True |
changes | [<Change: DAA318: 5'-3' exoribonuclease 1>, <Change: DAA350: 5'-nucleotidase, cytosolic II>, <Change: DAA335: 6-pyruvoyltetrahydropterin synthase>, <Change: DAA1: abhydrolase domain containing 14A>, <Change: DAA905: Ability to secrete acid load decreases>, <Change: DAA2: abl-interactor 2>, <Change: DAA814: Abnormal labored breathing index>, <Change: DAA723: Accumulation of extracellular neuritic plaques>, <Change: DAA722: Accumulation of neuromelanin in dopaminergic nigral neurons>, <Change: DAA2061: acetyl-Coenzyme A carboxylase alpha increases with age>, <Change: DAA383: acidic (leucine-rich) nuclear phosphoprotein 32 family, member B>, <Change: DAA3: actin, alpha 1, skeletal muscle>, <Change: DAA393: actin, alpha, cardiac muscle 1>, <Change: DAA4: actin, beta>, <Change: DAA538: actin binding LIM protein 1>, <Change: DAA450: actin binding LIM protein family, member 2>, <Change: DAA5: actin-like 6A>, <Change: DAA542: actin related protein 2/3 complex, subunit 5-like>, <Change: DAA761: Activation threshold for long-term potentiation is increased>, <Change: DAA2062: activin A receptor, type IB increases with age>, '...(remaining elements truncated)...'] |
species | [u'9606'] |
sp | u'9606' |
/home/angelo/hagr-beta/HAGR-Beta-Backend/app/env/local/lib/python2.7/site-packages/django/shortcuts.py
in render_to_response
# No deprecated arguments were passed - use the new code path
content = loader.render_to_string(template_name, context, using=using)
else:
# Some deprecated arguments were passed - use the legacy code path
content = loader.render_to_string(
template_name, context, context_instance, dirs, dictionary,
using=using)...
return HttpResponse(content, content_type, status)
def render(request, template_name, context=None,
context_instance=_context_instance_undefined,
Variable | Value |
---|---|
dirs | <object object at 0xf4eaa2a0> |
status | None |
content_type | None |
dictionary | <object object at 0xf4eaa298> |
template_name | 'results.html' |
context_instance | [{'False': False, 'None': None, 'True': True}, {}] |
context | {'fields': {u'alias': {'html': u'<input id="id_alias" name="alias" type="text" />', 'type': 'CharField'}, u'ensembl': {'html': u'<input id="id_ensembl" name="ensembl" type="text" />', 'type': 'CharField'}, u'in_genage': {'html': u'<select id="id_in_genage" name="in_genage">\n<option value="1" selected="selected">Unknown</option>\n<option value="2">Yes</option>\n<option value="3">No</option>\n</select>', 'type': 'NullBooleanField'}, u'name': {'html': u'<input id="id_name" name="name" type="text" />', 'type': 'CharField'}, u'number_of_changes': {'html': u'<input id="id_number_of_changes" name="number_of_changes" step="any" type="number" />', 'type': 'DecimalField'}, u'omim': {'html': u'<input id="id_omim" name="omim" type="text" />', 'type': 'CharField'}, u'symbol': {'html': u'<input id="id_symbol" name="symbol" type="text" />', 'type': 'CharField'}, u'unigene': {'html': u'<input id="id_unigene" name="unigene" type="text" />', 'type': 'CharField'}, u'uniprot': {'html': u'<input id="id_uniprot" name="uniprot" type="text" />', 'type': 'CharField'}}, 'keys': ('s', 't', 'species[]', 'l', 'lid', 'page', 'sort'), 'limited': False, 's': '', 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'stats': None, 'table': None, 'title': u'All genes <span class="results-count">(2599)</span>', 'type': u'gene', 'use_sidebar': True} |
using | None |
/home/angelo/hagr-beta/HAGR-Beta-Backend/app/env/local/lib/python2.7/site-packages/django/template/loader.py
in render_to_string
if request is not None:
raise ValueError(
"render_to_string doesn't support the request argument "
"when some deprecated arguments are passed.")
continue
# Hack -- use the internal Engine instance of DjangoTemplates.
return engine.engine.render_to_string(
template_name, context, context_instance, dirs, dictionary)...
elif context_instance is not _context_instance_undefined:
warnings.warn(
"Skipping template backend %s because its render_to_string "
"method doesn't support the context_instance argument." %
engine.name, stacklevel=2)
elif dirs is not _dirs_undefined:
Variable | Value |
---|---|
engine | <django.template.backends.django.DjangoTemplates object at 0xf3816b0c> |
dirs | <object object at 0xf4eaa2a0> |
dictionary | <object object at 0xf4eaa298> |
template_name | 'results.html' |
request | None |
context_instance | [{'False': False, 'None': None, 'True': True}, {}] |
context | {'fields': {u'alias': {'html': u'<input id="id_alias" name="alias" type="text" />', 'type': 'CharField'}, u'ensembl': {'html': u'<input id="id_ensembl" name="ensembl" type="text" />', 'type': 'CharField'}, u'in_genage': {'html': u'<select id="id_in_genage" name="in_genage">\n<option value="1" selected="selected">Unknown</option>\n<option value="2">Yes</option>\n<option value="3">No</option>\n</select>', 'type': 'NullBooleanField'}, u'name': {'html': u'<input id="id_name" name="name" type="text" />', 'type': 'CharField'}, u'number_of_changes': {'html': u'<input id="id_number_of_changes" name="number_of_changes" step="any" type="number" />', 'type': 'DecimalField'}, u'omim': {'html': u'<input id="id_omim" name="omim" type="text" />', 'type': 'CharField'}, u'symbol': {'html': u'<input id="id_symbol" name="symbol" type="text" />', 'type': 'CharField'}, u'unigene': {'html': u'<input id="id_unigene" name="unigene" type="text" />', 'type': 'CharField'}, u'uniprot': {'html': u'<input id="id_uniprot" name="uniprot" type="text" />', 'type': 'CharField'}}, 'keys': ('s', 't', 'species[]', 'l', 'lid', 'page', 'sort'), 'limited': False, 's': '', 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'stats': None, 'table': None, 'title': u'All genes <span class="results-count">(2599)</span>', 'type': u'gene', 'use_sidebar': True} |
using | None |
/home/angelo/hagr-beta/HAGR-Beta-Backend/app/env/local/lib/python2.7/site-packages/django/template/engine.py
in render_to_string
else:
return t.render(Context(context))
if not context:
return t.render(context_instance)
# Add the context to the context stack, ensuring it gets removed again
# to keep the context_instance in the same state it started in.
with context_instance.push(context):
return t.render(context_instance)...
def select_template(self, template_name_list, dirs=_dirs_undefined):
"""
Given a list of template names, returns the first that can be loaded.
"""
if dirs is _dirs_undefined:
Variable | Value |
---|---|
dirs | <object object at 0xf4eaa2a0> |
dictionary | None |
template_name | 'results.html' |
self | <django.template.engine.Engine object at 0xf3816b6c> |
t | <django.template.base.Template object at 0xf30cbaac> |
context | {'fields': {u'alias': {'html': u'<input id="id_alias" name="alias" type="text" />', 'type': 'CharField'}, u'ensembl': {'html': u'<input id="id_ensembl" name="ensembl" type="text" />', 'type': 'CharField'}, u'in_genage': {'html': u'<select id="id_in_genage" name="in_genage">\n<option value="1" selected="selected">Unknown</option>\n<option value="2">Yes</option>\n<option value="3">No</option>\n</select>', 'type': 'NullBooleanField'}, u'name': {'html': u'<input id="id_name" name="name" type="text" />', 'type': 'CharField'}, u'number_of_changes': {'html': u'<input id="id_number_of_changes" name="number_of_changes" step="any" type="number" />', 'type': 'DecimalField'}, u'omim': {'html': u'<input id="id_omim" name="omim" type="text" />', 'type': 'CharField'}, u'symbol': {'html': u'<input id="id_symbol" name="symbol" type="text" />', 'type': 'CharField'}, u'unigene': {'html': u'<input id="id_unigene" name="unigene" type="text" />', 'type': 'CharField'}, u'uniprot': {'html': u'<input id="id_uniprot" name="uniprot" type="text" />', 'type': 'CharField'}}, 'keys': ('s', 't', 'species[]', 'l', 'lid', 'page', 'sort'), 'limited': False, 's': '', 'species_options': '<label><input type="checkbox" name="species[]" value="9606" checked="checked" /> Human</label><label><input type="checkbox" name="species[]" value="10090" /> Mouse</label>', 'stats': None, 'table': None, 'title': u'All genes <span class="results-count">(2599)</span>', 'type': u'gene', 'use_sidebar': True} |
context_instance | [{'False': False, 'None': None, 'True': True}, {}] |
/home/angelo/hagr-beta/HAGR-Beta-Backend/app/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 0xf30cbaac> |
context | [{'False': False, 'None': None, 'True': True}, {}] |
/home/angelo/hagr-beta/HAGR-Beta-Backend/app/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 0xf30cbaac> |
context | [{'False': False, 'None': None, 'True': True}, {}] |
/home/angelo/hagr-beta/HAGR-Beta-Backend/app/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}, {}] |
/home/angelo/hagr-beta/HAGR-Beta-Backend/app/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 | ValueError(u'Expected table or queryset, not NoneType',) |
context | [{'False': False, 'None': None, 'True': True}, {}] |
/home/angelo/hagr-beta/HAGR-Beta-Backend/app/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 0xf31d41cc> |
context | [{'False': False, 'None': None, 'True': True}, {}] |
compiled_parent | <django.template.base.Template object at 0xf30fbccc> |
self | <ExtendsNode: extends 'base.html'> |
/home/angelo/hagr-beta/HAGR-Beta-Backend/app/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 0xf30fbccc> |
context | [{'False': False, 'None': None, 'True': True}, {}] |
/home/angelo/hagr-beta/HAGR-Beta-Backend/app/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'All genes (2599) | 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'\n\t<link rel="stylesheet" href="/static/css/jquery-ui-1.8.16.custom.css">\n\t<link rel="stylesheet" href="/static/css/jquery.multiselect.css">\n\t<link rel="stylesheet" href="/static/css/jquery.multiselect.filter.css">\n', 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 0xf3277acc>, <Text Node: '">About</a></li> <l'>, <django.template.defaulttags.URLNode object at 0xf3277b4c>, <Text Node: '">Help</a></li> <li'>, <django.template.defaulttags.URLNode object at 0xf327788c>, <Text Node: '">Downloads</a></li> '>, <django.template.defaulttags.URLNode object at 0xf32772ec>, <Text Node: '">Contact or contribute</'>, <django.template.defaulttags.URLNode object at 0xf3277fcc>, <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 0xf2ca06cc>, <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}, {}] |
/home/angelo/hagr-beta/HAGR-Beta-Backend/app/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 0xf3277acc>, <Text Node: '">About</a></li> <l'>, <django.template.defaulttags.URLNode object at 0xf3277b4c>, <Text Node: '">Help</a></li> <li'>, <django.template.defaulttags.URLNode object at 0xf327788c>, <Text Node: '">Downloads</a></li> '>, <django.template.defaulttags.URLNode object at 0xf32772ec>, <Text Node: '">Contact or contribute</'>, <django.template.defaulttags.URLNode object at 0xf3277fcc>, <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 0xf2ca06cc>, <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 | ValueError(u'Expected table or queryset, not NoneType',) |
context | [{'False': False, 'None': None, 'True': True}, {}] |
/home/angelo/hagr-beta/HAGR-Beta-Backend/app/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: ' <h1 class="'>, <IfNode>, <Text Node: '">'>, <Variable Node: title>, <Text Node: '</h2> <div class="result'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf2b72c4c>, <Text Node: ' </div> '>]> |
block_context | <django.template.loader_tags.BlockContext object at 0xf31d41cc> |
block | <Block Node: content. Contents: [<Text Node: ' <h1 class="'>, <IfNode>, <Text Node: '">'>, <Variable Node: title>, <Text Node: '</h2> <div class="result'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf2b72c4c>, <Text Node: ' </div> '>]> |
context | [{'False': False, 'None': None, 'True': True}, {}] |
self | <Block Node: content. Contents: []> |
/home/angelo/hagr-beta/HAGR-Beta-Backend/app/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 0xf2b72c4c> |
bit | u'</h2>\n\t<div class="results-table-container">\n\t\t' |
bits | [u'\n\t<h1 class="', u'gene-type', u'">', u'All genes <span class="results-count">(2599)</span>', u'</h2>\n\t<div class="results-table-container">\n\t\t'] |
self | [<Text Node: ' <h1 class="'>, <IfNode>, <Text Node: '">'>, <Variable Node: title>, <Text Node: '</h2> <div class="result'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf2b72c4c>, <Text Node: ' </div> '>] |
context | [{'False': False, 'None': None, 'True': True}, {}] |
/home/angelo/hagr-beta/HAGR-Beta-Backend/app/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 0xf2b72c4c> |
self | [<Text Node: ' <h1 class="'>, <IfNode>, <Text Node: '">'>, <Variable Node: title>, <Text Node: '</h2> <div class="result'>, <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf2b72c4c>, <Text Node: ' </div> '>] |
e | ValueError(u'Expected table or queryset, not NoneType',) |
context | [{'False': False, 'None': None, 'True': True}, {}] |
/home/angelo/hagr-beta/HAGR-Beta-Backend/app/env/local/lib/python2.7/site-packages/django_tables2/templatetags/django_tables2.py
in render
model = queryset.model
table = OnTheFlyTable(queryset)
if request:
RequestConfig(request).configure(table)
else:
klass = type(table).__name__
raise ValueError('Expected table or queryset, not {}'.format(klass))...
if self.template:
template = self.template.resolve(context)
else:
template = table.template
Variable | Value |
---|---|
table | None |
self | <django_tables2.templatetags.django_tables2.RenderTableNode object at 0xf2b72c4c> |
request | "<WSGIRequest\npath:/atlas/results/,\nGET:<QueryDict: {u'species[]': [u'9606'], u't': [u'gene'], u'page': [u'767']}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': '',\n u'CSRF_COOKIE': u'NZLqLyVXtkProVbLUpod1rFHzvdpdNm0',\n 'DOCUMENT_ROOT': '/usr/share/nginx/html',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_HOST': 'beta.ageing-map.org',\n 'HTTP_USER_AGENT': 'claudebot',\n 'PATH_INFO': u'/atlas/results/',\n 'QUERY_STRING': 'species%5B%5D=9606&t=gene&page=767',\n 'REMOTE_ADDR': '34.201.37.128',\n 'REMOTE_PORT': '47020',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/atlas/results/?species%5B%5D=9606&t=gene&page=767',\n u'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'beta.ageing-map.org',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'uwsgi.node': 'maglab',\n 'uwsgi.version': '2.0.22',\n 'wsgi.errors': <open file 'wsgi_errors', mode 'w' at 0xf703e230>,\n 'wsgi.file_wrapper': <built-in function uwsgi_sendfile>,\n 'wsgi.input': <uwsgi._Input object at 0xf3254e30>,\n 'wsgi.multiprocess': True,\n 'wsgi.multithread': False,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
klass | 'NoneType' |
context | [{'False': False, 'None': None, 'True': True}, {}] |
Variable | Value |
---|---|
species[] | u'9606' |
t | u'gene' |
page | u'767' |
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | True |
SCRIPT_NAME | u'' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/atlas/results/' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | 'species%5B%5D=9606&t=gene&page=767' |
CONTENT_LENGTH | '' |
HTTP_USER_AGENT | 'claudebot' |
SERVER_NAME | 'beta.ageing-map.org' |
REMOTE_ADDR | '34.201.37.128' |
wsgi.url_scheme | 'http' |
SERVER_PORT | '80' |
uwsgi.node | 'maglab' |
DOCUMENT_ROOT | '/usr/share/nginx/html' |
wsgi.input | <uwsgi._Input object at 0xf3254e30> |
HTTP_HOST | 'beta.ageing-map.org' |
wsgi.multithread | False |
REQUEST_URI | '/atlas/results/?species%5B%5D=9606&t=gene&page=767' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
wsgi.run_once | False |
wsgi.errors | <open file 'wsgi_errors', mode 'w' at 0xf703e230> |
REMOTE_PORT | '47020' |
REQUEST_SCHEME | 'http' |
uwsgi.version | '2.0.22' |
CONTENT_TYPE | '' |
wsgi.file_wrapper | '' |
CSRF_COOKIE | u'NZLqLyVXtkProVbLUpod1rFHzvdpdNm0' |
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/' |
BASE_DIR | '/home/angelo/hagr-beta/HAGR-Beta-Backend/app/daa' |
SILENCED_SYSTEM_CHECKS | [] |
DEFAULT_CHARSET | 'utf-8' |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
STATIC_ROOT | '/home/angelo/hagr-beta/HAGR-Beta-Backend/app/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': '3306', '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': '3306', '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': '5432', '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': {'charset': 'utf8mb4'}, 'PASSWORD': u'********************', 'PORT': '3306', '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': '3306', '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': '3306', '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': '3306', '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': '5432', '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': '3306', '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': '3306', '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'}} |
SESSION_COOKIE_PATH | '/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
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' |
CSRF_COOKIE_NAME | 'csrftoken' |
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 | ('/home/angelo/hagr-beta/HAGR-Beta-Backend/app/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') |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
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/' |
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 | '/home/angelo/hagr-beta/HAGR-Beta-Backend/app/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': ['/home/angelo/hagr-beta/HAGR-Beta-Backend/app/daa/templates/', '/home/angelo/hagr-beta/HAGR-Beta-Backend/app/daa/atlas/templates/atlas/', '/home/angelo/hagr-beta/HAGR-Beta-Backend/app/daa/tools/templates/tools/', '/home/angelo/hagr-beta/HAGR-Beta-Backend/app/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.