X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/d7b22d05953c0f6380f44693d08d3cd92e40fb09..40ba7c29763bfe39154f8b6444bf8b3b4ad0c56c:/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)