Files @ a18e221dc6ce
Branch filter:

Location: website/www/conservancy/apps/contacts/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
from django.contrib import admin
from models import ContactEntry

class ContactEntryAdmin(admin.ModelAdmin):
    list_display = ('email', 'subscribe_conservancy')


admin.site.register(ContactEntry, ContactEntryAdmin)