# Source: django-classy-tags # Package: python-django-classy-tags-doc # Versions: python-django-classy-tags-doc (0.5.1-3), python-django-classy-tags-doc (0.5.1-4), python-django-classy-tags-doc (0.6.0-1), python-django-classy-tags-doc (0.6.2-1), python-django-classy-tags-doc (0.7.0-1), python-django-classy-tags-doc (0.7.1-1), python-django-classy-tags-doc (0.7.2-1), python-django-classy-tags-doc (0.7.2-2), python-django-classy-tags-doc (0.7.2-3), python-django-classy-tags-doc (0.8.0-1), python-django-classy-tags-doc (0.8.0-2), python-django-classy-tags-doc (0.9.0-1), python-django-classy-tags-doc (1.0.0-1), python-django-classy-tags-doc (1.0.0-2), python-django-classy-tags-doc (2.0.0-1), python-django-classy-tags-doc (2.0.0-2), python-django-classy-tags-doc (3.0.0-1), python-django-classy-tags-doc (3.0.1-1), python-django-classy-tags-doc (3.0.1-2), python-django-classy-tags-doc (4.0.0-1), python-django-classy-tags-doc (4.1.0-1), python-django-classy-tags-doc (4.1.0-2) # This Description is active # This Description is owned # Prioritize: 46 Description: 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. Description-it: etichette per modelli basate su classi per progetti Django (documentazione) django-classy-tags è un approccio per rendere la scrittura di etichette per modelli in Django più facile, veloce e divertente. Fornisce un analizzatore di argomenti estensibile che riduce gran parte del codice ripetitivo che di solito si deve scrivere quando si creano etichette per modelli personalizzate. . django-classy-tags è progettato per non fare magie. Perciò non si avranno a disposizione la registrazione/il caricamento automatici delle etichette come forniti da altre soluzioni. Non si avrà il tentativo automatico di indovinare gli argomenti dalle firme delle funzioni, ma si dovrà piuttosto dichiarare quali argomenti sono accettati dall'etichetta. Non c'è nessuna magia nella classe dell'etichetta del modello, è semplicemente una sottoclasse di django.template.Node che invoca una classe analizzatrice per analizzare gli argomenti quando è inizializzata e risolve questi argomenti in argomenti parole chiave nel suo metodo di rendering, e chiama il suo metodo render_tag con quegli argomenti parole chiave. . Questo pacchetto contiene la documentazione. # other Descriptions of the python-django-classy-tags-doc package with a translation in it: # # Description-id: 221029 https://ddtp.debian.org/ddt.cgi?desc_id=221029 # patch https://ddtp.debian.org/ddt.cgi?diff1=221029&diff2=224780&language=it # This Description was in sid from 2014-04-24 to 2014-08-27; # This Description was in jessie from 2014-06-10 to 2014-09-02; #