Files @ 123eb7603cee
Branch filter:

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

Bradley M. Kuhn
Use typical way of putting the category in a block.

Django is so frustrating as it's never clear about how things trickle
up and down through templates, so move the category to the top like
the others.
1
2
3
4
5
6
7
from django.contrib import admin
from conservancy.apps.supporters.models import Supporter

class SupporterAdmin(admin.ModelAdmin):
    list_display = ('display_name', 'display_until_date')

admin.site.register(Supporter, SupporterAdmin)