You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
337 B
Python
19 lines
337 B
Python
3 years ago
|
from django.contrib import admin
|
||
|
|
||
|
from intervention.models import Intervention
|
||
|
|
||
|
|
||
|
class InterventionAdmin(admin.ModelAdmin):
|
||
|
list_display = [
|
||
|
"id",
|
||
|
"title",
|
||
|
"type",
|
||
|
"handler",
|
||
|
"created_on",
|
||
|
"is_active",
|
||
|
"is_deleted",
|
||
|
]
|
||
|
|
||
|
|
||
|
admin.site.register(Intervention, InterventionAdmin)
|