diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/src/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/models.py b/app/src/models.py index e5b2f54..2cf6e23 100644 --- a/app/src/models.py +++ b/app/src/models.py @@ -98,9 +98,9 @@ class Book(models.Model): (0, 'Draft'), (1, 'Published'), ) + status = models.IntegerField(choices=PUB_STATUS, default=0) price = models.FloatField() price_sale = models.FloatField() - status = models.IntegerField(choices=PUB_STATUS, default=0) meta_description = models.CharField(max_length=256, null=True, blank=True) DEFAULT = 'details/src_book.html' BOOK2 = 'details/src_book_2.html' |