Parameters: |
- allow – None or an iterable of tag names which are explicitly allowed. If provided, tags whose names are not in the iterable will cause a ValidationError to be raised if they are used in the template code.
- disallow – None or an iterable of tag names which are explicitly allowed. If provided, tags whose names are in the iterable will cause a ValidationError to be raised if they are used in the template code. If a tag’s name is in allow and disallow, it will be disallowed.
- secure – If the validator is set to secure, it will automatically disallow the tag names listed in INSECURE_TAGS. Defaults to True.
|