| Server IP : 217.160.0.135 / Your IP : 216.73.216.115 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/django/template/__pycache__/ |
Upload File : |
�
�|�e< � �B � d Z G d� de� � Z G d� de� � ZdS )z�
This module contains generic exceptions used by template backends. Although,
due to historical reasons, the Django template language also internally uses
these exceptions, other exceptions specific to the DTL should not be added
here.
c �$ � � e Zd ZdZd� fd� Z� xZS )�TemplateDoesNotExistav
The exception used when a template does not exist. Optional arguments:
backend
The template backend class used when raising this exception.
tried
A list of sources that were tried when finding the template. This
is formatted as a list of tuples containing (origin, status), where
origin is an Origin object or duck type and status is a string with the
reason the template wasn't found.
chain
A list of intermediate TemplateDoesNotExist exceptions. This is used to
encapsulate multiple exceptions when loading templates from multiple
engines.
Nc � �� || _ |�g }|| _ |�g }|| _ t � � � |� � d S )N)�backend�tried�chain�super�__init__)�self�msgr r r � __class__s ��</usr/lib/python3/dist-packages/django/template/exceptions.pyr zTemplateDoesNotExist.__init__ sJ �� �����=��E���
��=��E���
�
����������� )NNN)�__name__�
__module__�__qualname__�__doc__r �
__classcell__)r s @r
r r sG �� � � � � �� �"� � � � � � � � � r r c � � e Zd ZdZdS )�TemplateSyntaxErrorzK
The exception used for syntax errors during parsing or rendering.
N)r r r r � r r
r r &