Initial
This commit is contained in:
18
intervention/admin.py
Normal file
18
intervention/admin.py
Normal file
@@ -0,0 +1,18 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user