Package: python-django-classy-tags (0.8.0-1)
Links for python-django-classy-tags
Debian Resources:
Download Source Package django-classy-tags:
- [django-classy-tags_0.8.0-1.dsc]
- [django-classy-tags_0.8.0.orig.tar.gz]
- [django-classy-tags_0.8.0-1.debian.tar.xz]
Maintainers:
- Debian Python Modules Team (QA Page, Mail Archive)
- Michael Fladischer (QA Page)
- Ondřej Surý (QA Page)
- Thomas Goirand (QA Page)
External Resources:
- Homepage [github.com]
Similar packages:
Class based template tags for Django projects
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.
Other Packages Related to python-django-classy-tags
|
|
|
|
-
- dep: python
- interactive high-level object-oriented language (Python2 version)
-
- dep: python-django (>= 1.5)
- High-level Python web development framework (Python 2 version)
-
- sug: python-django-classy-tags-doc
- Class based template tags for Django projects (Documentation)
Download python-django-classy-tags
Architecture | Package Size | Installed Size | Files |
---|---|---|---|
all | 20.7 kB | 122.0 kB | [list of files] |