multiple task query
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user