from django.contrib import admin from mail.models import Email, EventAddress class EmailAdmin(admin.ModelAdmin): pass admin.site.register(Email, EmailAdmin) class EventAddressAdmin(admin.ModelAdmin): pass admin.site.register(EventAddress, EventAddressAdmin)