Welcome | Get started | Dive | Contribute | Topics | Reference | Changes | More

Holidays in Lino Voga

See also Defining holidays.

A series of weekends

>>> obj = courses.Course.objects.get(name__contains="Weekends")
>>> print(obj)
Five Weekends 2015
>>> print(obj.start_date)
2015-06-19
>>> print(dd.today())
2015-05-22
>>> rt.show(cal.EventsByController, obj, column_names="when_text detail_link state", nosummary=True)
=============================== ========================= ===========
 When                            Calendar entry            State
------------------------------- ------------------------- -----------
 Fri 06/11/2015-Sun 08/11/2015   ` 5 (06.11.2015) <…>`__   Suggested
 Fri 02/10/2015-Sun 04/10/2015   ` 4 (02.10.2015) <…>`__   Suggested
 Fri 28/08/2015-Sun 30/08/2015   ` 3 (28.08.2015) <…>`__   Suggested
 Fri 24/07/2015-Sun 26/07/2015   ` 2 (24.07.2015) <…>`__   Suggested
 Fri 19/06/2015-Sun 21/06/2015   ` 1 (19.06.2015) <…>`__   Suggested
=============================== ========================= ===========