Пакет: python3-django-classy-tags (1.0.0-2)
Ссылки для python3-django-classy-tags
Ресурсы Trisquel:
Исходный код django-classy-tags:
- [django-classy-tags_1.0.0-2.dsc]
- [django-classy-tags_1.0.0.orig.tar.gz]
- [django-classy-tags_1.0.0-2.debian.tar.xz]
Сопровождающий:
Original Maintainers:
- Debian Python Modules Team (Почтовый архив)
- Michael Fladischer
- Ondřej Surý
- Thomas Goirand
Внешние ресурсы:
- Сайт [github.com]
Подобные пакеты:
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.
Другие пакеты, относящиеся к python3-django-classy-tags
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-django
- High-level Python web development framework
-
- dep: python3-six
- Python 2 and 3 compatibility library (Python 3 interface)
-
- sug: python-django-classy-tags-doc
- Class based template tags for Django projects (Documentation)
Загрузка python3-django-classy-tags
Архитектура | Размер пакета | В установленном виде | Файлы |
---|---|---|---|
all | 13,3 Кб | 68 Кб | [список файлов] |