Templatetags

Template tags are our custom extension of the Built-in template tags and filters of The Django template language.

Tags are used to provide arbitrary logic in the rendering process and are surrounded by {% and %}. Filters transform the values of variables and are surrounded by {{ and }}.

See Custom template tags and filters for more information.

Admin Filter Tags

This is a collection of admin filter tags and filters

lunes_cms.cms.templatetags.admin_filter_tags.group_discipline_filter_choices(choices)

Group the discipline options by their parent discipline

Parameters:

choices (list [ dict ]) – The flat choices

Returns:

The grouped choices

Return type:

dict