
    Evgd                     0    d dl mZmZ  G d d          ZdS )    )TemplateTemplateDoesNotExistc                   (    e Zd Zd ZddZd Zd ZdS )Loaderc                     || _         d S N)engine)selfr	   s     Y/var/www/pixelcanvas.ch/venv/lib/python3.11/site-packages/django/template/loaders/base.py__init__zLoader.__init__   s        Nc                 H   g }|                      |          D ]z}|||v r|                    |df            	 |                     |          }t          |||j        | j                  c S # t          $ r |                    |df           Y ww xY wt          ||          )a  
        Call self.get_template_sources() and return a Template object for
        the first template matching template_name. If skip is provided, ignore
        template origins in skip. This is used to avoid recursion during
        template extending.
        NzSkipped to avoid recursionzSource does not exist)tried)get_template_sourcesappendget_contentsr   template_namer	   r   )r
   r   skipr   origincontentss         r   get_templatezLoader.get_template   s     //>> 	 	FFdNNf&BCDDD,,V44
  (K	    	 (   f&=>??? #=>>>>s   A,,!BBc                      t          d          )zg
        An iterator that yields possible matching template paths for a
        template name.
        zAsubclasses of Loader must provide a get_template_sources() method)NotImplementedError)r
   r   s     r   r   zLoader.get_template_sources%   s    
 "O
 
 	
r   c                     dS )z}
        Reset any state maintained by the loader instance (e.g. cached
        templates or cached loader modules).
        N )r
   s    r   resetzLoader.reset.   s	    
 	r   r   )__name__
__module____qualname__r   r   r   r   r   r   r   r   r      sU          ? ? ? ?:
 
 
    r   r   N)django.templater   r   r   r   r   r   <module>r!      sO    : : : : : : : :/ / / / / / / / / /r   