X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/d7b22d05953c0f6380f44693d08d3cd92e40fb09..47c02a4c678e46e0bebb354a6c16ab1d4022efe5:/src/emails/admin.py?ds=sidebyside 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)