diff options
author | luxagraf <sng@luxagraf.net> | 2022-11-13 10:16:19 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2022-11-13 10:16:19 -0600 |
commit | d95378198a7c805b4b673004e8659f3f38fb5a17 (patch) | |
tree | 21178773925dd79189385e7b563b82f8eae12b5b /app/budget | |
parent | ef1cc17ac7ef2c35dacc64156c91681a9e1d5635 (diff) |
bdgt: added admin for payment method
Diffstat (limited to 'app/budget')
-rw-r--r-- | app/budget/admin.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/budget/admin.py b/app/budget/admin.py index 3ab7d28..bfb3112 100644 --- a/app/budget/admin.py +++ b/app/budget/admin.py @@ -1,5 +1,5 @@ from django.contrib import admin -from .models import LuxSource, LuxPurchase, LuxSpendingCategory, LuxFixedMonthly +from .models import LuxSource, LuxPurchase, LuxSpendingCategory, LuxFixedMonthly, LuxPaymentMethod @admin.register(LuxSpendingCategory) @@ -25,3 +25,8 @@ class PurchaseAdmin(admin.ModelAdmin): @admin.register(LuxFixedMonthly) class LuxFixedMonthlyAdmin(admin.ModelAdmin): list_display = ('name', 'amount') + + +@admin.register(LuxPaymentMethod) +class LuxPaymentMethodAdmin(admin.ModelAdmin): + list_display = ('name') |