2010-09-26 21:32:53 +00:00
|
|
|
from django.contrib import admin
|
2023-10-19 22:44:24 +00:00
|
|
|
|
|
|
|
from .models import Person
|
|
|
|
|
2010-09-26 21:32:53 +00:00
|
|
|
|
|
|
|
class PersonAdmin(admin.ModelAdmin):
|
|
|
|
list_display = ("username", "formal_name", "casual_name",
|
|
|
|
"currently_employed")
|
|
|
|
list_filter = ["currently_employed"]
|
|
|
|
|
|
|
|
admin.site.register(Person, PersonAdmin)
|