calendar update
This commit is contained in:
parent
d7fd5e5537
commit
a1a8a6d9aa
1 changed files with 4 additions and 3 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue