fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Switch compiler until an issue with libsasscompiler resolved.
[redakcja.git]
/
src
/
alerts
/
admin.py
diff --git
a/src/alerts/admin.py
b/src/alerts/admin.py
index
3eda708
..
0872f4d
100644
(file)
--- a/
src/alerts/admin.py
+++ b/
src/alerts/admin.py
@@
-2,4
+2,7
@@
from django.contrib import admin
from .models import Alert
-admin.site.register(Alert)
+@admin.register(Alert)
+class AlertAdmin(admin.ModelAdmin):
+ list_display = ['book', 'tag']
+ list_filter = ['tag']