mirror of
https://github.com/Lyxminxx/jast.git
synced 2026-10-11 12:51:51 +02:00
Ready for production deployment
This commit is contained in:
commit
e06c56e76e
23 files changed
+664
No files matched your search
@@ -0,0 +1,12 @@
|
||||
from django.contrib import admin
|
||||
from .models import Transaction, Category
|
||||
|
||||
admin.site.register(Category)
|
||||
|
||||
@admin.register(Transaction)
|
||||
class TransactionAdmin(admin.ModelAdmin):
|
||||
list_display = ('date', 'title', 'amount', 'category')
|
||||
|
||||
list_filter = ('category', 'date')
|
||||
|
||||
search_fields = ('title',)
|
||||
Reference in new issue
Block a user