diff options
Diffstat (limited to 'app/expenses/admin.py')
-rw-r--r-- | app/expenses/admin.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/app/expenses/admin.py b/app/expenses/admin.py deleted file mode 100644 index a754883..0000000 --- a/app/expenses/admin.py +++ /dev/null @@ -1,25 +0,0 @@ -from django.contrib import admin - -from .models import LuxExpense, Trip, Expense, Month - - -@admin.register(Trip) -class TripAdmin(admin.ModelAdmin): - list_display = ('name', 'start') - - -@admin.register(Expense) -class ExpenseAdmin(admin.ModelAdmin): - list_display = ('name', 'category', 'amount', 'date_month') - list_filter = ('date', 'category') - - -@admin.register(LuxExpense) -class LuxExpenseAdmin(admin.ModelAdmin): - list_display = ('category', 'amount', 'month') - list_filter = ('month', 'category') - - -@admin.register(Month) -class MonthAdmin(admin.ModelAdmin): - pass |