From 17ff6efb8fa4674b4970a9e04c369d724cb459db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Thu, 8 Aug 2019 11:11:17 +0200 Subject: [PATCH] Use list_display instead. --- src/utils/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/admin.py b/src/utils/admin.py index a866181b..9d919579 100644 --- a/src/utils/admin.py +++ b/src/utils/admin.py @@ -6,4 +6,4 @@ from .models import OutgoingEmail @admin.register(OutgoingEmail) class OutgoingEmailAdmin(admin.ModelAdmin): model = OutgoingEmail - fields = ['subject', 'to_recipients'] + list_display = ['subject', 'to_recipients']