summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-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')