Подкраска ячеек в таблице посещений
Сделал подкраску ячеек в таблице посещений Заодним немного облагородил общий вид страницы
This commit is contained in:
@@ -16,4 +16,8 @@ class custom_date(date):
|
||||
|
||||
@property
|
||||
def date_dd_mm_yy(self):
|
||||
return self.strftime("%d/%m/%Y")
|
||||
return self.strftime("%d/%m/%Y")
|
||||
|
||||
@property
|
||||
def is_weekend(self):
|
||||
return self.weekday() >= 5
|
||||
|
||||
Reference in New Issue
Block a user