Files @ a18e221dc6ce
Branch filter:

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

bkuhn
Move email subscribe box to the front page only.

It just looked wrong up there on top of the page. I know that's what I
suggested to Paul to do it, but 11 months later, when I finally accepted his
merge request, it just didn't make sense.
1
2
3
4
5
6
7
8
9
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)