Таблица посещений

Переделал таблицу посещений
This commit is contained in:
2015-06-14 16:44:59 +05:00
parent eb54ea0344
commit 3747464a37
4 changed files with 86 additions and 9 deletions

View File

@@ -19,7 +19,7 @@ class Schedule(models.Model):
designer = models.ForeignKey(User)
def __unicode__(self):
return ', '.join((self.date.strftime('%d %b %Y'), self.designer.first_name,))
return ' '.join((self.designer.first_name, self.designer.last_name))
#Таблица посещаемости
class Attendance(models.Model):