multiple task query

This commit is contained in:
buenosairesam
2025-01-25 07:33:37 -03:00
parent 2da2f2641a
commit 68f91f06de
3 changed files with 10 additions and 21 deletions

View File

@@ -130,19 +130,3 @@ def month(month=None, year=None, task=None):
cal.setcalyear(useyear)
return render_template("calendar.html", content=cal.formatmonth(useyear, usemonth))
@dmbp.route("/week")
@dmbp.route("/week/<int:week>")
def week(month=None):
usemonth = datetime.today().month
useyear = datetime.today().year
if month:
usemonth = month
cal = DMHTMLCalendar(calendar.SATURDAY)
cal.setcalmonth(usemonth)
cal.setcalyear(useyear)
return render_template("calendar.html", content=cal.formatmonth(useyear, usemonth))