From 4def56ad928dccea223673d4635d8a0f53d673fb 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:03:46 +0200 Subject: [PATCH] Adding outgoingemailadmin. --- src/utils/admin.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/utils/admin.py b/src/utils/admin.py index e69de29b..92a7826a 100644 --- a/src/utils/admin.py +++ b/src/utils/admin.py @@ -0,0 +1,8 @@ +from django.contrib import admin + +from .models import OutgoingEmail + + +class OutgoingEmailAdmin(admin.ModelAdmin): + model = OutgoingEmail + fields = ['subject', 'to_recipients'] \ No newline at end of file