gestioCOF/journaldecaisse/admin.py

10 lines
219 B
Python
Raw Normal View History

2020-02-16 18:37:16 +01:00
from django.contrib import admin
from .models import JournalEntry
class JournalAdmin(admin.ModelAdmin):
list_display = ('entry_text', 'cofeux_id', 'payment_type')
admin.site.register(JournalEntry, JournalAdmin)