summaryrefslogtreecommitdiff
path: root/app/budget
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2022-11-13 10:16:19 -0600
committerluxagraf <sng@luxagraf.net>2022-11-13 10:16:19 -0600
commitd95378198a7c805b4b673004e8659f3f38fb5a17 (patch)
tree21178773925dd79189385e7b563b82f8eae12b5b /app/budget
parentef1cc17ac7ef2c35dacc64156c91681a9e1d5635 (diff)
bdgt: added admin for payment method
Diffstat (limited to 'app/budget')
-rw-r--r--app/budget/admin.py7
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')