diff options
Diffstat (limited to 'app/budget/admin.py')
-rw-r--r-- | app/budget/admin.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/budget/admin.py b/app/budget/admin.py index 3b2c0ac..3ab7d28 100644 --- a/app/budget/admin.py +++ b/app/budget/admin.py @@ -1,6 +1,5 @@ from django.contrib import admin - -from .models import LuxSource, LuxPurchase, LuxSpendingCategory +from .models import LuxSource, LuxPurchase, LuxSpendingCategory, LuxFixedMonthly @admin.register(LuxSpendingCategory) @@ -21,3 +20,8 @@ class PurchaseAdmin(admin.ModelAdmin): class Media: js = ('next-prev-links.js',) + + +@admin.register(LuxFixedMonthly) +class LuxFixedMonthlyAdmin(admin.ModelAdmin): + list_display = ('name', 'amount') |