Files @ 05bee8b3c3b9
Branch filter:

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

bsturmfels
Apply `futurize --stage1` (safe) Python 2/3 compatibility changes.
1
2
3
4
5
6
7
8
from django.contrib import admin
from conservancy.apps.contacts.models import ContactEntry

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


admin.site.register(ContactEntry, ContactEntryAdmin)