X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/d7b22d05953c0f6380f44693d08d3cd92e40fb09..676180ac8010d13370620a4889fb07ae6122a335:/src/emails/admin.py diff --git a/src/emails/admin.py b/src/emails/admin.py index 41372c0..fee152d 100644 --- a/src/emails/admin.py +++ b/src/emails/admin.py @@ -3,7 +3,9 @@ from . import models class AliasAdmin(admin.ModelAdmin): - list_display = ['source', 'destination'] + search_fields = ['source', 'destination'] + list_display = ['source', 'destination', 'mode'] + list_filter = ['mode'] admin.site.register(models.Alias, AliasAdmin)