Use list_display instead.

This commit is contained in:
Víðir Valberg Guðmundsson 2019-08-08 11:11:17 +02:00
parent cd66b5fd5d
commit 17ff6efb8f

View file

@ -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']