X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/154468a29ddb2a3ea4a078888be55c303a5239bb..9c9d869e6252d1af4e4747fdfe0d0d7a4ede3d19:/apps/attachments/admin.py?ds=inline diff --git a/apps/attachments/admin.py b/apps/attachments/admin.py new file mode 100644 index 00000000..26db450d --- /dev/null +++ b/apps/attachments/admin.py @@ -0,0 +1,11 @@ +# -*- coding: utf-8 -*- +from django.contrib import admin + +from attachments.models import Attachment + + +class AttachmentAdmin(admin.ModelAdmin): + list_display = ('key',) + search_fields = ('key',) + +admin.site.register(Attachment, AttachmentAdmin)