Files @ 70b8aa07aee4
Branch filter:

Location: website/conservancy/supporters/admin.py - annotation

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.
1
2
3
4
5
6
7
8
9
from django.contrib import admin

from .models import Supporter


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

admin.site.register(Supporter, SupporterAdmin)