Исправил отображение изделий в админке

This commit is contained in:
2015-05-11 11:10:37 +05:00
parent b80dbe93e1
commit f29ab42443

View File

@@ -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):