cal - create formatted HTMLCalendar

native_tags.contrib.cal.calendar(format, *args, **kwargs)
Creates a formatted HTMLCalendar.

Argument format can be one of month, year, or yearpage Keyword arguments are collected and passed into HTMLCalendar.formatmonth, HTMLCalendar.formatyear, and HTMLCalendar.formatyearpage

Syntax:

{% calendar month [year] [month] %}
{% calendar year [year] %}
{% calendar yearpage [year] %}

Example:

{% calendr month 2009 10 %}

This is a function tag.

Read the Docs v: latest
Versions
latest
Downloads
PDF
HTML
Epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.