- Fix Django 3.0 compatibility
- Fix
BaseInclusionNode.get_template_name()
to support lists in Django 1.7 and below.
- Support
@register.tag
directly on the class
- Added Django 1.8 support
- Fix
BaseAssignmentOrInclusionNode.get_context_data
. - Fix passing
template
toBaseAssignmentOrInclusionNode.get_value(.. **tag_kwargs)
when it's not inallowed_kwargs
.
- Added Python 3 support.
- Added
end_tag_name
support.
- Add
BaseAssignmentOrOutputNode
to support tags similar to{% trans .. as .. %}
and{% url .. as .. %}
. - Backwards incompatible:: The arguments of
BaseAssignmentOrInclusionNode.get_value()
also receive thecontext
now. Soget_value(self, *tag_args, **tag_kwargs)
becomes:get_value(self, context, *tag_args, **tag_kwargs)
. If you use the positional arguments, update your method signature.
- Fix
BaseAssignmentOrInclusionNode
to support positional arguments
- Fix
BaseAssignmentOrInclusionNode
, used self instead of cls
- Fixed reversed arguments in
compile_args
/compile_kwargs
- Fix
BaseAssignmentOrInclusionNode
to pass the compile settings.
First PyPI release.