Исправил отображение изделий в админке
This commit is contained in:
@@ -16,6 +16,9 @@ class Product(models.Model):
|
||||
name = models.CharField(max_length=150)
|
||||
prod_period = models.IntegerField()#трудоемкость, дней
|
||||
|
||||
def __unicode__(self):
|
||||
return self.name
|
||||
|
||||
#Таблица посещаемости
|
||||
class Attendance(models.Model):
|
||||
date = models.DateField()
|
||||
|
||||
Reference in New Issue
Block a user