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

9 lines
218 B
Python
Raw Normal View History

from django.contrib import admin
from models import ContactEntry
class ContactEntryAdmin(admin.ModelAdmin):
list_display = ('email', 'subscribe_conservancy')
admin.site.register(ContactEntry, ContactEntryAdmin)