diff options
author | luxagraf <sng@luxagraf.net> | 2015-11-16 19:43:14 -0500 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2015-11-16 19:43:14 -0500 |
commit | 84833bddee645fbdc5681fe2188a4539af60df49 (patch) | |
tree | 5dbc930a8120378e0c0c6c2912f47e01f8c7455b /app/src | |
parent | 7e2850517348d76fe40b7fb288c55b8ee9909e12 (diff) |
fixed book sale pages and css to match
Diffstat (limited to 'app/src')
-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' |