Files @ 70b8aa07aee4
Branch filter:

Location: website/conservancy/staff/admin.py

bsturmfels
Simplify settings and move some standard settings into settings.py

These were previously in djangocommonsettings.py, but don't ever vary between
development and production environments.
from django.contrib import admin

from .models import Person


class PersonAdmin(admin.ModelAdmin):
    list_display = ("username", "formal_name", "casual_name",
                    "currently_employed")
    list_filter = ["currently_employed"]

admin.site.register(Person, PersonAdmin)