软件包:python3-django-classy-tags(0.8.0-1)
python3-django-classy-tags 的相关链接
Debian 的资源:
下载源码包 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]
维护小组:
- Debian Python Modules Team (QA 页面, 邮件存档)
- Michael Fladischer (QA 页面)
- Ondřej Surý (QA 页面)
- Thomas Goirand (QA 页面)
外部的资源:
- 主页 [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
- 交互式高级面向对象语言(默认 python3 版本)
-
- dep: python3-django
- High-level Python web development framework (Python 3 version)
-
- sug: python-django-classy-tags-doc
- Class based template tags for Django projects (Documentation)