fnp
/
cas.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add localsettings sample
[cas.git]
/
src
/
emails
/
admin.py
1
from django.contrib import admin
2
from . import models
3
4
5
class AliasAdmin(admin.ModelAdmin):
6
search_fields = ['source', 'destination']
7
list_display = ['source', 'destination', 'mode']
8
list_filter = ['mode']
9
10
11
admin.site.register(models.Alias, AliasAdmin)