← Back
Editing: library.cpython-311.pyc
� �|�e2 � � � d dl Z d dlmZ d dlmZmZ d dlmZ d dlm Z ddl mZmZm Z ddlmZ G d � d e� � Z G d� d� � Z G d � de� � Z G d� de� � Z G d� de� � Zd� Zd� ZdS )� N)� import_module)�getfullargspec�unwrap)�conditional_escape)�is_iterable� )�Node�Template�token_kwargs)�TemplateSyntaxErrorc � � e Zd ZdS )�InvalidTemplateLibraryN)�__name__� __module__�__qualname__� � �9/usr/lib/python3/dist-packages/django/template/library.pyr r s � � � � � ��Dr r c �D � e Zd ZdZd� Zd d�Zd� Zd d�Zd� Zdd�Z dd �Z dS )�Librarya A class for registering template tags and filters. Compiled filter and template tag functions are stored in the filters and tags attributes. The filter, simple_tag, and inclusion_tag methods provide a convenient way to register callables as tags. c �"