Files @ 7f5f98e5db03
Branch filter:

Location: website/www/conservancy/apps/staff/admin.py

brett
news: Render HTML entities in press release titles.

Same rationale as for blogs a few commits ago.
1
2
3
4
5
6
7
8
9
from django.contrib import admin
from conservancy.apps.staff.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)