diff options
-rw-r--r-- | app/income/admin.py | 2 | ||||
-rw-r--r-- | app/income/models.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/app/income/admin.py b/app/income/admin.py index 4ca6aba..7fb1ee0 100644 --- a/app/income/admin.py +++ b/app/income/admin.py @@ -4,7 +4,7 @@ from .models import Gig class GigAdmin(admin.ModelAdmin): - list_display = ('title', 'status', 'payment_status', 'publisher', 'pub_date', 'created') + list_display = ('title', 'status', 'payment', 'payment_status', 'publisher', 'pub_date', 'created') list_filter = ('publisher', 'status', 'payment_status') fieldsets = ( ('Gig', { diff --git a/app/income/models.py b/app/income/models.py index 9cace38..0d06967 100644 --- a/app/income/models.py +++ b/app/income/models.py @@ -12,8 +12,9 @@ class Gig(models.Model): STATUS = ( (0, "Pitched"), (1, "Accepted"), - (2, "Rejected"), + (2, "Submitted"), (3, "Published"), + (4, "Rejected"), ) status = models.IntegerField(choices=STATUS, default=1) payment = models.DecimalField(max_digits=10, decimal_places=2) |