old_contents: from django.contrib import admin
  
  # Register your models here.
  
new_contents: from django.contrib import admin
  from .models import Transaction
  
  
  class TransactionAdmin(admin.ModelAdmin):
      list_display = ('title', 'creditor', 'amount', 'created')
      search_fields = ['title', 'creditor', 'amount', 'created']
      fieldsets = [
          ('General', {'fields': ['title', 'creditor', 'debitors', 'amount']}),
          ('Meta',    {'fields': ['created'], 'classes': ['collapse']}),
      ]
  
  
  admin.site.register(Transaction, TransactionAdmin)
subject: Configure admin panel for fineants app