Reverse for 'tag_page' with keyword arguments '{'slug': 'auditory\tcortex'}' not found. 1 pattern(s) tried: ['tag/(?P<slug>[0-9A-Za-z_\\-]+)/$']
Request Method: | GET |
---|---|
Request URL: | https://www.scitok.com/project/p/8f353067/ |
Django Version: | 3.2.9 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'tag_page' with keyword arguments '{'slug': 'auditory\tcortex'}' not found. 1 pattern(s) tried: ['tag/(?P<slug>[0-9A-Za-z_\\-]+)/$'] |
Exception Location: | /usr/local/lib/python3.8/site-packages/django/urls/resolvers.py, line 694, in _reverse_with_prefix |
Python Executable: | /usr/local/bin/python |
Python Version: | 3.8.19 |
Python Path: | ['/usr/src', '/var/app/venv/staging-LQM1lest/bin', '/usr/local/lib/python38.zip', '/usr/local/lib/python3.8', '/usr/local/lib/python3.8/lib-dynload', '/usr/local/lib/python3.8/site-packages'] |
Server time: | Thu, 28 Mar 2024 17:56:27 +0000 |
In template /usr/src/templates/snippets/author-card.html
, error at line 31
21 | {% endif %} |
---|---|
22 | </div> |
23 | |
24 | <div class="row d-block w-100"> |
25 | {% if author.profile.title|length > 0 %}<p class="author-title float-left subheader-1 w-100 m-t-5">{{author.profile.title}}</p>{% endif %} |
26 | <p class="author-num-projects float-left m-t-10 m-b-17 w-100"> |
27 | {% if author.profile.category %}<span class="subheader-1">Field of Study: </span><span class="header-2">{{author.profile.category}}</span> <span class="subheader-1">, {% endif %} |
28 | Published </span><span class="header-2">{{author.profile.num_projects}} Project{% if author.profile.num_projects > 1 %}s{% else %}{% endif %}</span> |
29 | </p> |
30 | <p class="float-left"> |
31 | {% for tag in author.profile.get_tags_frequently_published %}<a class="tag author-tags" href="{% url 'tags:tag_page' slug=tag.slug %}">{{tag.name}}</a> {% endfor %} |
32 | </p> |
33 | </div> |
/usr/local/lib/python3.8/site-packages/asgiref/sync.py
, line 458, in thread_handler
parent_set = True
# Run the function
try:
# If we have an exception, run the function inside the except block
# after raising it so exc_info is correctly populated.
if exc_info[1]:
try:
raise exc_info[1]…
except BaseException:
return func(*args, **kwargs)
else:
return func(*args, **kwargs)
finally:
# Only delete the launch_map parent if we set it, otherwise it is
Variable | Value |
---|---|
args | (functools.partial(<function response_for_exception at 0x7faf937efe50>, <ASGIRequest: GET '/project/p/8f353067/'>, NoReverseMatch("Reverse for 'tag_page' with keyword arguments '{'slug': 'auditory\\tcortex'}' not found. 1 pattern(s) tried: ['tag/(?P<slug>[0-9A-Za-z_\\\\-]+)/$']")),) |
current_thread | <Thread(ThreadPoolExecutor-1_2, started daemon 140391690520256)> |
exc_info | (<class 'django.urls.exceptions.NoReverseMatch'>, NoReverseMatch("Reverse for 'tag_page' with keyword arguments '{'slug': 'auditory\\tcortex'}' not found. 1 pattern(s) tried: ['tag/(?P<slug>[0-9A-Za-z_\\\\-]+)/$']"), <traceback object at 0x7faf7f5673c0>) |
func | <built-in method run of Context object at 0x7faf6df5c3c0> |
kwargs | {} |
loop | <_UnixSelectorEventLoop running=True closed=False debug=False> |
parent_set | True |
self | <asgiref.sync.SyncToAsync object at 0x7faf7cee2fa0> |
source_task | <Task pending name='Task-33794' coro=<StaticFilesWrapper.__call__() running at /usr/local/lib/python3.8/site-packages/channels/staticfiles.py:44> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/local/lib/python3.8/asyncio/futures.py:360, <TaskWakeupMethWrapper object at 0x7faf7f4021c0>()]>> |
/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py
, line 38, in inner
no middleware leaks an exception and that the next middleware in the stack
can rely on getting a response instead of an exception.
"""
if asyncio.iscoroutinefunction(get_response):
@wraps(get_response)
async def inner(request):
try:
response = await get_response(request)…
except Exception as exc:
response = await sync_to_async(response_for_exception, thread_sensitive=False)(request, exc)
return response
return inner
else:
@wraps(get_response)
Variable | Value |
---|---|
exc | NoReverseMatch("Reverse for 'tag_page' with keyword arguments '{'slug': 'auditory\\tcortex'}' not found. 1 pattern(s) tried: ['tag/(?P<slug>[0-9A-Za-z_\\\\-]+)/$']") |
get_response | <bound method BaseHandler._get_response_async of <django.core.handlers.asgi.ASGIHandler object at 0x7faf842754f0>> |
request | <ASGIRequest: GET '/project/p/8f353067/'> |
/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py
, line 233, in _get_response_async
if response is None:
wrapped_callback = self.make_view_atomic(callback)
# If it is a synchronous view, run it in a subthread
if not asyncio.iscoroutinefunction(wrapped_callback):
wrapped_callback = sync_to_async(wrapped_callback, thread_sensitive=True)
try:
response = await wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = await sync_to_async(
self.process_exception_by_middleware,
thread_sensitive=True,
)(e, request)
if response is None:
Variable | Value |
---|---|
callback | <function project at 0x7faf8462eb80> |
callback_args | () |
callback_kwargs | {'url_handle': '8f353067'} |
middleware_method | <asgiref.sync.SyncToAsync object at 0x7faf840e1550> |
request | <ASGIRequest: GET '/project/p/8f353067/'> |
response | None |
self | <django.core.handlers.asgi.ASGIHandler object at 0x7faf842754f0> |
wrapped_callback | <asgiref.sync.SyncToAsync object at 0x7faf7ea7eee0> |
/usr/local/lib/python3.8/site-packages/asgiref/sync.py
, line 423, in __call__
self.get_current_task(),
sys.exc_info(),
func,
*args,
**kwargs,
),
)
ret = await asyncio.wait_for(future, timeout=None)…
if contextvars is not None:
_restore_context(context)
return ret
Variable | Value |
---|---|
args | (functools.partial(<function project at 0x7faf8462eb80>, <ASGIRequest: GET '/project/p/8f353067/'>, url_handle='8f353067'),) |
child | functools.partial(<function project at 0x7faf8462eb80>, <ASGIRequest: GET '/project/p/8f353067/'>, url_handle='8f353067') |
context | <Context object at 0x7faf7d1961c0> |
executor | <concurrent.futures.thread.ThreadPoolExecutor object at 0x7faf954dba60> |
func | <built-in method run of Context object at 0x7faf7d1961c0> |
future | <Future finished exception=NoReverseMatch("Reverse for 'tag_page' with keyword arguments '{'slug': 'auditory\\tcortex'}' not found. 1 pattern(s) tried: ['tag/(?P<slug>[0-9A-Za-z_\\\\-]+)/$']")> |
kwargs | {} |
loop | <_UnixSelectorEventLoop running=True closed=False debug=False> |
self | <asgiref.sync.SyncToAsync object at 0x7faf7ea7eee0> |
/usr/local/lib/python3.8/asyncio/tasks.py
, line 455, in wait_for
loop = events.get_running_loop()
else:
warnings.warn("The loop argument is deprecated since Python 3.8, "
"and scheduled for removal in Python 3.10.",
DeprecationWarning, stacklevel=2)
if timeout is None:
return await fut…
if timeout <= 0:
fut = ensure_future(fut, loop=loop)
if fut.done():
return fut.result()
Variable | Value |
---|---|
fut | <Future finished exception=NoReverseMatch("Reverse for 'tag_page' with keyword arguments '{'slug': 'auditory\\tcortex'}' not found. 1 pattern(s) tried: ['tag/(?P<slug>[0-9A-Za-z_\\\\-]+)/$']")> |
loop | <_UnixSelectorEventLoop running=True closed=False debug=False> |
timeout | None |
/usr/local/lib/python3.8/concurrent/futures/thread.py
, line 57, in run
self.kwargs = kwargs
def run(self):
if not self.future.set_running_or_notify_cancel():
return
try:
result = self.fn(*self.args, **self.kwargs)…
except BaseException as exc:
self.future.set_exception(exc)
# Break a reference cycle with the exception 'exc'
self = None
else:
self.future.set_result(result)
Variable | Value |
---|---|
self | None |
/usr/local/lib/python3.8/site-packages/asgiref/sync.py
, line 462, in thread_handler
# after raising it so exc_info is correctly populated.
if exc_info[1]:
try:
raise exc_info[1]
except BaseException:
return func(*args, **kwargs)
else:
return func(*args, **kwargs)…
finally:
# Only delete the launch_map parent if we set it, otherwise it is
# from someone else.
if parent_set:
del self.launch_map[current_thread]
Variable | Value |
---|---|
args | (functools.partial(<function project at 0x7faf8462eb80>, <ASGIRequest: GET '/project/p/8f353067/'>, url_handle='8f353067'),) |
current_thread | <Thread(ThreadPoolExecutor-0_0, started daemon 140391742961344)> |
exc_info | (None, None, None) |
func | <built-in method run of Context object at 0x7faf7d1961c0> |
kwargs | {} |
loop | <_UnixSelectorEventLoop running=True closed=False debug=False> |
parent_set | True |
self | <asgiref.sync.SyncToAsync object at 0x7faf7ea7eee0> |
source_task | <Task pending name='Task-33794' coro=<StaticFilesWrapper.__call__() running at /usr/local/lib/python3.8/site-packages/channels/staticfiles.py:44> wait_for=<Future pending cb=[_chain_future.<locals>._call_check_cancel() at /usr/local/lib/python3.8/asyncio/futures.py:360, <TaskWakeupMethWrapper object at 0x7faf7f4021c0>()]>> |
/usr/src/project/views.py
, line 280, in project
'user_following':user_following_ids,
'user_collections': get_user_collections(request),
't':t,
'v':v,
'e':e,
}
template = loader.get_template('project/project.html')
return HttpResponse(template.render(context, request))…
def watch(request, url_handle):
t = 0
print(request.method)
if request.method=='POST':
Variable | Value |
---|---|
answer_comment_form | <AnswerCommentForm bound=False, valid=Unknown, fields=(body)> |
answer_form | <AnswerForm bound=False, valid=Unknown, fields=(body)> |
collection_form | <CollectionForm bound=False, valid=Unknown, fields=(name)> |
comment_form | <CommentForm bound=False, valid=Unknown, fields=(body)> |
comments | <TreeQuerySet []> |
context | {'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'comments': <TreeQuerySet []>, 'creater': <User: kendrickkay@gmail.com>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'e': 0, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'questions': <QuerySet []>, 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 't': 0, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'url_options': ['paper', 'project', 'supplements'], 'user_collections': None, 'user_following': [], 'user_upvoted': False, 'v': 0, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>} |
creater | <User: kendrickkay@gmail.com> |
custom_url_form | <CustomURLForm bound=False, valid=Unknown, fields=(name;url)> |
e | 0 |
new_author_form | <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)> |
note | None |
note_form | <NoteForm bound=False, valid=Unknown, fields=(body)> |
project | <Project: Dissociation of tonotopy and pitch in human auditory cortex 754> |
question_form | <QuestionForm bound=False, valid=Unknown, fields=(title;description)> |
questions | <QuerySet []> |
related_projects | <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]> |
request | <ASGIRequest: GET '/project/p/8f353067/'> |
start | 1711648587.2592452 |
t | 0 |
tags | <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]> |
template | <django.template.backends.django.Template object at 0x7faf84063580> |
url_handle | '8f353067' |
user_downvoted | False |
user_following | [] |
user_following_ids | [] |
user_upvoted | False |
v | 0 |
video_form | <VideoForm bound=False, valid=Unknown, fields=(title;video_file)> |
videos | <QuerySet [<Video: Video Abstract (AI generated) 736>]> |
/usr/local/lib/python3.8/site-packages/django/template/backends/django.py
, line 61, in render
@property
def origin(self):
return self.template.origin
def render(self, context=None, request=None):
context = make_context(context, request, autoescape=self.backend.engine.autoescape)
try:
return self.template.render(context)…
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
request | <ASGIRequest: GET '/project/p/8f353067/'> |
self | <django.template.backends.django.Template object at 0x7faf84063580> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
, line 170, in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)…
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
self | <django.template.base.Template object at 0x7faf7f55fc10> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
, line 162, in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
self | <django.template.base.Template object at 0x7faf7f55fc10> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
, line 938, in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
node | <ExtendsNode: extends 'base.html'> |
self | [<ExtendsNode: extends 'base.html'>] |
/usr/local/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
self | <ExtendsNode: extends 'base.html'> |
/usr/local/lib/python3.8/site-packages/django/template/loader_tags.py
, line 150, in render
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.
with context.render_context.push_state(compiled_parent, isolated_context=False):
return compiled_parent._render(context)…
class IncludeNode(Node):
context_key = '__include_context'
def __init__(self, template, *args, extra_context=None, isolated_context=False, **kwargs):
Variable | Value |
---|---|
block_context | <django.template.loader_tags.BlockContext object at 0x7faf7ecaf6a0> |
blocks | {'body': <Block Node: body. Contents: [<TextNode: '\n '>]>, 'css': <Block Node: css. Contents: []>, 'js': <Block Node: js. Contents: [<TextNode: '\n'>]>, 'title': <Block Node: title. Contents: []>} |
compiled_parent | <django.template.base.Template object at 0x7faf7ece0b20> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
node | <django.template.defaulttags.LoadNode object at 0x7faf7d31c9d0> |
self | <ExtendsNode: extends 'base.html'> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
, line 162, in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
self | <django.template.base.Template object at 0x7faf7ece0b20> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
, line 938, in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | ('\n' ' </div>\n' ' </ul>\n' ' </nav>\n' '\n' '\n' ' \n' ' ') |
bits | ['', '\n', '', '\n\n<!DOCTYPE html>\n<html lang="en">\n <head>\n <title>', 'Dissociation of tonotopy and pitch in human auditory cortex', ' - SciTok</title>\n' ' <meta charset="utf-8">\n' ' <meta name="viewport" content="width=device-width, ' 'initial-scale=1">\n' '\n' ' <!-- Favicon -->\n' ' <link rel="icon" href="', '/static/img/scihub_logo.png', '"/>\n' '\n' ' <!-- Bootstrap CSS -->\n' ' <link rel="stylesheet" ' 'href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">\n' ' <!-- Responsive CSS -->\n' ' <link href="', '/static/css/lib/responsive.css', '" rel="stylesheet">\n' ' <!--FONT AWESOME CSS-->\n' ' <link rel="stylesheet" href="', '/static/css/lib/fontawesome/css/all.css', '">\n' ' <!--Iconify CSS-->\n' ' <script ' 'src="https://code.iconify.design/1/1.0.6/iconify.min.js"></script>\n' ' <!-- <link rel=\'stylesheet\' href="', '/static/css/base.css', '"> -->\n <link rel=\'stylesheet\' href="', '/static/css/base.css', '">\n <link href="', '/static/css/accounts/util.css', '" rel="stylesheet">\n' ' <!-- <script src="https://kit.fontawesome.com/9b1fd1db20.js" ' 'crossorigin="anonymous"></script> -->\n' ' <!--Google Fonts CSS-->\n' ' <link rel="preconnect" href="https://fonts.gstatic.com">\n' ' <link ' 'href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" ' 'rel="stylesheet">\n' ' <!--Jquery-->\n' ' <script ' 'src="https://unpkg.com/swiper/swiper-bundle.min.js"></script>\n' ' <script ' 'src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>\n' ' <script ' 'src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.0-rc.2/jquery-ui.js"></script>\n' '\n' ' <script ' 'src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js" ' 'integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW" ' 'crossorigin="anonymous"></script>\n' ' <script ' 'src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>\n' ' <script ' 'src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>\n' ' \n' ' <!--Google Analytics-->\n' ' <script async ' 'src="https://www.googletagmanager.com/gtag/js?id=G-W2N0ZQ3PKH"></script>\n' ' <script src="https://cdn.lr-ingest.io/LogRocket.min.js" ' 'crossorigin="anonymous"></script>\n' ' <!--LogRocket-->\n' '\n' ' <!--Sortable-->\n' ' <script ' 'src="https://raw.githack.com/SortableJS/Sortable/master/Sortable.js"></script>\n' ' \n' ' <!-- summernote -->\n' ' <link ' 'href="https://cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote-lite.min.css" ' 'rel="stylesheet">\n' ' <script ' 'src="https://cdn.jsdelivr.net/npm/summernote@0.8.18/dist/summernote-lite.min.js"></script>\n' '\n' ' <script ' 'src="https://cdn.rawgit.com/xcash/bootstrap-autocomplete/3de7ad37/dist/latest/bootstrap-autocomplete.js"></script>\n' ' \n' ' <script type="text/javascript">\n' ' var path = "', '/project/p/8f353067/', '";\n var request_host = "', 'www.scitok.com', '";\n var request_user = "', 'AnonymousUser', '";\n var request_user_id = "', 'None', '";\n var request_user_email = "', 'None', '";\n var request_user_fullname = "', '', ' ', '', '";\n var csrftoken = \'', 'hRJ6WShEIwWSNzG2mNd7i4j1kQHkE5N62h3HchFGzfLZLTiwkXxMI79Cuz3YcZHR', "';\n" '\n' ' $(document).ready(function(){\n' " if (path=='/project/list/'){\n" ' $("li.nav-text.active").removeClass("active");\n' ' $("#work").addClass("active");\n' " } else if (path.startsWith('/project/p/')){\n" '\n' " … <trimmed 20737 bytes string> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
node | <Block Node: body. Contents: [<TextNode: '\n '>]> |
self | [<django.template.defaulttags.LoadNode object at 0x7faf7d31c9d0>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7faf7d31c3a0>, <TextNode: '\n\n<!DOCTYPE html>\n<html l'>, <Block Node: title. Contents: []>, <TextNode: ' - SciTok</title>\n '>, <django.templatetags.static.StaticNode object at 0x7faf7d31c940>, <TextNode: '"/>\n\n <!-- Bootstr'>, <django.templatetags.static.StaticNode object at 0x7faf7d31c220>, <TextNode: '" rel="stylesheet">\n '>, <django.templatetags.static.StaticNode object at 0x7faf7d31cca0>, <TextNode: '">\n <!--Iconify CS'>, <django.templatetags.static.StaticNode object at 0x7faf7d31c790>, <TextNode: '"> -->\n <link rel='>, <django.templatetags.static.StaticNode object at 0x7faf7d31c3d0>, <TextNode: '">\n <link href="'>, <django.templatetags.static.StaticNode object at 0x7faf7d31c7c0>, <TextNode: '" rel="stylesheet">\n '>, <Variable Node: request.path>, <TextNode: '";\n var reques'>, <Variable Node: request.get_host>, <TextNode: '";\n var reques'>, <Variable Node: request.user>, <TextNode: '";\n var reques'>, <Variable Node: request.user.id>, <TextNode: '";\n var reques'>, <Variable Node: request.user.id>, <TextNode: '";\n var reques'>, <Variable Node: request.user.first_name>, <TextNode: ' '>, <Variable Node: request.user.last_name>, <TextNode: '";\n var csrfto'>, <Variable Node: csrf_token>, <TextNode: "';\n\n $(documen">, <Block Node: css. Contents: []>, <TextNode: '\n\n </head>\n\n <body>'>, <django.templatetags.static.StaticNode object at 0x7faf7ecafc40>, <TextNode: '"></a>\n '>, <django.template.defaulttags.URLNode object at 0x7faf7ecaf9d0>, <TextNode: '">\n '>, <django.templatetags.static.StaticNode object at 0x7faf7ee69e50>, <TextNode: '"></a>\n '>, <IfNode>, <TextNode: ' menu" id="menu-projects"'>, <django.template.defaulttags.URLNode object at 0x7faf7ee694c0>, <TextNode: '">Q&A</a>\n '>, <IfNode>, <TextNode: ' menu" id="menu-livetalks'>, <django.template.defaulttags.URLNode object at 0x7faf7ee698e0>, <TextNode: '">Jobs</a>\n '>, <IfNode>, <TextNode: ' menu" id="menu-hiring_fo'>, <django.template.defaulttags.URLNode object at 0x7faf7ebe73a0>, <TextNode: '">Hiring</a>\n '>, <django.template.defaulttags.URLNode object at 0x7faf7ebe7df0>, <TextNode: '">\n \n'>, <IfNode>, <TextNode: '\n \n '>, <django.templatetags.static.StaticNode object at 0x7faf7ec75850>, <TextNode: '"></a>\n '>, <django.template.defaulttags.URLNode object at 0x7faf7ec75910>, <TextNode: '" class="menu-logo">\n '>, <django.templatetags.static.StaticNode object at 0x7faf7ec75460>, <TextNode: '"></a>\n '>, <django.template.defaulttags.URLNode object at 0x7faf7ec75250>, <TextNode: '">\n '>, <IfNode>, <TextNode: '>\n '>, <django.templatetags.static.StaticNode object at 0x7faf7ec75d00>, <TextNode: '">\n '>, <django.templatetags.static.StaticNode object at 0x7faf7ed49190>, <TextNode: '">\n '>, <django.template.defaulttags.URLNode object at 0x7faf7ed494c0>, <TextNode: '">\n '>, <IfNode>, <TextNode: '>\n '>, <django.templatetags.static.StaticNode object at 0x7faf7ed492e0>, <TextNode: '">\n '>, <django.templatetags.static.StaticNode object at 0x7faf7ed49b50>, <TextNode: '">\n '>, <IfNode>, <TextNode: '>\n '>, <IfNode>, <TextNode: '>\n '>, <django.templatetags.static.StaticNode object at 0x7faf7f40bbe0>, <TextNode: '">\n '>, <django.templatetags.static.StaticNode object at 0x7faf7f40b8b0>, <TextNode: '">\n '>, <django.template.defaulttags.URLNode object at 0x7faf7f40b370>, <TextNode: '" >\… <trimmed 6707 bytes string> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
self | <Block Node: body. Contents: [<TextNode: '\n '>]> |
/usr/local/lib/python3.8/site-packages/django/template/loader_tags.py
, line 62, 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 |
---|---|
block | <Block Node: body. Contents: [<TextNode: '\n\n'>, <django.template.loader_tags.IncludeNode object at 0x7faf7d1d9b80>, <TextNode: '\n'>, <django.template.loader_tags.IncludeNode object at 0x7faf7d1d9460>, <TextNode: '\n\n<div class="container-f'>, <Variable Node: videos|url_of_videos:v>, <TextNode: '" type=\'video/mp4\' />\n '>, <Variable Node: videos|url_of_videos:v>, <TextNode: '" type=\'video/mp4\' />\n '>, <django.templatetags.static.StaticNode object at 0x7faf7d1d9e50>, <TextNode: '" alt="logo">\n <vi'>, <Variable Node: videos|url_of_videos:v>, <TextNode: '" type=\'video/mp4\' codecs'>, <Variable Node: videos|url_of_videos:v>, <TextNode: '" type=\'video/mp4\' />\n <'>, <Variable Node: videos.0.video_url>, <TextNode: '\' type="video/mp4" />\n '>, <Variable Node: project.url_handle>, <TextNode: '">'>, <Variable Node: project.title>, <TextNode: '</h1>\n </div>\n '>, <Variable Node: project.view_count|intcomma>, <TextNode: ' views • '>, <Variable Node: project.created_at|date:"M j, Y">, <TextNode: '\n </h5>\n <d'>, <IfNode>, <TextNode: '\n <div class'>, <IfNode>, <TextNode: '\n '>, <IfEqualNode>, <TextNode: '\n onmouseo'>, <IfEqualNode>, <TextNode: '></span-->\n '>, <django.templatetags.static.StaticNode object at 0x7faf7f4ae490>, <TextNode: '" '>, <IfEqualNode>, <TextNode: '>\n <!--spa'>, <IfEqualNode>, <TextNode: '></span-->\n '>, <django.templatetags.static.StaticNode object at 0x7faf7eb48f70>, <TextNode: '" '>, <IfEqualNode>, <TextNode: '>\n <span c'>, <IfEqualNode>, <TextNode: '>'>, <Variable Node: project.vote_count|number_formatted>, <TextNode: '</span>\n </d'>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n onmouse'>, <django.templatetags.static.StaticNode object at 0x7faf7ed68460>, <TextNode: '" id="save" '>, <IfNode>, <TextNode: '>\n <img sr'>, <django.templatetags.static.StaticNode object at 0x7faf7d5be940>, <TextNode: '" id="saved" '>, <IfNode>, <TextNode: '>\n <span c'>, <IfNode>, <TextNode: '>Save'>, <IfNode>, <TextNode: '</span>\n </d'>, <django.templatetags.static.StaticNode object at 0x7faf7f55c520>, <TextNode: '">\n <span '>, <django.templatetags.static.StaticNode object at 0x7faf7f55c340>, <TextNode: '">\n <span '>, <django.templatetags.static.StaticNode object at 0x7faf7f55c490>, <TextNode: '">\n </div>\n '>, <django.templatetags.static.StaticNode object at 0x7faf7f55cf70>, <TextNode: '">\n </div>\n\n '>, <ForNode: for author in project|order_project_authors, tail_len: 23>, <TextNode: '\n </div>\n '>, <Variable Node: project.url_handle>, <TextNode: '\' class="row mt-3 mb-3 au'>, <ForNode: for author in project|order_project_authors, tail_len: 9>, <TextNode: '\n </select>\n '>, <ForNode: for video in project|project_videos, tail_len: 13>, <TextNode: '\n '>, <ForNode: for custom_url in project|project_custom_urls, tail_len: 5>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n </div>\n <'>, <Variable Node: project.url_handle>, <TextNode: '">\n <p class="bo'>, <Variable Node: project.description|video_timestamp:project.url_handle>, <TextNode: '</p>\n </div>\n\n '>, <ForNode: for tag in tags, tail_len: 7>, <TextNode: '\n </div>\n </d'>, <Variable Node: questions.count>, <TextNode: ' Question'>, <IfNode>, <TextNode: '</a>\n <a class="'>, <Variable Node: comments.count>, <TextNode: ' Comment'>, <IfNode>, <TextNode: '</a>\n <a class="'>, <IfNode>, <TextNode: '\n </div>\n '>, <django.template.defaulttags.CsrfTokenNode object at 0x7faf7d412a00>, <TextNode: '\n <div '>, <IfNode>, <TextNode: '>\n '>, <Variable Node: question_form.title>, <TextNode: '\n '>, <Variable Node: question_form.description>, <TextNode: '\n </div>\n '>, <I… <trimmed 8307 bytes string> |
block_context | <django.template.loader_tags.BlockContext object at 0x7faf7ecaf6a0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
push | <Block Node: body. Contents: [<TextNode: '\n\n'>, <django.template.loader_tags.IncludeNode object at 0x7faf7d1d9b80>, <TextNode: '\n'>, <django.template.loader_tags.IncludeNode object at 0x7faf7d1d9460>, <TextNode: '\n\n<div class="container-f'>, <Variable Node: videos|url_of_videos:v>, <TextNode: '" type=\'video/mp4\' />\n '>, <Variable Node: videos|url_of_videos:v>, <TextNode: '" type=\'video/mp4\' />\n '>, <django.templatetags.static.StaticNode object at 0x7faf7d1d9e50>, <TextNode: '" alt="logo">\n <vi'>, <Variable Node: videos|url_of_videos:v>, <TextNode: '" type=\'video/mp4\' codecs'>, <Variable Node: videos|url_of_videos:v>, <TextNode: '" type=\'video/mp4\' />\n <'>, <Variable Node: videos.0.video_url>, <TextNode: '\' type="video/mp4" />\n '>, <Variable Node: project.url_handle>, <TextNode: '">'>, <Variable Node: project.title>, <TextNode: '</h1>\n </div>\n '>, <Variable Node: project.view_count|intcomma>, <TextNode: ' views • '>, <Variable Node: project.created_at|date:"M j, Y">, <TextNode: '\n </h5>\n <d'>, <IfNode>, <TextNode: '\n <div class'>, <IfNode>, <TextNode: '\n '>, <IfEqualNode>, <TextNode: '\n onmouseo'>, <IfEqualNode>, <TextNode: '></span-->\n '>, <django.templatetags.static.StaticNode object at 0x7faf7f4ae490>, <TextNode: '" '>, <IfEqualNode>, <TextNode: '>\n <!--spa'>, <IfEqualNode>, <TextNode: '></span-->\n '>, <django.templatetags.static.StaticNode object at 0x7faf7eb48f70>, <TextNode: '" '>, <IfEqualNode>, <TextNode: '>\n <span c'>, <IfEqualNode>, <TextNode: '>'>, <Variable Node: project.vote_count|number_formatted>, <TextNode: '</span>\n </d'>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n onmouse'>, <django.templatetags.static.StaticNode object at 0x7faf7ed68460>, <TextNode: '" id="save" '>, <IfNode>, <TextNode: '>\n <img sr'>, <django.templatetags.static.StaticNode object at 0x7faf7d5be940>, <TextNode: '" id="saved" '>, <IfNode>, <TextNode: '>\n <span c'>, <IfNode>, <TextNode: '>Save'>, <IfNode>, <TextNode: '</span>\n </d'>, <django.templatetags.static.StaticNode object at 0x7faf7f55c520>, <TextNode: '">\n <span '>, <django.templatetags.static.StaticNode object at 0x7faf7f55c340>, <TextNode: '">\n <span '>, <django.templatetags.static.StaticNode object at 0x7faf7f55c490>, <TextNode: '">\n </div>\n '>, <django.templatetags.static.StaticNode object at 0x7faf7f55cf70>, <TextNode: '">\n </div>\n\n '>, <ForNode: for author in project|order_project_authors, tail_len: 23>, <TextNode: '\n </div>\n '>, <Variable Node: project.url_handle>, <TextNode: '\' class="row mt-3 mb-3 au'>, <ForNode: for author in project|order_project_authors, tail_len: 9>, <TextNode: '\n </select>\n '>, <ForNode: for video in project|project_videos, tail_len: 13>, <TextNode: '\n '>, <ForNode: for custom_url in project|project_custom_urls, tail_len: 5>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n </div>\n <'>, <Variable Node: project.url_handle>, <TextNode: '">\n <p class="bo'>, <Variable Node: project.description|video_timestamp:project.url_handle>, <TextNode: '</p>\n </div>\n\n '>, <ForNode: for tag in tags, tail_len: 7>, <TextNode: '\n </div>\n </d'>, <Variable Node: questions.count>, <TextNode: ' Question'>, <IfNode>, <TextNode: '</a>\n <a class="'>, <Variable Node: comments.count>, <TextNode: ' Comment'>, <IfNode>, <TextNode: '</a>\n <a class="'>, <IfNode>, <TextNode: '\n </div>\n '>, <django.template.defaulttags.CsrfTokenNode object at 0x7faf7d412a00>, <TextNode: '\n <div '>, <IfNode>, <TextNode: '>\n '>, <Variable Node: question_form.title>, <TextNode: '\n '>, <Variable Node: question_form.description>, <TextNode: '\n </div>\n '>, <I… <trimmed 8307 bytes string> |
self | <Block Node: body. Contents: [<TextNode: '\n '>]> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
, line 938, in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | '">\n </div>\n\n ' |
bits | ['\n\n', '<script type="text/javascript">\n' ' $(document).ready(function(){\n' " $('#logged-out-modal').on('show.bs.modal', function (event) {\n" ' var button = $(event.relatedTarget); // Button that triggered the ' 'modal\n' " var data_html = button.attr('data-html');\n" " var data_img = button.attr('data-img');\n" ' var modal = $(this);\n' " modal.find('.modal-body p').html(data_html);\n" ' modal.find(\'.modal-body img\').attr("src",data_img);\n' ' })\n' ' });\n' '</script>\n' ' \n' '<div class="modal fade" id="logged-out-modal" tabindex="-1" role="dialog" ' 'aria-hidden="true">\n' ' <div class="modal-dialog modal-dialog-centered" role="document">\n' ' <div class="modal-content">\n' ' <div class="modal-header">\n' ' <h5 class="modal-title header-1 text-center w-100">Hey there 👋</h5>\n' ' <button type="button" class="close" data-dismiss="modal" ' 'aria-label="Close">\n' ' <span aria-hidden="true">×</span>\n' ' </button>\n' ' </div>\n' ' <div class="modal-body">\n' ' <p class="body-1"></p>\n' ' <img>\n' ' </div>\n' ' <div class="modal-footer">\n' ' <a class="normal-btn active" href="/accounts/signup" ' 'target="_blank">Create Account</a>\n' ' <a class="normal-btn" href="/accounts/login" target="_blank">Log ' 'In</a>\n' ' <button type="button" class="normal-btn" data-dismiss="modal">Maybe ' 'later</button>\n' ' </div>\n' ' </div>\n' ' </div>\n' '</div>', '\n', '<div id="loadingModal" class="modal" data-backdrop="static" ' 'data-keyboard="false">\n' ' <div class="modal-dialog">\n' ' <div class="modal-content">\n' ' <div class="modal-header">\n' ' <h1>Processing...</h1>\n' ' <!-- <h2>Video uploading may take several minutes.</h2> -->\n' ' </div>\n' ' <div class="modal-body">\n' ' <div class="progress progress-striped active">\n' ' <div class="progress-bar" style="width: 100%;"></div>\n' ' </div>\n' ' </div>\n' ' </div><!-- /.modal-content -->\n' ' </div><!-- /.modal-dialog -->\n' '</div><!-- /.modal -->', '\n' '\n' '<div class="container-fluid pt-3 px-0 pb-3 d-block mx-auto" ' 'id="body-container">\n' ' <div id="adjuster"></div>\n' ' <div class="row">\n' ' <div class="col-9">\n' '\n' ' <div id="video-wrapper">\n' ' <video id="video" class=\'w-100 video-js vjs-default-skin\' controls ' 'autoplay="autoplay" data-setup=\'{ "playbackRates": [0.5, 1, 1.5, 2] }\'>\n' ' <source id=\'video_source\' src="', 'https://scitok.s3-us-west-1.amazonaws.com/user_6404/project/754/video/736/736.Video ' 'Abstract (AI generated)', '" type=\'video/mp4\' />\n' ' Your browser does not support HTML5 video.\n' ' </video>\n' ' </div>\n' '<!-- <div id="video-wrapper">\n' ' <video id="video" class=\'w-100\' controls autoplay="autoplay" src="', 'https://scitok.s3-us-west-1.amazonaws.com/user_6404/project/754/video/736/736.Video ' 'Abstract (AI generated)', '" type=\'video/mp4\' />\n' ' Your browser does not support HTML5 video.\n' ' </video>\n' ' </div> -->\n' '<!-- !working <div id="video-wrapper">\n' ' <img src="', '/static/img/logo-watermark.png', '" alt="logo">\n' ' <video id="video" class=\'w-100\' controls controlsList="nodownload" ' 'autoplay="autoplay" />\n' ' <source id="video-source" src="', 'https://scitok.s3-us-west-1.amazonaws.com/user_6404/project/754/video/736/736.Video ' 'Abstract (AI generated)', '" type=\'video/mp4\' codecs="avc1.4d002a, mp4a.40.2">\n' ' Your browser does not support HTML5 video.\n' ' </video>\n' ' </div> -->\n' '<!-- <video id="example_video_1" class="video-js vjs-default-skin" ' 'controls preload="none" width="640" height="264"\n' ' data-setup="{}">\n' ' <source src="', 'https://scitok.s3-us-west-1.amazonaws.com/user_6404/project/754/video/736/736.Video ' 'Abstract (AI g… <trimmed 10400 bytes string> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
node | <ForNode: for author in project|order_project_authors, tail_len: 23> |
self | [<TextNode: '\n\n'>, <django.template.loader_tags.IncludeNode object at 0x7faf7d1d9b80>, <TextNode: '\n'>, <django.template.loader_tags.IncludeNode object at 0x7faf7d1d9460>, <TextNode: '\n\n<div class="container-f'>, <Variable Node: videos|url_of_videos:v>, <TextNode: '" type=\'video/mp4\' />\n '>, <Variable Node: videos|url_of_videos:v>, <TextNode: '" type=\'video/mp4\' />\n '>, <django.templatetags.static.StaticNode object at 0x7faf7d1d9e50>, <TextNode: '" alt="logo">\n <vi'>, <Variable Node: videos|url_of_videos:v>, <TextNode: '" type=\'video/mp4\' codecs'>, <Variable Node: videos|url_of_videos:v>, <TextNode: '" type=\'video/mp4\' />\n <'>, <Variable Node: videos.0.video_url>, <TextNode: '\' type="video/mp4" />\n '>, <Variable Node: project.url_handle>, <TextNode: '">'>, <Variable Node: project.title>, <TextNode: '</h1>\n </div>\n '>, <Variable Node: project.view_count|intcomma>, <TextNode: ' views • '>, <Variable Node: project.created_at|date:"M j, Y">, <TextNode: '\n </h5>\n <d'>, <IfNode>, <TextNode: '\n <div class'>, <IfNode>, <TextNode: '\n '>, <IfEqualNode>, <TextNode: '\n onmouseo'>, <IfEqualNode>, <TextNode: '></span-->\n '>, <django.templatetags.static.StaticNode object at 0x7faf7f4ae490>, <TextNode: '" '>, <IfEqualNode>, <TextNode: '>\n <!--spa'>, <IfEqualNode>, <TextNode: '></span-->\n '>, <django.templatetags.static.StaticNode object at 0x7faf7eb48f70>, <TextNode: '" '>, <IfEqualNode>, <TextNode: '>\n <span c'>, <IfEqualNode>, <TextNode: '>'>, <Variable Node: project.vote_count|number_formatted>, <TextNode: '</span>\n </d'>, <IfNode>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n\n onmouse'>, <django.templatetags.static.StaticNode object at 0x7faf7ed68460>, <TextNode: '" id="save" '>, <IfNode>, <TextNode: '>\n <img sr'>, <django.templatetags.static.StaticNode object at 0x7faf7d5be940>, <TextNode: '" id="saved" '>, <IfNode>, <TextNode: '>\n <span c'>, <IfNode>, <TextNode: '>Save'>, <IfNode>, <TextNode: '</span>\n </d'>, <django.templatetags.static.StaticNode object at 0x7faf7f55c520>, <TextNode: '">\n <span '>, <django.templatetags.static.StaticNode object at 0x7faf7f55c340>, <TextNode: '">\n <span '>, <django.templatetags.static.StaticNode object at 0x7faf7f55c490>, <TextNode: '">\n </div>\n '>, <django.templatetags.static.StaticNode object at 0x7faf7f55cf70>, <TextNode: '">\n </div>\n\n '>, <ForNode: for author in project|order_project_authors, tail_len: 23>, <TextNode: '\n </div>\n '>, <Variable Node: project.url_handle>, <TextNode: '\' class="row mt-3 mb-3 au'>, <ForNode: for author in project|order_project_authors, tail_len: 9>, <TextNode: '\n </select>\n '>, <ForNode: for video in project|project_videos, tail_len: 13>, <TextNode: '\n '>, <ForNode: for custom_url in project|project_custom_urls, tail_len: 5>, <TextNode: '\n '>, <IfNode>, <TextNode: '\n </div>\n <'>, <Variable Node: project.url_handle>, <TextNode: '">\n <p class="bo'>, <Variable Node: project.description|video_timestamp:project.url_handle>, <TextNode: '</p>\n </div>\n\n '>, <ForNode: for tag in tags, tail_len: 7>, <TextNode: '\n </div>\n </d'>, <Variable Node: questions.count>, <TextNode: ' Question'>, <IfNode>, <TextNode: '</a>\n <a class="'>, <Variable Node: comments.count>, <TextNode: ' Comment'>, <IfNode>, <TextNode: '</a>\n <a class="'>, <IfNode>, <TextNode: '\n </div>\n '>, <django.template.defaulttags.CsrfTokenNode object at 0x7faf7d412a00>, <TextNode: '\n <div '>, <IfNode>, <TextNode: '>\n '>, <Variable Node: question_form.title>, <TextNode: '\n '>, <Variable Nod… <trimmed 8491 bytes string> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
self | <ForNode: for author in project|order_project_authors, tail_len: 23> |
/usr/local/lib/python3.8/site-packages/django/template/defaulttags.py
, line 211, in render
unpacked_vars = dict(zip(self.loopvars, item))
pop_context = True
context.update(unpacked_vars)
else:
context[self.loopvars[0]] = item
for node in self.nodelist_loop:
nodelist.append(node.render_annotated(context))…
if pop_context:
# Pop the loop variables pushed on to the context to avoid
# the context ending up in an inconsistent state when other
# tags (e.g., include and with) push data to context.
context.pop()
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
i | 1 |
item | <User: mesik002@umn.edu> |
len_values | 4 |
loop_dict | {'counter': 2, 'counter0': 1, 'first': False, 'last': False, 'parentloop': {}, 'revcounter': 3, 'revcounter0': 2} |
node | <django.template.loader_tags.IncludeNode object at 0x7faf7f51e100> |
nodelist | ['\n <div class="author-container" id="author_div_', '6436', '">\n <a class="author-visible" target="_blank" href="', '/emily-j--allen/', '">\n ', '', '\n <div class="circular">\n ', '\n' ' <img ' 'src="https://scitok.s3.amazonaws.com/user_6436/profile/profile_img?AWSAccessKeyId=AKIAIHJLJGIGBNOJ3BXA&Signature=p%2BBxpDGqJPCUuji0a3E627tim70%3D&Expires=1711652187">\n' ' ', '\n' ' </div>\n' ' <p class="header-2 text-center"><!--a target="_blank" ' 'class="w-100" href="', '/emily-j--allen/', '"-->', 'Emily', ' ', 'J. Allen', '<!--/a--></p>\n' ' </a>\n' ' <div class="author-card">\n' ' ', '\n' '\n' ' \n' ' <div class="row d-block">\n' ' <div class="d-block" style="width: 69%">\n' ' <div class="circular mx-0">\n' ' \n' ' <a target="_blank" href="/emily-j--allen/"><img ' 'src="https://scitok.s3.amazonaws.com/user_6436/profile/profile_img?AWSAccessKeyId=AKIAIHJLJGIGBNOJ3BXA&Signature=p%2BBxpDGqJPCUuji0a3E627tim70%3D&Expires=1711652187"></a>\n' ' \n' ' </div>\n' ' <p class="author-name float-left header-2 m-b-0 w-100"><a ' 'target="_blank" class="w-100" href="/emily-j--allen/">Emily J. ' 'Allen</a></p>\n' ' </div>\n' ' \n' ' \n' ' <button class="unfollow-user normal-btn float-right active" ' 'id="unfollow-user-6436" value="6436" style="width: 100px" ' 'hidden><span>Following</span></button>\n' ' <button class="follow-user normal-btn float-right" ' 'id="follow-user-6436" value="6436" \n' ' \n' ' data-toggle="modal" data-target="#logged-out-modal" ' 'data-html="Create <strong>an account</strong> to get alerts when this author ' 'publishes new projects." data-img="/static/img/illustrations/illu-3.png" ' '>Follow</button>\n' ' \n' ' </div>\n' ' \n' ' <div class="row d-block w-100">\n' ' \n' ' <p class="author-num-projects float-left m-t-10 m-b-17 ' 'w-100">\n' ' \n' ' Published </span><span class="header-2">2 ' 'Projects</span>\n' ' </p>\n' ' <p class="float-left">\n' ' <a class="tag author-tags" ' 'href="/tag/neuroscience/">Neuroscience</a> <a class="tag author-tags" ' 'href="/tag/fmri/">Fmri</a> <a class="tag author-tags" ' 'href="/tag/neuroimaging/">Neuroimaging</a> <a class="tag author-tags" ' 'href="/tag/high-resolution-fmri/">High Resolution Fmri</a> <a class="tag ' 'author-tags" href="/tag/tonotopy/">Tonotopy</a> \n' ' </p>\n' ' </div>', '\n' ' </div>\n' ' <div class="author-permission-div d-none show-on-edit">\n' ' <select name="author-permission" class="author-permission">\n' '\n' ' <option value="0" ', ' selected ', '>View Only</option>\n <option value="1" ', '', '>Can Edit</option>\n' ' </select>\n' ' </div>\n' ' <img class=\'icon-close d-none show-on-edit\' src="', '/static/img/icons/close-icon.png', '">\n\n </div>\n ', '\n <div class="author-container" id="author_div_', '6437', '">\n <a class="author-visible" target="_blank" href="', '/juraj-mesik/', '">\n ', '', '\n <div class="circular">\n ', '\n' ' <img ' 'src="https://scitok.s3.amazonaws.com/user_6437/profile/profile_img?AWSAccessKeyId=AKIAIHJLJGIGBNOJ3BXA&Signature=CVOp2IvnATjH4XT%2BwNEvyrvW7oE%3D&Expires=1711652187">\n' ' ', '\n' ' </div>\n' ' <p class="header-2 text-center"><!--a target="_blank" ' … <trimmed 4275 bytes string> |
num_loopvars | 1 |
parentloop | {} |
pop_context | False |
self | <ForNode: for author in project|order_project_authors, tail_len: 23> |
unpack | False |
values | <QuerySet [<User: prac0010@umn.edu>, <User: mesik002@umn.edu>, <User: kay@umn.edu>, <User: oxenham@umn.edu>]> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
self | <django.template.loader_tags.IncludeNode object at 0x7faf7f51e100> |
/usr/local/lib/python3.8/site-packages/django/template/loader_tags.py
, line 195, in render
values = {
name: var.resolve(context)
for name, var in self.extra_context.items()
}
if self.isolated_context:
return template.render(context.new(values))
with context.push(**values):
return template.render(context)…
@register.tag('block')
def do_block(parser, token):
"""
Define a block that can be overridden by child templates.
Variable | Value |
---|---|
cache | {('snippets/author-card.html',): <django.template.base.Template object at 0x7faf7f47e640>} |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
self | <django.template.loader_tags.IncludeNode object at 0x7faf7f51e100> |
template | <django.template.base.Template object at 0x7faf7f47e640> |
template_name | ('snippets/author-card.html',) |
values | {} |
/usr/local/lib/python3.8/site-packages/django/template/base.py
, line 172, in render
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)
else:
return self._render(context)…
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
is True and an exception occurs during parsing, the exception is
annotated with contextual line information where it occurred in the
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
self | <django.template.base.Template object at 0x7faf7f47e640> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
, line 162, in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
self | <django.template.base.Template object at 0x7faf7f47e640> |
/usr/local/lib/python3.8/site-packages/django/template/base.py
, line 938, in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bit | ('</span>\n' ' </p>\n' ' <p class="float-left">\n' ' ') |
bits | ['', '\n', '', '\n' ' \n' ' <div class="row d-block">\n' ' <div class="d-block" style="width: 69%">\n' ' <div class="circular mx-0">\n' ' ', '\n' ' <a target="_blank" href="/juraj-mesik/"><img ' 'src="https://scitok.s3.amazonaws.com/user_6437/profile/profile_img?AWSAccessKeyId=AKIAIHJLJGIGBNOJ3BXA&Signature=CVOp2IvnATjH4XT%2BwNEvyrvW7oE%3D&Expires=1711652187"></a>\n' ' ', '\n' ' </div>\n' ' <p class="author-name float-left header-2 m-b-0 w-100"><a ' 'target="_blank" class="w-100" href="', '/juraj-mesik/', '">', 'Juraj', ' ', 'Mesik', '</a></p>\n </div>\n ', '\n' ' \n' ' <button class="unfollow-user normal-btn float-right active" ' 'id="unfollow-user-6437" value="6437" style="width: 100px" ' 'hidden><span>Following</span></button>\n' ' <button class="follow-user normal-btn float-right" ' 'id="follow-user-6437" value="6437" \n' ' \n' ' data-toggle="modal" data-target="#logged-out-modal" ' 'data-html="Create <strong>an account</strong> to get alerts when this author ' 'publishes new projects." data-img="/static/img/illustrations/illu-3.png" ' '>Follow</button>\n' ' ', '\n' ' </div>\n' ' \n' ' <div class="row d-block w-100">\n' ' ', '', '\n' ' <p class="author-num-projects float-left m-t-10 m-b-17 ' 'w-100">\n' ' ', '', '\n Published </span><span class="header-2">', '1', ' Project', '', '</span>\n' ' </p>\n' ' <p class="float-left">\n' ' '] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
node | <ForNode: for tag in author.profile.get_tags_frequently_published, tail_len: 5> |
self | [<django.template.defaulttags.LoadNode object at 0x7faf6e622c70>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7faf6e622a60>, <TextNode: '\n \n '>, <IfNode>, <TextNode: '\n </div>'>, <django.template.defaulttags.URLNode object at 0x7faf7f461e20>, <TextNode: '">'>, <Variable Node: author.first_name>, <TextNode: ' '>, <Variable Node: author.last_name>, <TextNode: '</a></p>\n '>, <IfNode>, <TextNode: '\n </div>\n '>, <IfNode>, <TextNode: '\n <p cla'>, <IfNode>, <TextNode: '\n Publ'>, <Variable Node: author.profile.num_projects>, <TextNode: ' Project'>, <IfNode>, <TextNode: '</span>\n '>, <ForNode: for tag in author.profile.get_tags_frequently_published, tail_len: 5>, <TextNode: '\n </p>\n '>] |
/usr/local/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
self | <ForNode: for tag in author.profile.get_tags_frequently_published, tail_len: 5> |
/usr/local/lib/python3.8/site-packages/django/template/defaulttags.py
, line 211, in render
unpacked_vars = dict(zip(self.loopvars, item))
pop_context = True
context.update(unpacked_vars)
else:
context[self.loopvars[0]] = item
for node in self.nodelist_loop:
nodelist.append(node.render_annotated(context))…
if pop_context:
# Pop the loop variables pushed on to the context to avoid
# the context ending up in an inconsistent state when other
# tags (e.g., include and with) push data to context.
context.pop()
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
i | 4 |
item | <Tag: Auditory Cortex> |
len_values | 5 |
loop_dict | {'counter': 5, 'counter0': 4, 'first': False, 'last': True, 'parentloop': {'counter': 2, 'counter0': 1, 'first': False, 'last': False, 'parentloop': {}, 'revcounter': 3, 'revcounter0': 2}, 'revcounter': 1, 'revcounter0': 0} |
node | <django.template.defaulttags.URLNode object at 0x7faf7eb41be0> |
nodelist | ['<a class="tag author-tags" href="', '/tag/neuroscience/', '">', 'Neuroscience', '</a> ', '<a class="tag author-tags" href="', '/tag/fmri/', '">', 'Fmri', '</a> ', '<a class="tag author-tags" href="', '/tag/tonotopy/', '">', 'Tonotopy', '</a> ', '<a class="tag author-tags" href="', '/tag/timbre/', '">', 'Timbre', '</a> ', '<a class="tag author-tags" href="'] |
num_loopvars | 1 |
parentloop | {'counter': 2, 'counter0': 1, 'first': False, 'last': False, 'parentloop': {}, 'revcounter': 3, 'revcounter0': 2} |
pop_context | False |
self | <ForNode: for tag in author.profile.get_tags_frequently_published, tail_len: 5> |
unpack | False |
values | [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>] |
/usr/local/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
self | <django.template.defaulttags.URLNode object at 0x7faf7eb41be0> |
/usr/local/lib/python3.8/site-packages/django/template/defaulttags.py
, line 446, in render
current_app = context.request.resolver_match.namespace
except AttributeError:
current_app = None
# Try to look up the URL. If it fails, raise NoReverseMatch unless the
# {% url ... as var %} construct is used, in which case return nothing.
url = ''
try:
url = reverse(view_name, args=args, kwargs=kwargs, current_app=current_app)…
except NoReverseMatch:
if self.asvar is None:
raise
if self.asvar:
context[self.asvar] = url
Variable | Value |
---|---|
NoReverseMatch | <class 'django.urls.exceptions.NoReverseMatch'> |
args | [] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'project': <Project: Dissociation of tonotopy and pitch in human auditory cortex 754>, 'creater': <User: kendrickkay@gmail.com>, 'tags': <QuerySet [<Tag: Neuroscience>, <Tag: Fmri>, <Tag: Tonotopy>, <Tag: Timbre>, <Tag: Auditory Cortex>, <Tag: Encoding>, <Tag: Frequency>, <Tag: Pitch>]>, 'videos': <QuerySet [<Video: Video Abstract (AI generated) 736>]>, 'questions': <QuerySet []>, 'comments': <TreeQuerySet []>, 'note_form': <NoteForm bound=False, valid=Unknown, fields=(body)>, 'url_options': ['paper', 'project', 'supplements'], 'related_projects': <QuerySet [<Project: One way to give a talk 214>, <Project: Autoimmunity to extracellular DNA 113>, <Project: How Dinosaur Brains and Bat Noses Can Save the World 223>, <Project: Human T cell subsets in health and diseases 103>, <Project: Modeling the dynamics of mouse iron body distribution: hepcidin is necessary but not sufficient 1032>, <Project: Integrated molecular, clinical, and ontological analysis identifies overlooked disease relationships 318>, <Project: Distinct neural contributions to metacognition for detecting (but not discriminating) visual stimuli 406>, <Project: Very early initiation of antiretroviral therapy that inform HIV cure strategies 105>, <Project: Wearable 3D Machine Knitting 177>, <Project: Mitigación de emisiones de metano en vacuno. 197>]>, 'user_upvoted': False, 'collection_form': <CollectionForm bound=False, valid=Unknown, fields=(name)>, 'custom_url_form': <CustomURLForm bound=False, valid=Unknown, fields=(name;url)>, 'new_author_form': <NewAuthorForm bound=False, valid=Unknown, fields=(first_name;last_name;email)>, 'video_form': <VideoForm bound=False, valid=Unknown, fields=(title;video_file)>, 'question_form': <QuestionForm bound=False, valid=Unknown, fields=(title;description)>, 'answer_form': <AnswerForm bound=False, valid=Unknown, fields=(body)>, 'answer_comment_form': <AnswerCommentForm bound=False, valid=Unknown, fields=(body)>, 'comment_form': <CommentForm bound=False, valid=Unknown, fields=(body)>, 'user_following': [], 'user_collections': None, 't': 0, 'v': 0, 'e': 0}] |
current_app | 'project' |
kwargs | {'slug': 'auditory\tcortex'} |
reverse | <function reverse at 0x7faf93b19820> |
self | <django.template.defaulttags.URLNode object at 0x7faf7eb41be0> |
url | '' |
view_name | 'tags:tag_page' |
/usr/local/lib/python3.8/site-packages/django/urls/base.py
, line 86, in reverse
(key, ':'.join(resolved_path))
)
else:
raise NoReverseMatch("%s is not a registered namespace" % key)
if ns_pattern:
resolver = get_ns_resolver(ns_pattern, resolver, tuple(ns_converters.items()))
return resolver._reverse_with_prefix(view, prefix, *args, **kwargs)…
reverse_lazy = lazy(reverse, str)
def clear_url_caches():
Variable | Value |
---|---|
app_list | ['tags'] |
args | [] |
current_app | 'project' |
current_ns | 'project' |
current_path | None |
extra | 'tag/' |
kwargs | {'slug': 'auditory\tcortex'} |
ns | 'tags' |
ns_converters | {} |
ns_pattern | 'tag/' |
path | ['tags'] |
prefix | '/' |
resolved_path | ['tags'] |
resolver | <URLResolver <URLResolver list> (None:None) '^/'> |
urlconf | 'scihub.urls' |
view | 'tag_page' |
viewname | 'tags:tag_page' |
/usr/local/lib/python3.8/site-packages/django/urls/resolvers.py
, line 694, in _reverse_with_prefix
(lookup_view_s, arg_msg, len(patterns), patterns)
)
else:
msg = (
"Reverse for '%(view)s' not found. '%(view)s' is not "
"a valid view function or pattern name." % {'view': lookup_view_s}
)
raise NoReverseMatch(msg)…
Variable | Value |
---|---|
_prefix | '/' |
arg_msg | "keyword arguments '{'slug': 'auditory\\tcortex'}'" |
args | () |
candidate_pat | '/tag/%(slug)s/' |
candidate_subs | {'slug': 'auditory\tcortex'} |
converters | {} |
defaults | {} |
k | 'slug' |
kwargs | {'slug': 'auditory\tcortex'} |
lookup_view | 'tag_page' |
lookup_view_s | 'tag_page' |
m | None |
match | True |
msg | ("Reverse for 'tag_page' with keyword arguments '{'slug': " "'auditory\\tcortex'}' not found. 1 pattern(s) tried: " "['tag/(?P<slug>[0-9A-Za-z_\\\\-]+)/$']") |
n | None |
params | ['slug'] |
pattern | 'tag/(?P<slug>[0-9A-Za-z_\\-]+)/$' |
patterns | ['tag/(?P<slug>[0-9A-Za-z_\\-]+)/$'] |
possibilities | [([('tag/%(slug)s/', ['slug'])], 'tag/(?P<slug>[0-9A-Za-z_\\-]+)/$', {}, {})] |
possibility | [('tag/%(slug)s/', ['slug'])] |
result | 'tag/%(slug)s/' |
self | <URLResolver <URLResolver list> (None:None) '^/'> |
text_candidate_subs | {'slug': 'auditory\tcortex'} |
v | 'auditory\tcortex' |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CSRF_COOKIE | '3OHe6oTGuux1t3hT4OqakJBhOFph6lr5Oe1PmNhIldm8rnTn2YKPKMrSYoLVEflQ' |
CSRF_COOKIE_USED | True |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'www.scitok.com' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_AMZN_TRACE_ID | 'Root=1-6605af4b-448c02572165fe333a024ecf' |
HTTP_X_FORWARDED_FOR | '44.201.64.238' |
HTTP_X_FORWARDED_PORT | '443' |
HTTP_X_FORWARDED_PROTO | 'https' |
PATH_INFO | '/project/p/8f353067/' |
QUERY_STRING | '' |
REMOTE_ADDR | '172.31.14.103' |
REMOTE_HOST | '172.31.14.103' |
REMOTE_PORT | 50326 |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | '172.18.0.2' |
SERVER_PORT | '8000' |
wsgi.multiprocess | True |
wsgi.multithread | True |
scihub.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['localhost', '127.0.0.1', '0.0.0.0', '.nettrons.com', '.scitok.com', 'scihub-env.eba-ifahbsa4.us-west-1.elasticbeanstalk.com', 'awseb-awseb-1lskhbm3e522j-279235258.us-west-1.elb.amazonaws.com', 'Scihub-env-test.eba-ifahbsa4.us-west-1.elasticbeanstalk.com', '.clay.run', '.clay.com', 'www.scihub.local', 'app.scihub.local', '172.31.26.129'] |
APPEND_SLASH | True |
ASGI_APPLICATION | 'scihub.asgi.application' |
AUTHENTICATION_BACKENDS | ['accounts.backends.EmailBackend', 'social_core.backends.open_id.OpenIdAuth', 'social_core.backends.google.GoogleOAuth2', 'social_core.backends.google.GoogleOAuth', 'django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_PROFILE_MODULE | 'accounts.UserProfile' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/usr/src' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CHANNEL_LAYERS | {'default': {'BACKEND': 'channels_redis.core.RedisChannelLayer', 'CONFIG': {'hosts': [('scitko-redis.uk21vm.ng.0001.usw1.cache.amazonaws.com', 6379)]}}} |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'scihub-restore.ctu1praghneq.us-west-1.rds.amazonaws.com', 'NAME': 'scihub', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'xiaoyan'}} |
DATABASE_ROUTERS | [] |
DATA_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
DATA_UPLOAD_MAX_NUMBER_FIELDS | 1000 |
DATETIME_FORMAT | 'N j, Y, P' |
DATETIME_INPUT_FORMATS | ['%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M'] |
DATE_FORMAT | 'N j, Y' |
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'] |
DEBUG | True |
DEBUG_PROPAGATE_EXCEPTIONS | False |
DECIMAL_SEPARATOR | '.' |
DEFAULT_AUTO_FIELD | 'django.db.models.AutoField' |
DEFAULT_CHARSET | 'utf-8' |
DEFAULT_EXCEPTION_REPORTER | 'django.views.debug.ExceptionReporter' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
DEFAULT_FILE_STORAGE | 'main.custom_storage.MediaStorage' |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
DEFAULT_HASHING_ALGORITHM | 'sha256' |
DEFAULT_HOST | 'www' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
DJANGO_NOTIFICATIONS_CONFIG | {'USE_JSONFIELD': True} |
EC2_PRIVATE_IP | '172.31.26.129' |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'smtp.sendgrid.net' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | 'apikey' |
EMAIL_PORT | 587 |
EMAIL_SSL_CERTFILE | None |
EMAIL_SSL_KEYFILE | '********************' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
EMAIL_TIMEOUT | None |
EMAIL_USE_LOCALTIME | False |
EMAIL_USE_SSL | False |
EMAIL_USE_TLS | True |
FILE_UPLOAD_DIRECTORY_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ['django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler'] |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
FILE_UPLOAD_PERMISSIONS | 420 |
FILE_UPLOAD_TEMP_DIR | None |
FIRST_DAY_OF_WEEK | 0 |
FIXTURE_DIRS | [] |
FORCE_SCRIPT_NAME | None |
FORMAT_MODULE_PATH | None |
FORM_RENDERER | 'django.forms.renderers.DjangoTemplates' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['model_clone', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.humanize', 'django.contrib.postgres', 'main', 'scihubhome', 'accounts', 'project', 'feed', 'comment', 'collection', 'event', 'tags', 'tracker', 'follow', 'qa', 'search', 'inbox', 'notes', 'job', 'api', 'refer', 'taggit', 'widget_tweaks', 'social_django', 'notifications', 'django_summernote', 'rest_framework', 'django_hosts', 'channels', 'mptt'] |
INTERNAL_IPS | [] |
LANGUAGES | [('af', 'Afrikaans'), ('ar', 'Arabic'), ('ar-dz', 'Algerian 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'), ('dsb', 'Lower Sorbian'), ('el', 'Greek'), ('en', 'English'), ('en-au', 'Australian English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-co', 'Colombian 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'), ('gd', 'Scottish Gaelic'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hsb', 'Upper Sorbian'), ('hu', 'Hungarian'), ('hy', 'Armenian'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('ig', 'Igbo'), ('io', 'Ido'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kab', 'Kabyle'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('ky', 'Kyrgyz'), ('lb', 'Luxembourgish'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('mr', 'Marathi'), ('my', 'Burmese'), ('nb', 'Norwegian Bokmål'), ('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'), ('tg', 'Tajik'), ('th', 'Thai'), ('tk', 'Turkmen'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('uz', 'Uzbek'), ('vi', 'Vietnamese'), ('zh-hans', 'Simplified Chinese'), ('zh-hant', 'Traditional Chinese')] |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'en-us' |
LANGUAGE_COOKIE_AGE | None |
LANGUAGE_COOKIE_DOMAIN | None |
LANGUAGE_COOKIE_HTTPONLY | False |
LANGUAGE_COOKIE_NAME | 'django_language' |
LANGUAGE_COOKIE_PATH | '/' |
LANGUAGE_COOKIE_SAMESITE | None |
LANGUAGE_COOKIE_SECURE | False |
LOCALE_PATHS | [] |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '' |
MEDIA_URL | '/django-summernote/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django_hosts.middleware.HostsRequestMiddleware', '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', 'social_django.middleware.SocialAuthExceptionMiddleware', 'django_hosts.middleware.HostsResponseMiddleware'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NOTIFICATIONS_NOTIFICATION_MODEL | 'notifications.Notification' |
NUMBER_GROUPING | 0 |
PARENT_HOST | 'scitok.com' |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
PROJECT_DIR | '/usr/src/scihub' |
ROOT_HOSTCONF | 'scihub.hosts' |
ROOT_URLCONF | 'scihub.urls' |
S3_BUCKET | 'scitok' |
SECRET_KEY | '********************' |
SECURE_BROWSER_XSS_FILTER | False |
SECURE_CONTENT_TYPE_NOSNIFF | True |
SECURE_HSTS_INCLUDE_SUBDOMAINS | False |
SECURE_HSTS_PRELOAD | False |
SECURE_HSTS_SECONDS | 0 |
SECURE_PROXY_SSL_HEADER | ('HTTP_X_FORWARDED_PROTO', 'https') |
SECURE_REDIRECT_EXEMPT | ['^healthcheck$'] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | True |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | 'scitok.com' |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sharesession' |
SESSION_COOKIE_PATH | '/' |
SESSION_COOKIE_SAMESITE | 'Lax' |
SESSION_COOKIE_SECURE | False |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
SESSION_FILE_PATH | None |
SESSION_SAVE_EVERY_REQUEST | False |
SESSION_SERIALIZER | 'django.contrib.sessions.serializers.JSONSerializer' |
SETTINGS_MODULE | 'scihub.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SOCIAL_AUTH_GOOGLE_OAUTH2_KEY | '********************' |
SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET | '********************' |
SOCIAL_AUTH_LOGIN_REDIRECT_URL | '/' |
SOCIAL_AUTH_PIPELINE | ('social.pipeline.social_auth.social_details', 'social.pipeline.social_auth.social_uid', 'social.pipeline.social_auth.auth_allowed', 'social.pipeline.social_auth.social_user', 'social.pipeline.user.get_username', 'social_core.pipeline.social_auth.associate_by_email', 'social.pipeline.user.create_user', 'social.pipeline.social_auth.associate_user', 'social.pipeline.social_auth.load_extra_data', 'social.pipeline.user.user_details', 'accounts.pipeline.get_avatar') |
SOCIAL_AUTH_POSTGRES_JSONFIELD | True |
SOCIAL_AUTH_REDIRECT_IS_HTTPS | True |
SOCIAL_AUTH_URL_NAMESPACE | 'social' |
STATICFILES_DIRS | ['/usr/src/static'] |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/usr/src/scihub/static' |
STATIC_URL | '/static/' |
STRIPE_API_KEY | '********************' |
SUMMERNOTE_THEME | 'lite' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/usr/src/templates'], 'OPTIONS': {'context_processors': ['django.template.context_processors.debug', 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', 'social_django.context_processors.backends', 'social_django.context_processors.login_redirect']}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'UTC' |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'scihub.wsgi.application' |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
YEAR_MONTH_FORMAT | 'F Y' |
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.