from django.contrib import admin from .models import Attachment,AttachmentPolicy admin.site.register([Attachment,AttachmentPolicy])