konova/organisation/admin.py

14 lines
241 B
Python
Raw Normal View History

2021-07-01 13:36:07 +02:00
from django.contrib import admin
from organisation.models import Organisation
class OrganisationAdmin(admin.ModelAdmin):
list_display = [
"name",
"created",
2021-07-01 13:36:07 +02:00
]
admin.site.register(Organisation, OrganisationAdmin)