Reverse for 'detail' with arguments '('',)' not found. 1 pattern(s) tried: ['sources\\/(?P<pk>[0-9]+)\\/\\Z']
Request Method: | GET |
---|---|
Request URL: | https://www.unslanted.net/ |
Django Version: | 3.2.11 |
Exception Type: | NoReverseMatch |
Exception Value: | Reverse for 'detail' with arguments '('',)' not found. 1 pattern(s) tried: ['sources\\/(?P<pk>[0-9]+)\\/\\Z'] |
Exception Location: | /usr/local/lib/python3.6/dist-packages/django/urls/resolvers.py, line 698, in _reverse_with_prefix |
Python Executable: | /usr/local/bin/uwsgi |
Python Version: | 3.6.9 |
Python Path: | ['.', '', '/usr/lib/python36.zip', '/usr/lib/python3.6', '/usr/lib/python3.6/lib-dynload', '/usr/local/lib/python3.6/dist-packages', '/usr/lib/python3/dist-packages'] |
Server time: | Mon, 18 Mar 2024 23:10:08 -0400 |
In template /home/crowdnews/crowdnews/article/templates/article/lightboxSix.html
, error at line 49
39 | {% else %} |
---|---|
40 | |
41 | {% endif %} |
42 | </div> |
43 | <h1 class="entry-title" style="background-color:rgba(0, 0, 0, 0.6);" itemprop="name headline"> |
44 | <a |
45 | href="https://www.unslanted.net{% url 'article:detail' a.slug a.id %}" |
46 | title="{{ a.headline_text }}">{{ a.headline_text }}</a> |
47 | </h1> |
48 | <aside class="post-bottom-meta hide-for-small-only" style="background-color:rgba(0, 0, 0, 0.6);"> |
49 | <a href="https://www.unslanted.net{% url 'sources:detail' a.source.id %}" |
50 | title = "{{ a.source.source_name }}" rel="source">{{ a.source.source_name }}</a>- |
51 | {{ a.getLeanText }}-{{ a.getQualityText }}-{{ a.getCredibilityText }} |
52 | <meta itemprop="name headline" class="entry-title" |
53 | content="{{ a.headline_text }}"> |
54 | <meta itemprop="dateModified" class="date updated" |
55 | content="{{ a.sub_timestamp }}"> |
56 | <span class="hide" itemprop="publisher" itemscope |
57 | itemtype="https://schema.org/Organization"> |
58 | <meta itemprop="name" content="Unslanted.Net"> <span |
59 | itemprop="logo" itemscope |
/usr/local/lib/python3.6/dist-packages/django/core/handlers/exception.py
, line 47, in inner
response = await sync_to_async(response_for_exception, thread_sensitive=False)(request, exc)
return response
return inner
else:
@wraps(get_response)
def inner(request):
try:
response = get_response(request)…
except Exception as exc:
response = response_for_exception(request, exc)
return response
return inner
Variable | Value |
---|---|
exc | NoReverseMatch("Reverse for 'detail' with arguments '('',)' not found. 1 pattern(s) tried: ['sources\\\\/(?P<pk>[0-9]+)\\\\/\\\\Z']",) |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f4a3275cbe0>> |
request | <WSGIRequest: GET '/'> |
/usr/local/lib/python3.6/dist-packages/django/core/handlers/base.py
, line 181, in _get_response
if response is None:
wrapped_callback = self.make_view_atomic(callback)
# If it is an asynchronous view, run it in a subthread.
if asyncio.iscoroutinefunction(wrapped_callback):
wrapped_callback = async_to_sync(wrapped_callback)
try:
response = wrapped_callback(request, *callback_args, **callback_kwargs)…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
# Complain if the view returned None (a common error).
Variable | Value |
---|---|
callback | <function index at 0x7f4a326e4268> |
callback_args | () |
callback_kwargs | {} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f4a32712b00>> |
request | <WSGIRequest: GET '/'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f4a3275cbe0> |
wrapped_callback | <function index at 0x7f4a326e4268> |
./crowdnews/views.py
, line 53, in index
's2Arts': s2Arts,
'sectThree': sectThree,
's3Arts': s3Arts
}
#t = TrackerControl()
#t.record(request)
return render(request, 'front/index.html', context)…
def privacy(request):
return render(request, 'front/privacy.html')
def contact(request):
return render(request, 'front/contact.html')
Variable | Value |
---|---|
aotd | <Article: The unseen driver behind the migrant caravan: climate change> |
article_list | <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']> |
context | {'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>, 'sectThree': <Section: Business>, 'sectTwo': <Section: World>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'tabberSect': <Section: US Politics>} |
latest_articles | <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]> |
lbSix | <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]> |
request | <WSGIRequest: GET '/'> |
s2Arts | <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]> |
s3Arts | <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]> |
sectThree | <Section: Business> |
sectTwo | <Section: World> |
tabberLines | <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]> |
tabberSect | <Section: US Politics> |
/usr/local/lib/python3.6/dist-packages/django/shortcuts.py
, line 19, in render
def render(request, template_name, context=None, content_type=None, status=None, using=None):
"""
Return a HttpResponse whose content is filled with the result of calling
django.template.loader.render_to_string() with the passed arguments.
"""
content = loader.render_to_string(template_name, context, request, using=using)…
return HttpResponse(content, content_type, status)
def redirect(to, *args, permanent=False, **kwargs):
"""
Return an HttpResponseRedirect to the appropriate URL for the arguments
Variable | Value |
---|---|
content_type | None |
context | {'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>, 'sectThree': <Section: Business>, 'sectTwo': <Section: World>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'tabberSect': <Section: US Politics>} |
request | <WSGIRequest: GET '/'> |
status | None |
template_name | 'front/index.html' |
using | None |
/usr/local/lib/python3.6/dist-packages/django/template/loader.py
, line 62, in render_to_string
template_name may be a string or a list of strings.
"""
if isinstance(template_name, (list, tuple)):
template = select_template(template_name, using=using)
else:
template = get_template(template_name, using=using)
return template.render(context, request)…
def _engine_list(using=None):
return engines.all() if using is None else [engines[using]]
Variable | Value |
---|---|
context | {'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>, 'sectThree': <Section: Business>, 'sectTwo': <Section: World>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'tabberSect': <Section: US Politics>} |
request | <WSGIRequest: GET '/'> |
template | <django.template.backends.django.Template object at 0x7f4a01f35208> |
template_name | 'front/index.html' |
using | None |
/usr/local/lib/python3.6/dist-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}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
request | <WSGIRequest: GET '/'> |
self | <django.template.backends.django.Template object at 0x7f4a01f35208> |
/usr/local/lib/python3.6/dist-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}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
self | <django.template.base.Template object at 0x7f4a049dc588> |
/usr/local/lib/python3.6/dist-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}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
self | <django.template.base.Template object at 0x7f4a049dc588> |
/usr/local/lib/python3.6/dist-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}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
node | <ExtendsNode: extends 'base/base.html'> |
self | [<ExtendsNode: extends 'base/base.html'>] |
/usr/local/lib/python3.6/dist-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}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
self | <ExtendsNode: extends 'base/base.html'> |
/usr/local/lib/python3.6/dist-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 0x7f4a01ed0fd0> |
blocks | {'content': <Block Node: content. Contents: [<TextNode: '\n\t\t\t\t'>]>, 'extrahead': <Block Node: extrahead. Contents: [<TextNode: '\n'>]>, 'pagescripts': <Block Node: pagescripts. Contents: [<TextNode: '\n\t'>]>} |
compiled_parent | <django.template.base.Template object at 0x7f49fa620dd8> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
node | <django.template.defaulttags.LoadNode object at 0x7f49f87f0a58> |
self | <ExtendsNode: extends 'base/base.html'> |
/usr/local/lib/python3.6/dist-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}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
self | <django.template.base.Template object at 0x7f49fa620dd8> |
/usr/local/lib/python3.6/dist-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' '\t\t\t\t<!-- End topMenu include -->\n' '\n' '\t\t\t\t<div role="main" class="">\n' '\t\t\t\t\t<div\n' '\t\t\t\t\t\tclass="post post-detail post-240 page type-page status-publish ' 'hentry"\n' '\t\t\t\t\t\tid="post-240">\n' '\t\t\t\t\t\t<div class="post-content">\n' '\t\t\t\t\n' '\t\t\t\t<!-- Begin Block Content -->\n' '\t\t\t\t') |
bits | ['', '\n' '\n' '<!doctype html>\n' '<html lang="en-US">\n' '<head>\n' '<!-- Global site tag (gtag.js) - Google Analytics -->\n' '<script async ' 'src="https://www.googletagmanager.com/gtag/js?id=UA-136023367-1"></script>\n' '<script>\n' ' window.dataLayer = window.dataLayer || [];\n' ' function gtag(){dataLayer.push(arguments);}\n' " gtag('js', new Date());\n" '\n' " gtag('config', 'UA-136023367-1');\n" '</script>\n' '\n' '<meta charset="UTF-8">\n' '<meta name="viewport"\n' '\tcontent="width=device-width, initial-scale=1, maximum-scale=1, ' 'user-scalable=1">\n' '<link rel="profile" href="http://gmpg.org/xfn/11">\n' '<meta http-equiv="x-dns-prefetch-control" content="on">\n' '<link rel="dns-prefetch" href="//fonts.googleapis.com" />\n' '<link rel="dns-prefetch" href="//fonts.gstatic.com" />\n' '<link rel="shortcut icon" href="', '/static/crowdnews/favicon.ico', '">\n' "<link rel='dns-prefetch' href='//s0.wp.com' />\n" "<link rel='dns-prefetch' href='//cdnjs.cloudflare.com' />\n" "<link rel='dns-prefetch' href='//fonts.googleapis.com' />\n" ' <link rel="stylesheet" id="thb-fa-css"\n' '\t' 'href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css"\n' '\tmedia="all" /> \n' '<link rel="stylesheet" type="text/css" ' 'href="https://maxcdn.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" ' '/>\n' '\t\n' '<link rel="stylesheet" id="thb-app-css"\n' '\thref="', '/static/crowdnews/css/app.css', '"\n' '\tmedia="all" />\n' '<link rel="stylesheet" id="thb-app-inline-css"\n' '\thref="', '/static/crowdnews/css/inline.css', '"\n' '\tmedia="all" />\n' '<style>\n' 'html,\n' 'body {\n' '\tfont-size: 16px !important;\n' '}\n' '\n' '@media (max-width: 540px) {\n' '\tbody {\n' '\t\tfont-size:18px !important;\n' '\t}\n' '\t.navbar-brand {\n' '\t\tfont-size: 18px;\n' '\t}\n' '\t.nav-link, .nav-toggler {\n' '\t\tfont-size: 14px;\n' '\t}\n' '}\n' '.block {\n' ' display: block;\n' ' width: 100%;\n' ' padding: 14px 28px;\n' ' font-size: 16px;\n' ' cursor: pointer;\n' ' text-align: center;\n' '}\n' '</style>\n' '\n' '\n', '\n' '\t\n' '\t<title>Unslanted.Net: Vote on news credibility and lean</title>\n' '\t<meta property="og:title" content="Unslanted.net: News, unslanted">\n' '\t<meta property="og:description" content="Help fight media bias by joining ' 'Unslanted.Net and voting on news bias and credibility">\n' '\t<meta property="og:url" content="https://www.unslanted.net/">\n' '\t<meta property="og:image" ' 'content="https://www.unslanted.net/media/3486.jpg">\n' '\t<meta property="twitter:title" content="Unslanted.net: News, unslanted">\n' '\t<meta property="twitter:description" content="Help fight media bias by ' 'joining Unslanted.Net and voting on news bias and credibility">\n' '\t<meta property="twitter:url" content="https://www.unslanted.net/">\n' '\t<meta property="twitter:image" ' 'content="https://www.unslanted.net/media/3486.jpg">\n' '\t<meta name="description" content="Vote on the news and help us to fight ' 'fake news. Find unbiased news sources and daily articles.">\n' '\t<meta name="keywords" content="unbiased unslanted news vote on news ' 'unslanting the news ">\n' '<link rel="canonical" href="https://www.unslanted.net/" />\n' "<link rel='shortlink' href='https://www.unslanted.net/' />\n" '<meta name="twitter:partner" content="unslanted">\n' '<meta name="twitter:card" content="summary">\n' '<meta name="twitter:title" content="Unslanted.Net">\n' '<meta name="twitter:description" content="News, Unslanted">\n' '\n' '\t\n', '\n' '\n' '<link rel="stylesheet" id="thb-google-fonts-css"\n' '\t' 'href="https://fonts.googleapis.com/css?family=Karla%3A300%2C400%2C500%2C600%2C700%2C900%7CPoppins%3A300%2C400%2C500%2C600%2C700%2C900&subset=latin,latin-ext"\n' '\tmedia="all" />\n' '<script \n' '\tsrc="', '/static/crowdnews/appjs/jquery.js', '"\n\ttype="text/javascript"></script>\n<script \n\tsrc="', '/static/crowdnews/appjs/jquery-migrate.min.js', '"\n\ttype="text/javascript">… <trimmed 500023 bytes string> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
node | <Block Node: content. Contents: [<TextNode: '\n\t\t\t\t'>]> |
self | [<django.template.defaulttags.LoadNode object at 0x7f49f87f0a58>, <TextNode: '\n\n<!doctype html>\n<html l'>, <django.templatetags.static.StaticNode object at 0x7f49f87f00f0>, <TextNode: '">\n<link rel=\'dns-prefetc'>, <django.templatetags.static.StaticNode object at 0x7f49f87f0978>, <TextNode: '"\n\tmedia="all" />\n<link r'>, <django.templatetags.static.StaticNode object at 0x7f49f87f00b8>, <TextNode: '"\n\tmedia="all" />\n<style>'>, <Block Node: extrahead. Contents: [<TextNode: '\n'>]>, <TextNode: '\n\n<link rel="stylesheet" '>, <django.templatetags.static.StaticNode object at 0x7f49fa6b7518>, <TextNode: '"\n\ttype="text/javascript"'>, <django.templatetags.static.StaticNode object at 0x7f49fa6b74a8>, <TextNode: '"\n\ttype="text/javascript"'>, <django.templatetags.static.StaticNode object at 0x7f49fa6b7c18>, <TextNode: '"\n\ttype="text/javascript"'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa6b7828>, <TextNode: '\n\t\t<!-- Start Content Con'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa6b7f28>, <TextNode: '\n\t\t\t\t<!-- End FixedHeader'>, <TextNode: '\n\t\t\t\t'>, <TextNode: '\n\t\t\t\t'>, <TextNode: '\n\t\t\t\t'>, <TextNode: '\n\t\t\t\t'>, <TextNode: '\n\t\t\t\t\n\t\t\t\t<!-- Begin Head'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa6b7be0>, <TextNode: '\n\t\t\t\t<!-- End Header incl'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa6b7978>, <TextNode: '\n\t\t\t\t<!-- End topMenu inc'>, <Block Node: content. Contents: [<TextNode: '\n\t\t\t\t'>]>, <TextNode: '\n\t\t\t\t<!-- End Block Conte'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa6b7940>, <TextNode: '\n\t\t</div> <!-- content-co'>, <django.templatetags.static.StaticNode object at 0x7f49fa6b7908>, <TextNode: '"\n\ttype="text/javascript"'>, <django.templatetags.static.StaticNode object at 0x7f49fa6b7da0>, <TextNode: '"\n\ttype="text/javascript"'>, <django.templatetags.static.StaticNode object at 0x7f49fa6b7f98>, <TextNode: '"\n\ttype="text/javascript"'>, <django.templatetags.static.StaticNode object at 0x7f49fa6b7b38>, <TextNode: '"\n\ttype="text/javascript"'>, <django.templatetags.static.StaticNode object at 0x7f49fa6b7f60>, <TextNode: '"\n\ttype="text/javascript"'>, <Block Node: pagescripts. Contents: [<TextNode: '\n\t'>]>, <TextNode: "\n\t<script type='text/java">] |
/usr/local/lib/python3.6/dist-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}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
self | <Block Node: content. Contents: [<TextNode: '\n\t\t\t\t'>]> |
/usr/local/lib/python3.6/dist-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: content. Contents: [<TextNode: '\n\n\t'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa620978>, <TextNode: '\n\t'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa620ac8>, <TextNode: '\n\t'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa620358>, <TextNode: '\n\t'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa620390>, <TextNode: '\n\t'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa620208>, <TextNode: '\n\n'>]> |
block_context | <django.template.loader_tags.BlockContext object at 0x7f4a01ed0fd0> |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
push | <Block Node: content. Contents: [<TextNode: '\n\n\t'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa620978>, <TextNode: '\n\t'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa620ac8>, <TextNode: '\n\t'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa620358>, <TextNode: '\n\t'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa620390>, <TextNode: '\n\t'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa620208>, <TextNode: '\n\n'>]> |
self | <Block Node: content. Contents: [<TextNode: '\n\t\t\t\t'>]> |
/usr/local/lib/python3.6/dist-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\n\t' |
bits | ['\n\n\t'] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
node | <django.template.loader_tags.IncludeNode object at 0x7f49fa620978> |
self | [<TextNode: '\n\n\t'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa620978>, <TextNode: '\n\t'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa620ac8>, <TextNode: '\n\t'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa620358>, <TextNode: '\n\t'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa620390>, <TextNode: '\n\t'>, <django.template.loader_tags.IncludeNode object at 0x7f49fa620208>, <TextNode: '\n\n'>] |
/usr/local/lib/python3.6/dist-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}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
self | <django.template.loader_tags.IncludeNode object at 0x7f49fa620978> |
/usr/local/lib/python3.6/dist-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 | {('article/lightboxSix.html',): <django.template.base.Template object at 0x7f4a00f67550>} |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
self | <django.template.loader_tags.IncludeNode object at 0x7f49fa620978> |
template | <django.template.base.Template object at 0x7f4a00f67550> |
template_name | ('article/lightboxSix.html',) |
values | {'arts': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>} |
/usr/local/lib/python3.6/dist-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}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
self | <django.template.base.Template object at 0x7f4a00f67550> |
/usr/local/lib/python3.6/dist-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}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
self | <django.template.base.Template object at 0x7f4a00f67550> |
/usr/local/lib/python3.6/dist-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\n' |
bits | ['', '\n', '', '\n' '<div class="row">\n' '\t<div class="wpb_column columns small-12 medium-12">\n' '\t\t\t\t<aside class="gap cf" style="height: 30px;"></aside>\n' '\t\t\t\t\t', '\n\t\t\t\t\t', '<div class="col" style="background:#FFFFFF;">\n' '<script id="mNCC" language="javascript">\n' ' medianet_width = "728";\n' ' medianet_height = "90";\n' ' medianet_crid = "955298734";\n' ' medianet_versionId = "3111299"; \n' ' </script>\n' '<script src="//contextual.media.net/nmedianet.js?cid=8CU61V321"></script>\n' '</div>', '\n' '\t\t\t\t<aside class="gap cf" style="height: 40px;"></aside>\n' '\t</div>\n' '</div>\n' '<div class="row row row-fluid">\n' '\t<div class="wpb_column columns small-12 medium-12">\n' '\t\t<div class="vc_column-inner ">\n' '\t\t\t<div class="wpb_wrapper">\n' '\t\t\t<aside class="gap cf" style="height: 30px;"></aside>\n' '\t\t\t\t<div class="slick grid bot-nav style1 standard-style"\n' '\t\t\t\t\tdata-columns="1" data-navigation="true"\n' '\t\t\t\t\tdata-pagination="true" data-autoplay="false">\n', '\n\n'] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
node | <ForNode: for a in arts, tail_len: 3> |
self | [<django.template.defaulttags.LoadNode object at 0x7f4a049a94a8>, <TextNode: '\n'>, <django.template.defaulttags.LoadNode object at 0x7f4a049a9550>, <TextNode: '\n<div class="row">\n\t<div '>, <TextNode: '\n\t\t\t\t\t'>, <django.template.loader_tags.IncludeNode object at 0x7f4a049a92e8>, <TextNode: '\n\t\t\t\t<aside class="gap cf'>, <TextNode: '\n\n'>, <ForNode: for a in arts, tail_len: 3>, <TextNode: '\n\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t'>, <IfNode>, <TextNode: '\n\t\t\t<a href="'>, <django.template.defaulttags.URLNode object at 0x7f49f95f6438>, <TextNode: '"><button type="button" c'>, <IfNode>, <TextNode: '\t\t\t\n\t\t\t\t\t</div>\n\t\t\t\t</div'>] |
/usr/local/lib/python3.6/dist-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}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
self | <ForNode: for a in arts, tail_len: 3> |
/usr/local/lib/python3.6/dist-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}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
i | 0 |
item | <Article: elizaallen> |
len_values | 6 |
loop_dict | {'counter': 1, 'counter0': 0, 'first': True, 'last': False, 'parentloop': {}, 'revcounter': 6, 'revcounter0': 5} |
node | <IfNode> |
nodelist | ['\n\t'] |
num_loopvars | 1 |
parentloop | {} |
pop_context | False |
self | <ForNode: for a in arts, tail_len: 3> |
unpack | False |
values | <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]> |
/usr/local/lib/python3.6/dist-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}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
self | <IfNode> |
/usr/local/lib/python3.6/dist-packages/django/template/defaulttags.py
, line 312, in render
match = condition.eval(context)
except VariableDoesNotExist:
match = None
else: # else clause
match = True
if match:
return nodelist.render(context)…
return ''
class LoremNode(Node):
def __init__(self, count, method, common):
Variable | Value |
---|---|
condition | (or (or (or (or (== (literal <django.template.base.FilterExpression object at 0x7f4a049a9978>) (literal <django.template.base.FilterExpression object at 0x7f4a049a9e48>)) (== (literal <django.template.base.FilterExpression object at 0x7f4a049a9860>) (literal <django.template.base.FilterExpression object at 0x7f4a049a9278>))) (== (literal <django.template.base.FilterExpression object at 0x7f4a049a9a58>) (literal <django.template.base.FilterExpression object at 0x7f4a049a9518>))) (== (literal <django.template.base.FilterExpression object at 0x7f4a049a9588>) (literal <django.template.base.FilterExpression object at 0x7f4a049a9358>))) (== (literal <django.template.base.FilterExpression object at 0x7f49f9f865c0>) (literal <django.template.base.FilterExpression object at 0x7f49f9f86978>))) |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
match | True |
nodelist | [<TextNode: '\n\t\t'>, <IfNode>, <TextNode: '\n\t\t<div class="row">\n\t\t\t<'>, <Variable Node: a.get_safe_image_url>, <TextNode: ');\'>\n\t\t\t\t\t<figure class="'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<h1'>, <django.template.defaulttags.URLNode object at 0x7f49f9f86908>, <TextNode: '"\n\t\t\t\t\t\t\t\t\ttitle="'>, <Variable Node: a.headline_text>, <TextNode: '">'>, <Variable Node: a.headline_text>, <TextNode: '</a>\n\t\t\t\t\t\t\t</h1>\n\t\t\t\t\t\t\t'>, <django.template.defaulttags.URLNode object at 0x7f4a04c22a58>, <TextNode: '"\n\t\t\t\t\t\t\t\t\ttitle = "'>, <Variable Node: a.source.source_name>, <TextNode: '" rel="source">'>, <Variable Node: a.source.source_name>, <TextNode: '</a>-\n\t\t\t\t\t\t\t\t'>, <Variable Node: a.getLeanText>, <TextNode: '-'>, <Variable Node: a.getQualityText>, <TextNode: '-'>, <Variable Node: a.getCredibilityText>, <TextNode: '\n\t\t\t\t\t\t\t\t<meta itemprop="'>, <Variable Node: a.headline_text>, <TextNode: '">\n\t\t\t\t\t\t\t\t<meta itemprop'>, <Variable Node: a.sub_timestamp>, <TextNode: '">\n\t\t\t\t\t\t\t\t<span class="h'>, <django.templatetags.static.StaticNode object at 0x7f4a01f26f98>, <TextNode: '">\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t'>, <Variable Node: a.get_safe_image_url>, <TextNode: '">\n\t\t\t\t\t\t\t\t\t<meta itempro'>, <django.template.defaulttags.URLNode object at 0x7f4a01f262b0>, <TextNode: '"\n\t\t\t\t\t\t\t\t\tcontent="https'>, <django.template.defaulttags.URLNode object at 0x7f4a01f26278>, <TextNode: '">\n\t\t\t\t\t\t\t</aside>\n\t\t\t\t\t\t'>] |
self | <IfNode> |
/usr/local/lib/python3.6/dist-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 | ('</a>\n' '\t\t\t\t\t\t\t</h1>\n' '\t\t\t\t\t\t\t<aside class="post-bottom-meta hide-for-small-only" ' 'style="background-color:rgba(0, 0, 0, 0.6);">\n' '\t\t\t\t\t\t\t\t<a href="https://www.unslanted.net') |
bits | ['\n\t\t', '', '\n' '\t\t<div class="row">\n' '\t\t\t<div class="small-12 medium-12 large-8 columns">\n' '\t\t\t\t<article itemscope itemtype="http://schema.org/Article"\n' '\t\t\t\t\tclass="post post-overlay top-gradient large-padding max-height ' 'top-title post-243 type-post status-publish format-standard ' 'has-post-thumbnail hentry"\n' "\t\t\t\t\tstyle='background-image: url(", '/static/crowdnews/blankImg.png', ");'>\n" '\t\t\t\t\t<figure class="post-gallery">\n' '\t\t\t\t\t\t<header class="post-title entry-header">\n' '\t\t\t\t\t\t\t<div class="post-category">\n' '\t\t\t\t\t\t\t\t', '\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t', '\n' '\t\t\t\t\t\t\t</div>\n' '\t\t\t\t\t\t\t<h1 class="entry-title" style="background-color:rgba(0, 0, 0, ' '0.6);" itemprop="name headline">\n' '\t\t\t\t\t\t\t\t<a\n' '\t\t\t\t\t\t\t\t\thref="https://www.unslanted.net', '/article/elizaallen,3489/', '"\n\t\t\t\t\t\t\t\t\ttitle="', 'elizaallen', '">', 'elizaallen', '</a>\n' '\t\t\t\t\t\t\t</h1>\n' '\t\t\t\t\t\t\t<aside class="post-bottom-meta hide-for-small-only" ' 'style="background-color:rgba(0, 0, 0, 0.6);">\n' '\t\t\t\t\t\t\t\t<a href="https://www.unslanted.net'] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
node | <django.template.defaulttags.URLNode object at 0x7f4a04c22a58> |
self | [<TextNode: '\n\t\t'>, <IfNode>, <TextNode: '\n\t\t<div class="row">\n\t\t\t<'>, <Variable Node: a.get_safe_image_url>, <TextNode: ');\'>\n\t\t\t\t\t<figure class="'>, <IfNode>, <TextNode: '\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<h1'>, <django.template.defaulttags.URLNode object at 0x7f49f9f86908>, <TextNode: '"\n\t\t\t\t\t\t\t\t\ttitle="'>, <Variable Node: a.headline_text>, <TextNode: '">'>, <Variable Node: a.headline_text>, <TextNode: '</a>\n\t\t\t\t\t\t\t</h1>\n\t\t\t\t\t\t\t'>, <django.template.defaulttags.URLNode object at 0x7f4a04c22a58>, <TextNode: '"\n\t\t\t\t\t\t\t\t\ttitle = "'>, <Variable Node: a.source.source_name>, <TextNode: '" rel="source">'>, <Variable Node: a.source.source_name>, <TextNode: '</a>-\n\t\t\t\t\t\t\t\t'>, <Variable Node: a.getLeanText>, <TextNode: '-'>, <Variable Node: a.getQualityText>, <TextNode: '-'>, <Variable Node: a.getCredibilityText>, <TextNode: '\n\t\t\t\t\t\t\t\t<meta itemprop="'>, <Variable Node: a.headline_text>, <TextNode: '">\n\t\t\t\t\t\t\t\t<meta itemprop'>, <Variable Node: a.sub_timestamp>, <TextNode: '">\n\t\t\t\t\t\t\t\t<span class="h'>, <django.templatetags.static.StaticNode object at 0x7f4a01f26f98>, <TextNode: '">\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t'>, <Variable Node: a.get_safe_image_url>, <TextNode: '">\n\t\t\t\t\t\t\t\t\t<meta itempro'>, <django.template.defaulttags.URLNode object at 0x7f4a01f262b0>, <TextNode: '"\n\t\t\t\t\t\t\t\t\tcontent="https'>, <django.template.defaulttags.URLNode object at 0x7f4a01f26278>, <TextNode: '">\n\t\t\t\t\t\t\t</aside>\n\t\t\t\t\t\t'>] |
/usr/local/lib/python3.6/dist-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}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
self | <django.template.defaulttags.URLNode object at 0x7f4a04c22a58> |
/usr/local/lib/python3.6/dist-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}, {}, {}, {'article_list': <QuerySet [<Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Macrolide use in pregnancy tied to higher risk of birth defects>, <Article: 'Magic mushroom' drug reduces anxiety and depression in cancer patients, study says>, <Article: In a Huge First, Physicists Have Captured Individual Atoms And Watched Them Merge >, <Article: SAVE WATER, EVERY DROP COUNTS!!!>, <Article: Apartment Communities Setting Science-Based Targets and Making Deep Cuts in Emissions and Waste>, <Article: Neuroscience Study Finds Evidence That Meditation Increases The Entropy Of Brainwaves>, <Article: China releases largest study on Covid-19 outbreak>, <Article: Heart doctors 'held back stent death data'>, <Article: North Carolina court blocks voter ID law as discriminatory>, <Article: President Trump commutes sentence of former Illinois Gov. Blagojevich, who served time in Colorado>, <Article: IRS sues Facebook for $9B, says company offshored profits to Ireland>, <Article: 'The idea is that art can help': how Art Basel Miami tackled the climate crisis>, <Article: $1 Invested in Resilience Can Save $4–7 in Post-Disaster Costs.>, <Article: The world’s most polluted river | DW Documentary>, <Article: Extinction Rebellion protests hit London Fashion Week - France 24>, <Article: Sign the Petition>, <Article: Fast-charging, long-running, bendy energy storage breakthrough>, <Article: Time spent watching television does not replace physical activity for Finnish men – unlike for Finnish women>, <Article: The real ‘paleo diet’ may have been full of toxic metals>, '...(remaining elements truncated)...']>, 'latest_articles': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: What Led to the Flint Water Crisis | Abdul El-Sayed>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>]>, 'lbSix': <QuerySet [<Article: elizaallen>, <Article: 10 new Covid-19 cases, CNY dinner at Safra Jurong biggest cluster; short-term visitors must now pay for treatment>, <Article: Hunting of polar bears must be banned if species has any chance of survival, expert warns » Focusing on Wildlife>, <Article: Ocasio-Cortez reads entire Green New Deal into congressional record | TheHill>, <Article: Everything You Need to Vote - Vote.org>, <Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>]>, 'tabberSect': <Section: US Politics>, 'tabberLines': <QuerySet [<Storyline: Trade Wars>, <Storyline: Mueller Investigation>, <Storyline: Mass Shootings>, <Storyline: Voting Rights>, <Storyline: Voter Suppression>]>, 'aotd': <Article: The unseen driver behind the migrant caravan: climate change>, 'sectTwo': <Section: World>, 's2Arts': <QuerySet [<Article: Coronavirus: Trump contradicts his own health experts on threat posed by deadly virus>, <Article: Couple Buys Up Acres Around Indian Tiger Reserve For Reforesting So Big Cats Can Roam>, <Article: The US was left alone and humiliated on the world stage as European allies collectively dunked on Trump’s ‘America First’ policy at a major security conference>, <Article: India accused of 'hiding' poor people ahead of Trump visit>, <Article: Britain's power system is decarbonising faster than anywhere in the world, report finds>]>, 'sectThree': <Section: Business>, 's3Arts': <QuerySet [<Article: Venezuela is considering privatization in the oil sector>, <Article: Coronavirus: Chinese Government Shutting Down Dropshipping Functions>, <Article: Why Mark Zuckerberg’s Oversight Board May Kill His Political Ad Policy>, <Article: Microsoft is bringing out the big guns against Slack with new global ad campaign for Teams>, <Article: China-linked APT40 group hides behind 13 front companies>]>}] |
current_app | '' |
kwargs | {} |
reverse | <function reverse at 0x7f4a359bc510> |
self | <django.template.defaulttags.URLNode object at 0x7f4a04c22a58> |
url | '' |
view_name | 'sources:detail' |
/usr/local/lib/python3.6/dist-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 | ['sources'] |
args | [''] |
current_app | '' |
current_ns | None |
current_path | None |
extra | 'sources\\/' |
kwargs | {} |
ns | 'sources' |
ns_converters | {} |
ns_pattern | 'sources\\/' |
path | ['sources'] |
prefix | '/' |
resolved_path | ['sources'] |
resolver | <URLResolver <URLResolver list> (None:None) '^/'> |
urlconf | 'crowdnews.urls' |
view | 'detail' |
viewname | 'sources:detail' |
/usr/local/lib/python3.6/dist-packages/django/urls/resolvers.py
, line 698, 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 | "arguments '('',)'" |
args | ('',) |
candidate_pat | '/sources/%(pk)s/' |
candidate_subs | {'pk': ''} |
converters | {'pk': <django.urls.converters.IntConverter object at 0x7f4a359b44a8>} |
defaults | {} |
k | 'pk' |
kwargs | {} |
lookup_view | 'detail' |
lookup_view_s | 'detail' |
m | None |
match | True |
msg | ("Reverse for 'detail' with arguments '('',)' not found. 1 pattern(s) tried: " "['sources\\\\/(?P<pk>[0-9]+)\\\\/\\\\Z']") |
n | None |
params | ['pk'] |
pattern | 'sources\\/(?P<pk>[0-9]+)\\/\\Z' |
patterns | ['sources\\/(?P<pk>[0-9]+)\\/\\Z'] |
possibilities | [([('sources/%(pk)s/', ['pk'])], 'sources\\/(?P<pk>[0-9]+)\\/\\Z', {}, {'pk': <django.urls.converters.IntConverter object at 0x7f4a359b44a8>})] |
possibility | [('sources/%(pk)s/', ['pk'])] |
result | 'sources/%(pk)s/' |
self | <URLResolver <URLResolver list> (None:None) '^/'> |
text_candidate_subs | {'pk': ''} |
v | '' |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
CONTENT_LENGTH | '' |
CONTENT_TYPE | '' |
DOCUMENT_ROOT | '/var/www/html' |
HTTPS | 'on' |
HTTP_ACCEPT | '*/*' |
HTTP_HOST | 'www.unslanted.net' |
HTTP_USER_AGENT | 'claudebot' |
PATH_INFO | '/' |
QUERY_STRING | '' |
REMOTE_ADDR | '54.221.159.188' |
REMOTE_PORT | '49038' |
REQUEST_METHOD | 'GET' |
REQUEST_SCHEME | 'https' |
REQUEST_URI | '/' |
SCRIPT_NAME | '' |
SERVER_NAME | 'unslanted.net' |
SERVER_PORT | '443' |
SERVER_PROTOCOL | 'HTTP/1.1' |
uwsgi.core | 0 |
uwsgi.node | b'unslanted.net' |
uwsgi.version | b'2.0.17' |
wsgi.errors | <_io.TextIOWrapper name=2 mode='w' encoding='UTF-8'> |
wsgi.file_wrapper | <built-in function uwsgi_sendfile> |
wsgi.input | <uwsgi._Input object at 0x7f49f9ff7390> |
wsgi.multiprocess | False |
wsgi.multithread | True |
wsgi.run_once | False |
wsgi.url_scheme | 'https' |
wsgi.version | (1, 0) |
crowdnews.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ACCOUNT_EMAIL_REQUIRED | True |
ACCOUNT_EMAIL_VERIFICATION | 'none' |
ACCOUNT_LOGIN_ON_EMAIL_CONFIRMATION | False |
ACCOUNT_UNIQUE_EMAIL | False |
ADMINS | [] |
ALLOWED_HOSTS | ['*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ('allauth.account.auth_backends.AuthenticationBackend', 'django.contrib.auth.backends.ModelBackend') |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | '/home/crowdnews/crowdnews' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
COMMENTS_APP | 'django_comments_xtd' |
COMMENTS_XTD_APP_MODEL_OPTIONS | {'article.article': {'allow_feedback': True, 'allow_flagging': True, 'show_feedback': True}, 'sections.section': {'allow_feedback': True, 'allow_flagging': True, 'show_feedback': True}, 'storylines.storyline': {'allow_feedback': True, 'allow_flagging': True, 'show_feedback': True}} |
COMMENTS_XTD_CONFIRM_EMAIL | False |
COMMENTS_XTD_CONTACT_EMAIL | 'johnny@walesdata.com' |
COMMENTS_XTD_FORM_CLASS | 'customcomments.forms.CustomCommentForm' |
COMMENTS_XTD_FROM_EMAIL | 'johnny@walesdata.com' |
COMMENTS_XTD_LIST_ORDER | ('-thread_id', 'order') |
COMMENTS_XTD_MAX_THREAD_LEVEL | 32 |
COMMENTS_XTD_MODEL | 'customcomments.models.CustomComment' |
COMMENTS_XTD_SALT | 'supercalifragilisticexpialadocious' |
CRISPY_TEMPLATE_PACK | 'bootstrap4' |
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', 'HOST': '127.0.0.1', 'NAME': 'crowdnews', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '5432', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'cnewsuser'}} |
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 | 'django.core.files.storage.FileSystemStorage' |
DEFAULT_FROM_EMAIL | 'Helpdesk <johnny@walesdata.com>' |
DEFAULT_HASHING_ALGORITHM | 'sha256' |
DEFAULT_INDEX_TABLESPACE | '' |
DEFAULT_TABLESPACE | '' |
DISALLOWED_USER_AGENTS | [] |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
EMAIL_HOST | 'localhost' |
EMAIL_HOST_PASSWORD | '********************' |
EMAIL_HOST_USER | '' |
EMAIL_PORT | '25' |
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 | False |
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' |
GOOGLE_RECAPTCHA_SECRET_KEY | '********************' |
IGNORABLE_404_URLS | [] |
INSTALLED_APPS | ['article.apps.ArticleConfig', 'sections.apps.SectionsConfig', 'sources.apps.SourcesConfig', 'profiles.apps.ProfilesConfig', 'storylines.apps.StorylinesConfig', 'webproxy.apps.WebproxyConfig', 'polls.apps.PollsConfig', 'advertisements.apps.AdvertisementsConfig', 'blog.apps.BlogConfig', 'newsbot.apps.NewsbotConfig', 'faqs.apps.FaqsConfig', 'electionator.apps.ElectionatorConfig', 'grappelli', 'crispy_forms', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'django_extensions', 'django_markdown2', 'django_comments_xtd', 'django_comments', 'customcomments', 'dj_pagination', 'postman', 'allauth', 'allauth.account', 'allauth.socialaccount', 'allauth.socialaccount.providers.facebook', 'allauth.socialaccount.providers.twitter'] |
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 | '/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/home/crowdnews/crowdnews/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['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'] |
MIGRATION_MODULES | {} |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
POSTMAN_AUTO_MODERATE_AS | None |
POSTMAN_DISABLE_USER_EMAILING | True |
POSTMAN_DISALLOW_ANONYMOUS | True |
POSTMAN_MAILER_APP | None |
PREPEND_WWW | False |
PROJECT_DIR | '/home/crowdnews/crowdnews/crowdnews' |
ROOT_URLCONF | 'crowdnews.urls' |
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 | None |
SECURE_REDIRECT_EXEMPT | [] |
SECURE_REFERRER_POLICY | 'same-origin' |
SECURE_SSL_HOST | None |
SECURE_SSL_REDIRECT | False |
SERVER_EMAIL | 'root@localhost' |
SESSION_CACHE_ALIAS | 'default' |
SESSION_COOKIE_AGE | 1209600 |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_HTTPONLY | True |
SESSION_COOKIE_NAME | 'sessionid' |
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 | 'crowdnews.settings' |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
SHORT_DATE_FORMAT | 'm/d/Y' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
SILENCED_SYSTEM_CHECKS | [] |
SITE_ID | 5 |
SOCIALACCOUNT_PROVIDERS | {'facebook': {'AUTH_PARAMS': {'auth_type': 'reauthenticate'}, 'EXCHANGE_TOKEN': '********************', 'FIELDS': ['id', 'email', 'name', 'first_name', 'last_name', 'verified', 'updated_time'], 'LOCALE_FUNC': <function <lambda> at 0x7f4a35808d08>, 'METHOD': 'oauth2', 'SCOPE': ['email', 'public_profile', 'user_friends'], 'VERIFIED_EMAIL': False, 'VERSION': 'v2.4'}} |
SOCIAL_AUTH_FACEBOOK_KEY | '********************' |
SOCIAL_AUTH_FACEBOOK_SECRET | '********************' |
STATICFILES_DIRS | ('/home/crowdnews/crowdnews/crowdnews/templates/static/',) |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | '/home/crowdnews/crowdnews/crowdnews/static' |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': ['/home/crowdnews/crowdnews/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', 'django.template.context_processors.request']}}] |
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 | 'America/New_York' |
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 | 'crowdnews.wsgi.application' |
X_FRAME_OPTIONS | 'DENY' |
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.