les autres semaines ne sont pas des home

This commit is contained in:
Jean-Marie Favreau 2023-12-12 19:54:59 +01:00
parent 46c1c71943
commit c93f97047f

View File

@ -115,7 +115,7 @@ def month_view(request, year = None, month = None):
return render(request, 'agenda_culturel/page-month.html', context) return render(request, 'agenda_culturel/page-month.html', context)
def week_view(request, year = None, week = None, home=True): def week_view(request, year=None, week=None, home=False):
now = date.today() now = date.today()
if year is None: if year is None:
year = now.year year = now.year