les autres semaines ne sont pas des home
This commit is contained in:
parent
46c1c71943
commit
c93f97047f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user