This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from django import template | |
| from django.core.exceptions import ValidationError | |
| from django.core.validators import validate_slug | |
| from django.template import TemplateSyntaxError | |
| from django.template.base import token_kwargs | |
| register = template.Library() | |
| @register.tag |