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
1 changed files with 1 additions and 1 deletions

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