Use list_display instead.
This commit is contained in:
parent
cd66b5fd5d
commit
17ff6efb8f
|
@ -6,4 +6,4 @@ from .models import OutgoingEmail
|
||||||
@admin.register(OutgoingEmail)
|
@admin.register(OutgoingEmail)
|
||||||
class OutgoingEmailAdmin(admin.ModelAdmin):
|
class OutgoingEmailAdmin(admin.ModelAdmin):
|
||||||
model = OutgoingEmail
|
model = OutgoingEmail
|
||||||
fields = ['subject', 'to_recipients']
|
list_display = ['subject', 'to_recipients']
|
||||||
|
|
Loading…
Reference in a new issue