fnp
/
cas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Updates.
[cas.git]
/
src
/
emails
/
admin.py
diff --git
a/src/emails/admin.py
b/src/emails/admin.py
index
41372c0
..
fee152d
100644
(file)
--- 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)