templates/base.html
Request Method: | GET |
---|---|
Request URL: | http://bilgeinsansam.com/topics/foreign-policy-and-security/pdfs |
Django Version: | 3.2 |
Exception Type: | TemplateDoesNotExist |
Exception Value: | templates/base.html |
Exception Location: | /home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/django/template/backends/django.py, line 84, in reraise |
Python Executable: | /home/ayturan_01/thinktank/new_venw/bin/python |
Python Version: | 3.8.10 |
Python Path: | ['/home/ayturan_01/thinktank', '/home/ayturan_01/thinktank/new_venw/bin', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages', '/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/odf', '/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/odf', '/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/odf', '/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/odf', '/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/odf', '/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/odf', '/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/odf'] |
Server time: | Fri, 29 Mar 2024 05:02:33 +0000 |
Django tried loading these templates, in this order:
Using engine django
:
django.template.loaders.filesystem.Loader
: /home/ayturan_01/thinktank/templates/templates/base.html (Source does not exist)django.template.loaders.app_directories.Loader
: /home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/jazzmin/templates/templates/base.html (Source does not exist)django.template.loaders.app_directories.Loader
: /home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/django/contrib/admin/templates/templates/base.html (Source does not exist)django.template.loaders.app_directories.Loader
: /home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/django/contrib/auth/templates/templates/base.html (Source does not exist)django.template.loaders.app_directories.Loader
: /home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/rosetta/templates/templates/base.html (Source does not exist)django.template.loaders.app_directories.Loader
: /home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/ckeditor/templates/templates/base.html (Source does not exist)django.template.loaders.app_directories.Loader
: /home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/ckeditor_uploader/templates/templates/base.html (Source does not exist)django.template.loaders.app_directories.Loader
: /home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/import_export/templates/templates/base.html (Source does not exist)In template /home/ayturan_01/thinktank/templates/pdf/topic_pdfs.html
, error at line 1
1 | {% extends 'templates/base.html' %} |
---|---|
2 | {% load static %} |
3 | {% load i18n %} |
4 | {% block title %}{{ topic.name }}{% endblock %} |
5 | {% block body_block %} |
6 | <main> |
7 | <div class="container-fluid"> |
8 | <div class="row cat_row mb-2"> |
9 | <div class="col-12 col-lg-6 mx-0 px-0"> |
10 | <div class="cat_title pt-5 ps-5 pb-2"> |
11 | <h1>{{ topic.name }}</h1> |
/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/django/template/backends/django.py
, line 61, in render
@property
def origin(self):
return self.template.origin
def render(self, context=None, request=None):
context = make_context(context, request, autoescape=self.backend.engine.autoescape)
try:
return self.template.render(context)…
except TemplateDoesNotExist as exc:
reraise(exc, self.backend)
def copy_exception(exc, backend=None):
"""
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7f4fa122ffa0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'pdf_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'view': <core.views.TopicPDFs object at 0x7f4fa122f6a0>, 'lang_dropdown': {'tr': 'assets/images/flag_tr.png', 'en': 'assets/images/flag_en.png'}, 'HeaderMenu': <MultilingualQuerySet [<MenuBaseItems: BİLGESAM>, <MenuBaseItems: Araştırma>, <MenuBaseItems: Faaliyetler>, <MenuBaseItems: Yayınlar>, <MenuBaseItems: İletişim>]>, 'footer_menus': <MultilingualQuerySet [<FooterMenu: İletişim>, <FooterMenu: Hakkımızda>, <FooterMenu: Konular>, <FooterMenu: Bölgeler>, <FooterMenu: Bilgesam>]>, 'footer_about': <FooterAbout: BİLGE İNSANLAR STRATEJİK ARAŞTIRMALAR MERKEZİ>, 'footer_contacts': <MultilingualQuerySet [<FooterContact: Phone: +905319203512>, <FooterContact: Email: [email protected]>]>, 'other_topics': <MultilingualQuerySet [<Topic: Savunma ve Savunma Sanayi>, <Topic: Sosyo-Kültür>, <Topic: Ekonomi ve Enerji>, <Topic: Uluslararası hukuk>]>, 'topic': <Topic: Dış Politika ve Güvenlik>, 'regions': <MultilingualQuerySet [<Region: Avrupa>, <Region: Orta Doğu>, <Region: Asya-Pasifik>, <Region: Kuzey Amerika / Latin Amerika / Karayipler>, <Region: Avustralya>, <Region: Rusya>, <Region: Kafkaslar ve Orta Asya>, <Region: Çin>, <Region: Rusya ve Avrasya>, <Region: Arktik>, <Region: Afrika>, <Region: ABD>]>, 'pdfs': <Page 1 of 6>}] |
request | <WSGIRequest: GET '/topics/foreign-policy-and-security/pdfs'> |
self | <django.template.backends.django.Template object at 0x7f4fa13ba580> |
/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/django/template/base.py
, line 170, in render
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
context.template_name = self.name
return self._render(context)…
else:
return self._render(context)
def compile_nodelist(self):
"""
Parse and compile the template source into a nodelist. If debug
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7f4fa122ffa0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'pdf_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'view': <core.views.TopicPDFs object at 0x7f4fa122f6a0>, 'lang_dropdown': {'tr': 'assets/images/flag_tr.png', 'en': 'assets/images/flag_en.png'}, 'HeaderMenu': <MultilingualQuerySet [<MenuBaseItems: BİLGESAM>, <MenuBaseItems: Araştırma>, <MenuBaseItems: Faaliyetler>, <MenuBaseItems: Yayınlar>, <MenuBaseItems: İletişim>]>, 'footer_menus': <MultilingualQuerySet [<FooterMenu: İletişim>, <FooterMenu: Hakkımızda>, <FooterMenu: Konular>, <FooterMenu: Bölgeler>, <FooterMenu: Bilgesam>]>, 'footer_about': <FooterAbout: BİLGE İNSANLAR STRATEJİK ARAŞTIRMALAR MERKEZİ>, 'footer_contacts': <MultilingualQuerySet [<FooterContact: Phone: +905319203512>, <FooterContact: Email: [email protected]>]>, 'other_topics': <MultilingualQuerySet [<Topic: Savunma ve Savunma Sanayi>, <Topic: Sosyo-Kültür>, <Topic: Ekonomi ve Enerji>, <Topic: Uluslararası hukuk>]>, 'topic': <Topic: Dış Politika ve Güvenlik>, 'regions': <MultilingualQuerySet [<Region: Avrupa>, <Region: Orta Doğu>, <Region: Asya-Pasifik>, <Region: Kuzey Amerika / Latin Amerika / Karayipler>, <Region: Avustralya>, <Region: Rusya>, <Region: Kafkaslar ve Orta Asya>, <Region: Çin>, <Region: Rusya ve Avrasya>, <Region: Arktik>, <Region: Afrika>, <Region: ABD>]>, 'pdfs': <Page 1 of 6>}] |
self | <django.template.base.Template object at 0x7f4fa102ac40> |
/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/django/template/base.py
, line 162, in _render
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
def _render(self, context):
return self.nodelist.render(context)…
def render(self, context):
"Display stage -- can be called many times"
with context.render_context.push_state(self):
if context.template is None:
with context.bind_template(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7f4fa122ffa0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'pdf_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'view': <core.views.TopicPDFs object at 0x7f4fa122f6a0>, 'lang_dropdown': {'tr': 'assets/images/flag_tr.png', 'en': 'assets/images/flag_en.png'}, 'HeaderMenu': <MultilingualQuerySet [<MenuBaseItems: BİLGESAM>, <MenuBaseItems: Araştırma>, <MenuBaseItems: Faaliyetler>, <MenuBaseItems: Yayınlar>, <MenuBaseItems: İletişim>]>, 'footer_menus': <MultilingualQuerySet [<FooterMenu: İletişim>, <FooterMenu: Hakkımızda>, <FooterMenu: Konular>, <FooterMenu: Bölgeler>, <FooterMenu: Bilgesam>]>, 'footer_about': <FooterAbout: BİLGE İNSANLAR STRATEJİK ARAŞTIRMALAR MERKEZİ>, 'footer_contacts': <MultilingualQuerySet [<FooterContact: Phone: +905319203512>, <FooterContact: Email: [email protected]>]>, 'other_topics': <MultilingualQuerySet [<Topic: Savunma ve Savunma Sanayi>, <Topic: Sosyo-Kültür>, <Topic: Ekonomi ve Enerji>, <Topic: Uluslararası hukuk>]>, 'topic': <Topic: Dış Politika ve Güvenlik>, 'regions': <MultilingualQuerySet [<Region: Avrupa>, <Region: Orta Doğu>, <Region: Asya-Pasifik>, <Region: Kuzey Amerika / Latin Amerika / Karayipler>, <Region: Avustralya>, <Region: Rusya>, <Region: Kafkaslar ve Orta Asya>, <Region: Çin>, <Region: Rusya ve Avrasya>, <Region: Arktik>, <Region: Afrika>, <Region: ABD>]>, 'pdfs': <Page 1 of 6>}] |
self | <django.template.base.Template object at 0x7f4fa102ac40> |
/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/django/template/base.py
, line 938, in render
# extend_nodelist().
contains_nontext = False
def render(self, context):
bits = []
for node in self:
if isinstance(node, Node):
bit = node.render_annotated(context)…
else:
bit = node
bits.append(str(bit))
return mark_safe(''.join(bits))
def get_nodes_by_type(self, nodetype):
Variable | Value |
---|---|
bits | [] |
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7f4fa122ffa0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'pdf_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'view': <core.views.TopicPDFs object at 0x7f4fa122f6a0>, 'lang_dropdown': {'tr': 'assets/images/flag_tr.png', 'en': 'assets/images/flag_en.png'}, 'HeaderMenu': <MultilingualQuerySet [<MenuBaseItems: BİLGESAM>, <MenuBaseItems: Araştırma>, <MenuBaseItems: Faaliyetler>, <MenuBaseItems: Yayınlar>, <MenuBaseItems: İletişim>]>, 'footer_menus': <MultilingualQuerySet [<FooterMenu: İletişim>, <FooterMenu: Hakkımızda>, <FooterMenu: Konular>, <FooterMenu: Bölgeler>, <FooterMenu: Bilgesam>]>, 'footer_about': <FooterAbout: BİLGE İNSANLAR STRATEJİK ARAŞTIRMALAR MERKEZİ>, 'footer_contacts': <MultilingualQuerySet [<FooterContact: Phone: +905319203512>, <FooterContact: Email: [email protected]>]>, 'other_topics': <MultilingualQuerySet [<Topic: Savunma ve Savunma Sanayi>, <Topic: Sosyo-Kültür>, <Topic: Ekonomi ve Enerji>, <Topic: Uluslararası hukuk>]>, 'topic': <Topic: Dış Politika ve Güvenlik>, 'regions': <MultilingualQuerySet [<Region: Avrupa>, <Region: Orta Doğu>, <Region: Asya-Pasifik>, <Region: Kuzey Amerika / Latin Amerika / Karayipler>, <Region: Avustralya>, <Region: Rusya>, <Region: Kafkaslar ve Orta Asya>, <Region: Çin>, <Region: Rusya ve Avrasya>, <Region: Arktik>, <Region: Afrika>, <Region: ABD>]>, 'pdfs': <Page 1 of 6>}] |
node | <ExtendsNode: extends 'templates/base.html'> |
self | [<ExtendsNode: extends 'templates/base.html'>] |
/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/django/template/base.py
, line 905, in render_annotated
"""
Render the node. If debug is True and an exception occurs during
rendering, the exception is annotated with contextual line information
where it occurred in the template. For internal usage this method is
preferred over using the render method directly.
"""
try:
return self.render(context)…
except Exception as e:
if context.template.engine.debug and not hasattr(e, 'template_debug'):
e.template_debug = context.render_context.template.get_exception_info(e, self.token)
raise
def __iter__(self):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7f4fa122ffa0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'pdf_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'view': <core.views.TopicPDFs object at 0x7f4fa122f6a0>, 'lang_dropdown': {'tr': 'assets/images/flag_tr.png', 'en': 'assets/images/flag_en.png'}, 'HeaderMenu': <MultilingualQuerySet [<MenuBaseItems: BİLGESAM>, <MenuBaseItems: Araştırma>, <MenuBaseItems: Faaliyetler>, <MenuBaseItems: Yayınlar>, <MenuBaseItems: İletişim>]>, 'footer_menus': <MultilingualQuerySet [<FooterMenu: İletişim>, <FooterMenu: Hakkımızda>, <FooterMenu: Konular>, <FooterMenu: Bölgeler>, <FooterMenu: Bilgesam>]>, 'footer_about': <FooterAbout: BİLGE İNSANLAR STRATEJİK ARAŞTIRMALAR MERKEZİ>, 'footer_contacts': <MultilingualQuerySet [<FooterContact: Phone: +905319203512>, <FooterContact: Email: [email protected]>]>, 'other_topics': <MultilingualQuerySet [<Topic: Savunma ve Savunma Sanayi>, <Topic: Sosyo-Kültür>, <Topic: Ekonomi ve Enerji>, <Topic: Uluslararası hukuk>]>, 'topic': <Topic: Dış Politika ve Güvenlik>, 'regions': <MultilingualQuerySet [<Region: Avrupa>, <Region: Orta Doğu>, <Region: Asya-Pasifik>, <Region: Kuzey Amerika / Latin Amerika / Karayipler>, <Region: Avustralya>, <Region: Rusya>, <Region: Kafkaslar ve Orta Asya>, <Region: Çin>, <Region: Rusya ve Avrasya>, <Region: Arktik>, <Region: Afrika>, <Region: ABD>]>, 'pdfs': <Page 1 of 6>}] |
self | <ExtendsNode: extends 'templates/base.html'> |
/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/django/template/loader_tags.py
, line 127, in render
return parent
if isinstance(getattr(parent, 'template', None), Template):
# parent is a django.template.backends.django.Template
return parent.template
return self.find_template(parent, context)
def render(self, context):
compiled_parent = self.get_parent(context)…
if BLOCK_CONTEXT_KEY not in context.render_context:
context.render_context[BLOCK_CONTEXT_KEY] = BlockContext()
block_context = context.render_context[BLOCK_CONTEXT_KEY]
# Add the block nodes from this node to the block context
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7f4fa122ffa0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'pdf_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'view': <core.views.TopicPDFs object at 0x7f4fa122f6a0>, 'lang_dropdown': {'tr': 'assets/images/flag_tr.png', 'en': 'assets/images/flag_en.png'}, 'HeaderMenu': <MultilingualQuerySet [<MenuBaseItems: BİLGESAM>, <MenuBaseItems: Araştırma>, <MenuBaseItems: Faaliyetler>, <MenuBaseItems: Yayınlar>, <MenuBaseItems: İletişim>]>, 'footer_menus': <MultilingualQuerySet [<FooterMenu: İletişim>, <FooterMenu: Hakkımızda>, <FooterMenu: Konular>, <FooterMenu: Bölgeler>, <FooterMenu: Bilgesam>]>, 'footer_about': <FooterAbout: BİLGE İNSANLAR STRATEJİK ARAŞTIRMALAR MERKEZİ>, 'footer_contacts': <MultilingualQuerySet [<FooterContact: Phone: +905319203512>, <FooterContact: Email: [email protected]>]>, 'other_topics': <MultilingualQuerySet [<Topic: Savunma ve Savunma Sanayi>, <Topic: Sosyo-Kültür>, <Topic: Ekonomi ve Enerji>, <Topic: Uluslararası hukuk>]>, 'topic': <Topic: Dış Politika ve Güvenlik>, 'regions': <MultilingualQuerySet [<Region: Avrupa>, <Region: Orta Doğu>, <Region: Asya-Pasifik>, <Region: Kuzey Amerika / Latin Amerika / Karayipler>, <Region: Avustralya>, <Region: Rusya>, <Region: Kafkaslar ve Orta Asya>, <Region: Çin>, <Region: Rusya ve Avrasya>, <Region: Arktik>, <Region: Afrika>, <Region: ABD>]>, 'pdfs': <Page 1 of 6>}] |
self | <ExtendsNode: extends 'templates/base.html'> |
/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/django/template/loader_tags.py
, line 124, in get_parent
raise TemplateSyntaxError(error_msg)
if isinstance(parent, Template):
# parent is a django.template.Template
return parent
if isinstance(getattr(parent, 'template', None), Template):
# parent is a django.template.backends.django.Template
return parent.template
return self.find_template(parent, context)…
def render(self, context):
compiled_parent = self.get_parent(context)
if BLOCK_CONTEXT_KEY not in context.render_context:
context.render_context[BLOCK_CONTEXT_KEY] = BlockContext()
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7f4fa122ffa0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'pdf_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'view': <core.views.TopicPDFs object at 0x7f4fa122f6a0>, 'lang_dropdown': {'tr': 'assets/images/flag_tr.png', 'en': 'assets/images/flag_en.png'}, 'HeaderMenu': <MultilingualQuerySet [<MenuBaseItems: BİLGESAM>, <MenuBaseItems: Araştırma>, <MenuBaseItems: Faaliyetler>, <MenuBaseItems: Yayınlar>, <MenuBaseItems: İletişim>]>, 'footer_menus': <MultilingualQuerySet [<FooterMenu: İletişim>, <FooterMenu: Hakkımızda>, <FooterMenu: Konular>, <FooterMenu: Bölgeler>, <FooterMenu: Bilgesam>]>, 'footer_about': <FooterAbout: BİLGE İNSANLAR STRATEJİK ARAŞTIRMALAR MERKEZİ>, 'footer_contacts': <MultilingualQuerySet [<FooterContact: Phone: +905319203512>, <FooterContact: Email: [email protected]>]>, 'other_topics': <MultilingualQuerySet [<Topic: Savunma ve Savunma Sanayi>, <Topic: Sosyo-Kültür>, <Topic: Ekonomi ve Enerji>, <Topic: Uluslararası hukuk>]>, 'topic': <Topic: Dış Politika ve Güvenlik>, 'regions': <MultilingualQuerySet [<Region: Avrupa>, <Region: Orta Doğu>, <Region: Asya-Pasifik>, <Region: Kuzey Amerika / Latin Amerika / Karayipler>, <Region: Avustralya>, <Region: Rusya>, <Region: Kafkaslar ve Orta Asya>, <Region: Çin>, <Region: Rusya ve Avrasya>, <Region: Arktik>, <Region: Afrika>, <Region: ABD>]>, 'pdfs': <Page 1 of 6>}] |
parent | 'templates/base.html' |
self | <ExtendsNode: extends 'templates/base.html'> |
/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/django/template/loader_tags.py
, line 103, in find_template
the render_context attribute between successive extends calls and
passed as the skip argument. This enables extends to work recursively
without extending the same template twice.
"""
history = context.render_context.setdefault(
self.context_key, [self.origin],
)
template, origin = context.template.engine.find_template(…
template_name, skip=history,
)
history.append(origin)
return template
def get_parent(self, context):
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7f4fa122ffa0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'pdf_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'view': <core.views.TopicPDFs object at 0x7f4fa122f6a0>, 'lang_dropdown': {'tr': 'assets/images/flag_tr.png', 'en': 'assets/images/flag_en.png'}, 'HeaderMenu': <MultilingualQuerySet [<MenuBaseItems: BİLGESAM>, <MenuBaseItems: Araştırma>, <MenuBaseItems: Faaliyetler>, <MenuBaseItems: Yayınlar>, <MenuBaseItems: İletişim>]>, 'footer_menus': <MultilingualQuerySet [<FooterMenu: İletişim>, <FooterMenu: Hakkımızda>, <FooterMenu: Konular>, <FooterMenu: Bölgeler>, <FooterMenu: Bilgesam>]>, 'footer_about': <FooterAbout: BİLGE İNSANLAR STRATEJİK ARAŞTIRMALAR MERKEZİ>, 'footer_contacts': <MultilingualQuerySet [<FooterContact: Phone: +905319203512>, <FooterContact: Email: [email protected]>]>, 'other_topics': <MultilingualQuerySet [<Topic: Savunma ve Savunma Sanayi>, <Topic: Sosyo-Kültür>, <Topic: Ekonomi ve Enerji>, <Topic: Uluslararası hukuk>]>, 'topic': <Topic: Dış Politika ve Güvenlik>, 'regions': <MultilingualQuerySet [<Region: Avrupa>, <Region: Orta Doğu>, <Region: Asya-Pasifik>, <Region: Kuzey Amerika / Latin Amerika / Karayipler>, <Region: Avustralya>, <Region: Rusya>, <Region: Kafkaslar ve Orta Asya>, <Region: Çin>, <Region: Rusya ve Avrasya>, <Region: Arktik>, <Region: Afrika>, <Region: ABD>]>, 'pdfs': <Page 1 of 6>}] |
history | [<django.template.base.Origin object at 0x7f4fa102a460>] |
self | <ExtendsNode: extends 'templates/base.html'> |
template_name | 'templates/base.html' |
/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/django/template/engine.py
, line 129, in find_template
tried = []
for loader in self.template_loaders:
try:
template = loader.get_template(name, skip=skip)
return template, template.origin
except TemplateDoesNotExist as e:
tried.extend(e.tried)
raise TemplateDoesNotExist(name, tried=tried)…
def from_string(self, template_code):
"""
Return a compiled Template object for the given template code,
handling template inheritance recursively.
"""
Variable | Value |
---|---|
dirs | None |
loader | <django.template.loaders.app_directories.Loader object at 0x7f4fa15d1b80> |
name | 'templates/base.html' |
self | <django.template.engine.Engine object at 0x7f4fa15c4eb0> |
skip | [<django.template.base.Origin object at 0x7f4fa102a460>] |
tried | [(<django.template.base.Origin object at 0x7f4fa11dd130>, 'Source does not exist'), (<django.template.base.Origin object at 0x7f4fa11dd0d0>, 'Source does not exist'), (<django.template.base.Origin object at 0x7f4fa11dd610>, 'Source does not exist'), (<django.template.base.Origin object at 0x7f4fa11dd8b0>, 'Source does not exist'), (<django.template.base.Origin object at 0x7f4fa11dd880>, 'Source does not exist'), (<django.template.base.Origin object at 0x7f4fa11dd520>, 'Source does not exist'), (<django.template.base.Origin object at 0x7f4fa11ddac0>, 'Source does not exist'), (<django.template.base.Origin object at 0x7f4fa0f40c10>, 'Source does not exist')] |
/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-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 | TemplateDoesNotExist('templates/base.html') |
get_response | <bound method BaseHandler._get_response of <django.core.handlers.wsgi.WSGIHandler object at 0x7f4fa3c5e040>> |
request | <WSGIRequest: GET '/topics/foreign-policy-and-security/pdfs'> |
/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/django/core/handlers/base.py
, line 204, in _get_response
response,
middleware_method,
name='%s.process_template_response' % (
middleware_method.__self__.__class__.__name__,
)
)
try:
response = response.render()…
except Exception as e:
response = self.process_exception_by_middleware(e, request)
if response is None:
raise
return response
Variable | Value |
---|---|
callback | <function TopicPDFs at 0x7f4fa1863040> |
callback_args | () |
callback_kwargs | {'topic_slug': 'foreign-policy-and-security'} |
middleware_method | <bound method CsrfViewMiddleware.process_view of <django.middleware.csrf.CsrfViewMiddleware object at 0x7f4fa19341f0>> |
request | <WSGIRequest: GET '/topics/foreign-policy-and-security/pdfs'> |
response | None |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f4fa3c5e040> |
wrapped_callback | <function TopicPDFs at 0x7f4fa1863040> |
/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/django/template/response.py
, line 105, in render
If the content has already been rendered, this is a no-op.
Return the baked response instance.
"""
retval = self
if not self._is_rendered:
self.content = self.rendered_content…
for post_callback in self._post_render_callbacks:
newretval = post_callback(retval)
if newretval is not None:
retval = newretval
return retval
Variable | Value |
---|---|
retval | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/django/template/response.py
, line 83, in rendered_content
This *does not* set the final content of the response. To set the
response content, you must either call render(), or set the
content explicitly using the value of this property.
"""
template = self.resolve_template(self.template_name)
context = self.resolve_context(self.context_data)
return template.render(context, self._request)…
def add_post_render_callback(self, callback):
"""Add a new post-rendering callback.
If the response has already been rendered,
invoke the callback immediately.
Variable | Value |
---|---|
context | {'HeaderMenu': <MultilingualQuerySet [<MenuBaseItems: BİLGESAM>, <MenuBaseItems: Araştırma>, <MenuBaseItems: Faaliyetler>, <MenuBaseItems: Yayınlar>, <MenuBaseItems: İletişim>]>, 'footer_about': <FooterAbout: BİLGE İNSANLAR STRATEJİK ARAŞTIRMALAR MERKEZİ>, 'footer_contacts': <MultilingualQuerySet [<FooterContact: Phone: +905319203512>, <FooterContact: Email: [email protected]>]>, 'footer_menus': <MultilingualQuerySet [<FooterMenu: İletişim>, <FooterMenu: Hakkımızda>, <FooterMenu: Konular>, <FooterMenu: Bölgeler>, <FooterMenu: Bilgesam>]>, 'is_paginated': True, 'lang_dropdown': {'en': 'assets/images/flag_en.png', 'tr': 'assets/images/flag_tr.png'}, 'object_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'other_topics': <MultilingualQuerySet [<Topic: Savunma ve Savunma Sanayi>, <Topic: Sosyo-Kültür>, <Topic: Ekonomi ve Enerji>, <Topic: Uluslararası hukuk>]>, 'page_obj': <Page 1 of 6>, 'paginator': <django.core.paginator.Paginator object at 0x7f4fa122ffa0>, 'pdf_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'pdfs': <Page 1 of 6>, 'regions': <MultilingualQuerySet [<Region: Avrupa>, <Region: Orta Doğu>, <Region: Asya-Pasifik>, <Region: Kuzey Amerika / Latin Amerika / Karayipler>, <Region: Avustralya>, <Region: Rusya>, <Region: Kafkaslar ve Orta Asya>, <Region: Çin>, <Region: Rusya ve Avrasya>, <Region: Arktik>, <Region: Afrika>, <Region: ABD>]>, 'topic': <Topic: Dış Politika ve Güvenlik>, 'view': <core.views.TopicPDFs object at 0x7f4fa122f6a0>} |
self | <TemplateResponse status_code=200, "text/html; charset=utf-8"> |
template | <django.template.backends.django.Template object at 0x7f4fa13ba580> |
/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/django/template/backends/django.py
, line 63, in render
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):
"""
Create a new TemplateDoesNotExist. Preserve its declared attributes and
template debug data but discard __traceback__, __context__, and __cause__
Variable | Value |
---|---|
context | [{'True': True, 'False': False, 'None': None}, {}, {}, {'paginator': <django.core.paginator.Paginator object at 0x7f4fa122ffa0>, 'page_obj': <Page 1 of 6>, 'is_paginated': True, 'object_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'pdf_list': <MultilingualQuerySet [<PDF: Putin’in Batı’ya mesajı: Rövanş mı taviz mi?>, <PDF: Hitting Zawahiri Over The Horizon>, <PDF: New Peace Agenda in The South Caucasus>, <PDF: Iran: Friend or Foe of Turkish-Muslim World?>, <PDF: Upgrading The Traditional Dossier of The Turco-Chinese Relations: What Steps Now?>, <PDF: Türkiye-EU Relations in Changing Geopolitical Parameters>, <PDF: Provocation Against Peace In The South Caucasus>, <PDF: Turkish Foreign Policy in a Changing World - GÜLRU GEZER>, <PDF: Accountability for War Crimes Can Bring Peace and Reconciliation>, <PDF: Turkish Foreign Policy In A Changing World>, <PDF: Turkish Foreign Policy In A Multipolar World Setting>, <PDF: Azerbaijan’s journey from Victory to Victory>]>, 'view': <core.views.TopicPDFs object at 0x7f4fa122f6a0>, 'lang_dropdown': {'tr': 'assets/images/flag_tr.png', 'en': 'assets/images/flag_en.png'}, 'HeaderMenu': <MultilingualQuerySet [<MenuBaseItems: BİLGESAM>, <MenuBaseItems: Araştırma>, <MenuBaseItems: Faaliyetler>, <MenuBaseItems: Yayınlar>, <MenuBaseItems: İletişim>]>, 'footer_menus': <MultilingualQuerySet [<FooterMenu: İletişim>, <FooterMenu: Hakkımızda>, <FooterMenu: Konular>, <FooterMenu: Bölgeler>, <FooterMenu: Bilgesam>]>, 'footer_about': <FooterAbout: BİLGE İNSANLAR STRATEJİK ARAŞTIRMALAR MERKEZİ>, 'footer_contacts': <MultilingualQuerySet [<FooterContact: Phone: +905319203512>, <FooterContact: Email: [email protected]>]>, 'other_topics': <MultilingualQuerySet [<Topic: Savunma ve Savunma Sanayi>, <Topic: Sosyo-Kültür>, <Topic: Ekonomi ve Enerji>, <Topic: Uluslararası hukuk>]>, 'topic': <Topic: Dış Politika ve Güvenlik>, 'regions': <MultilingualQuerySet [<Region: Avrupa>, <Region: Orta Doğu>, <Region: Asya-Pasifik>, <Region: Kuzey Amerika / Latin Amerika / Karayipler>, <Region: Avustralya>, <Region: Rusya>, <Region: Kafkaslar ve Orta Asya>, <Region: Çin>, <Region: Rusya ve Avrasya>, <Region: Arktik>, <Region: Afrika>, <Region: ABD>]>, 'pdfs': <Page 1 of 6>}] |
request | <WSGIRequest: GET '/topics/foreign-policy-and-security/pdfs'> |
self | <django.template.backends.django.Template object at 0x7f4fa13ba580> |
/home/ayturan_01/thinktank/new_venw/lib/python3.8/site-packages/django/template/backends/django.py
, line 84, in reraise
def reraise(exc, backend):
"""
Reraise TemplateDoesNotExist while maintaining template debug information.
"""
new = copy_exception(exc, backend)
raise new from exc…
def get_installed_libraries():
"""
Return the built-in template tag libraries and those from installed
applications. Libraries are stored in a dictionary where keys are the
Variable | Value |
---|---|
backend | <django.template.backends.django.DjangoTemplates object at 0x7f4fa1606af0> |
exc | TemplateDoesNotExist('templates/base.html') |
new | TemplateDoesNotExist('templates/base.html') |
AnonymousUser
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
HTTP_ACCEPT | '*/*' |
HTTP_ACCEPT_ENCODING | 'gzip, br' |
HTTP_CDN_LOOP | 'cloudflare' |
HTTP_CF_CONNECTING_IP | '35.175.200.199' |
HTTP_CF_IPCOUNTRY | 'US' |
HTTP_CF_RAY | '86bd4ef0ff3f5a51-FRA' |
HTTP_CF_VISITOR | '{"scheme":"https"}' |
HTTP_CONNECTION | 'close' |
HTTP_HOST | 'bilgeinsansam.com' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_X_FORWARDED_FOR | '35.175.200.199, 162.158.86.182' |
HTTP_X_FORWARDED_PROTO | 'http' |
HTTP_X_REAL_IP | '162.158.86.182' |
PATH_INFO | '/topics/foreign-policy-and-security/pdfs' |
QUERY_STRING | '' |
RAW_URI | '/topics/foreign-policy-and-security/pdfs' |
REMOTE_ADDR | '' |
REQUEST_METHOD | 'GET' |
SCRIPT_NAME | '' |
SERVER_NAME | 'bilgeinsansam.com' |
SERVER_PORT | '80' |
SERVER_PROTOCOL | 'HTTP/1.0' |
SERVER_SOFTWARE | 'gunicorn/20.1.0' |
gunicorn.socket | <socket.socket fd=9, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=/home/ayturan_01/thinktank/thinktank.sock> |
wsgi.errors | <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7f4fa10265e0> |
wsgi.file_wrapper | <class 'gunicorn.http.wsgi.FileWrapper'> |
wsgi.input | <gunicorn.http.body.Body object at 0x7f4fa11d9ca0> |
wsgi.input_terminated | True |
wsgi.multiprocess | True |
wsgi.multithread | False |
wsgi.run_once | False |
wsgi.url_scheme | 'http' |
wsgi.version | (1, 0) |
thinktank.settings
Setting | Value |
---|---|
ABSOLUTE_URL_OVERRIDES | {} |
ADMINS | [] |
ALLOWED_HOSTS | ['139.59.138.178', '*'] |
APPEND_SLASH | True |
AUTHENTICATION_BACKENDS | ['django.contrib.auth.backends.ModelBackend'] |
AUTH_PASSWORD_VALIDATORS | '********************' |
AUTH_USER_MODEL | 'auth.User' |
BASE_DIR | PosixPath('/home/ayturan_01/thinktank') |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} |
CACHE_MIDDLEWARE_ALIAS | 'default' |
CACHE_MIDDLEWARE_KEY_PREFIX | '********************' |
CACHE_MIDDLEWARE_SECONDS | 600 |
CKEDITOR_CONFIGS | {'default': {'extraPlugins': 'div,autolink,autoembed,embedsemantic,autogrow,widget,lineutils,clipboard,dialog,dialogui,elementspath', 'skin': 'moono', 'tabSpaces': 4, 'toolbar': 'YouCustomToolbarConfig', 'toolbar_Basic': [['Source', '-', 'Bold', 'Italic']], 'toolbar_YouCustomToolbarConfig': [{'items': ['Source', '-', 'Save', 'NewPage', 'Preview', 'Print', '-', 'Templates'], 'name': 'document'}, {'items': ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'], 'name': 'clipboard'}, {'items': ['Find', 'Replace', '-', 'SelectAll'], 'name': 'editing'}, {'items': ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'], 'name': 'forms'}, '/', {'items': ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat'], 'name': 'basicstyles'}, {'items': ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl', 'Language'], 'name': 'paragraph'}, {'items': ['Link', 'Unlink', 'Anchor'], 'name': 'links'}, {'items': ['Image', 'Flash', 'Table', 'HorizontalRule', 'Smiley', 'SpecialChar', 'PageBreak', 'Iframe'], 'name': 'insert'}, '/', {'items': ['Styles', 'Format', 'Font', 'FontSize'], 'name': 'styles'}, {'items': ['TextColor', 'BGColor'], 'name': 'colors'}, {'items': ['Maximize', 'ShowBlocks'], 'name': 'tools'}, {'items': ['About'], 'name': 'about'}, '/', {'items': ['Preview', 'Maximize'], 'name': 'youcustomtools'}]}} |
CKEDITOR_JQUERY_URL | '//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js' |
CKEDITOR_UPLOAD_PATH | 'uploads/' |
CSRF_COOKIE_AGE | 31449600 |
CSRF_COOKIE_DOMAIN | None |
CSRF_COOKIE_HTTPONLY | False |
CSRF_COOKIE_NAME | 'csrftoken' |
CSRF_COOKIE_PATH | '/' |
CSRF_COOKIE_SAMESITE | 'Lax' |
CSRF_COOKIE_SECURE | False |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_HEADER_NAME | 'HTTP_X_CSRFTOKEN' |
CSRF_TRUSTED_ORIGINS | [] |
CSRF_USE_SESSIONS | False |
DATABASES | {'default': {'ATOMIC_REQUESTS': False, 'AUTOCOMMIT': True, 'CONN_MAX_AGE': 0, 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'HOST': 'localhost', 'NAME': 'thinktank', 'OPTIONS': {}, 'PASSWORD': '********************', 'PORT': '', 'TEST': {'CHARSET': None, 'COLLATION': None, 'MIGRATE': True, 'MIRROR': None, 'NAME': None}, 'TIME_ZONE': None, 'USER': 'postgress'}} |
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.BigAutoField' |
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 | 'webmaster@localhost' |
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' |
IGNORABLE_404_URLS | [] |
IMAGEKIT_CACHEFILE_DIR | 'CACHE/images' |
IMAGEKIT_CACHEFILE_NAMER | 'imagekit.cachefiles.namers.hash' |
IMAGEKIT_CACHE_BACKEND | 'default' |
IMAGEKIT_CACHE_PREFIX | 'imagekit:' |
IMAGEKIT_CACHE_TIMEOUT | 300 |
IMAGEKIT_DEFAULT_CACHEFILE_BACKEND | 'imagekit.cachefiles.backends.Simple' |
IMAGEKIT_DEFAULT_CACHEFILE_STRATEGY | 'imagekit.cachefiles.strategies.JustInTime' |
IMAGEKIT_DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
IMAGEKIT_SPEC_CACHEFILE_NAMER | 'imagekit.cachefiles.namers.source_name_as_path' |
IMAGEKIT_USE_MEMCACHED_SAFE_CACHE_KEY | '********************' |
INSTALLED_APPS | ['jazzmin', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites', 'django.contrib.flatpages', 'rosetta', 'core', 'slider', 'article', 'pdf', 'video', 'people', 'modeltranslation', 'ckeditor', 'ckeditor_uploader', 'import_export', 'footer'] |
INTERNAL_IPS | [] |
JAZZMIN_SETTINGS | {'copyright': 'Sevdimali İsayev', 'icons': {'article.Article': 'fas fa-newspaper', 'auth': 'fas fa-users-cog', 'auth.Group': 'fas fa-users', 'auth.user': 'fas fa-user', 'author.Author': 'fas fa-user-edit', 'core.Ads': 'fas fa-ad', 'core.Category': 'fas fa-bookmark', 'core.MenuBaseItems': 'fas fa-cube', 'core.MenuSubItems': 'fas fa-cubes', 'core.Subcription': 'fas fa-envelope-open-text', 'core.Trend': 'fas fa-sort-amount-up-alt', 'pdf.PDF': 'fas fa-file-pdf', 'slider.Slider': 'fas fa-exchange-alt', 'video.Video': 'fab fa-youtube'}, 'language_chooser': True, 'navigation_expanded': True, 'show_sidebar': True, 'site_header': 'domain.com', 'site_title': 'domain.com Admin', 'welcome_sign': 'Admin panel'} |
LANGUAGES | (('tr', 'assets/images/flag_tr.png'), ('en', 'assets/images/flag_en.png')) |
LANGUAGES_BIDI | ['he', 'ar', 'ar-dz', 'fa', 'ur'] |
LANGUAGE_CODE | 'tr' |
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 | ('/home/ayturan_01/thinktank/locale',) |
LOGGING | {} |
LOGGING_CONFIG | 'logging.config.dictConfig' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
LOGIN_URL | '/accounts/login/' |
LOGOUT_REDIRECT_URL | None |
MANAGERS | [] |
MEDIA_ROOT | '/home/ayturan_01/thinktank/media' |
MEDIA_URL | '/media/' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
MIDDLEWARE | ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware'] |
MIGRATION_MODULES | {} |
MODELTRANSLATION_DEFAULT_LANGUAGE | 'tr' |
MONTH_DAY_FORMAT | 'F j' |
NUMBER_GROUPING | 0 |
PASSWORD_HASHERS | '********************' |
PASSWORD_RESET_TIMEOUT | '********************' |
PASSWORD_RESET_TIMEOUT_DAYS | '********************' |
PREPEND_WWW | False |
ROOT_URLCONF | 'thinktank.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 | 'thinktank.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 | 1 |
STATICFILES_DIRS | ('/home/ayturan_01/thinktank/static',) |
STATICFILES_FINDERS | ['django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder'] |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
STATIC_ROOT | None |
STATIC_URL | '/static/' |
TEMPLATES | [{'APP_DIRS': True, 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'DIRS': [PosixPath('/home/ayturan_01/thinktank/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.i18n', 'core.context_processors.menu_elements'], 'libraries': {'staticfiles': 'django.templatetags.static'}}}] |
TEST_NON_SERIALIZED_APPS | [] |
TEST_RUNNER | 'django.test.runner.DiscoverRunner' |
THOUSAND_SEPARATOR | ',' |
TIME_FORMAT | 'P' |
TIME_INPUT_FORMATS | ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M'] |
TIME_ZONE | 'UTC' |
USE_I18N | True |
USE_L10N | True |
USE_THOUSAND_SEPARATOR | False |
USE_TZ | True |
USE_X_FORWARDED_HOST | False |
USE_X_FORWARDED_PORT | False |
WSGI_APPLICATION | 'thinktank.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.