FileSize | 19532 |
MD5 | 0AD3415368E238B4639A1600C777F2B9 |
PackageDescription | Class based template tags for Django projects (Python3 version)
django-classy-tags is an approach at making writing template tags in
Django easier, shorter and more fun. It provides an extensible
argument parser which reduces most of the boiler plate code you
usually have to write when coding custom template tags.
.
django-classy-tags does no magic by design. Thus you will not get
automatic registering/loading of your tags like other solutions
provide. You will not get automatic argument guessing from function
signatures but rather you have to declare what arguments your tag
accepts. There is no magic in your template tag class either,
it’s just a subclass of django.template.Node which invokes a parser
class to parse the arguments when it’s initialized and resolves those
arguments into keyword arguments in it’s render method and calls its
render_tag method with those keyword arguments.
.
This package contains the Python 3 version of the library. |
PackageMaintainer | Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
PackageName | python3-django-classy-tags |
PackageSection | python |
PackageVersion | 0.7.2-3 |
SHA-1 | 6B384ED43949CACCE7A2AE77BE0AF6D8557D1D11 |
SHA-256 | 98534432F89F31CB9B1002901DE640A3855C0AC38BC5C3EF867A5676E4A72315 |