diff --git a/calendrier/views.py b/calendrier/views.py index a11a211..c77fcf3 100644 --- a/calendrier/views.py +++ b/calendrier/views.py @@ -170,15 +170,16 @@ class Calendar(LoginRequiredMixin, TemplateView): class Home(Calendar): - lToday = datetime.now() @property def pYear(self): - return self.lToday.year + lToday = datetime.now() + return lToday.year @property def pMonth(self): - return self.lToday.month + lToday = datetime.now() + return lToday.month class ViewEvent(LoginRequiredMixin, TemplateView):