From f29ab4244302967f39db5e11ec5c8fff5ee1dae9 Mon Sep 17 00:00:00 2001 From: "Denis V. Dedkov" Date: Mon, 11 May 2015 11:10:37 +0500 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B8=D0=B7=D0=B4=D0=B5=D0=BB=D0=B8=D0=B9=20?= =?UTF-8?q?=D0=B2=20=D0=B0=D0=B4=D0=BC=D0=B8=D0=BD=D0=BA=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- asuzr/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/asuzr/models.py b/asuzr/models.py index 869ae32..574a55d 100644 --- a/asuzr/models.py +++ b/asuzr/models.py @@ -15,6 +15,9 @@ class Common: class Product(models.Model): name = models.CharField(max_length=150) prod_period = models.IntegerField()#трудоемкость, дней + + def __unicode__(self): + return self.name #Таблица посещаемости class Attendance(models.Model):