diff --git a/src/agenda_culturel/views.py b/src/agenda_culturel/views.py index 14575ff..5884ea3 100644 --- a/src/agenda_culturel/views.py +++ b/src/agenda_culturel/views.py @@ -226,7 +226,7 @@ def month_view(request, year=None, month=None): def week_view(request, year=None, week=None, home=False): now = date.today() if year is None: - year = now.year + year = now.isocalendar()[0] if week is None: week = now.isocalendar()[1]