全部搜尋項
jessie  ] [  stretch  ] [  buster  ] [  bullseye  ] [  sid  ]
[ 原始碼: django-classy-tags  ]

套件:python-django-classy-tags-doc(0.8.0-2)

python-django-classy-tags-doc 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 django-classy-tags

維護小組:

外部的資源:

相似套件:

Class based template tags for Django projects (Documentation)

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 documentation.

其他與 python-django-classy-tags-doc 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 python-django-classy-tags-doc

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 45。4 kB325。0 kB [檔案列表]