fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'misjaksiazka'
[wolnelektury.git]
/
src
/
newsletter
/
admin.py
diff --git
a/src/newsletter/admin.py
b/src/newsletter/admin.py
index
0133e73
..
9fe387d
100644
(file)
--- a/
src/newsletter/admin.py
+++ b/
src/newsletter/admin.py
@@
-8,6
+8,9
@@
from newsletter.models import Subscription
class SubscriptionAdmin(admin.ModelAdmin):
+ list_display = ('email', 'active')
+ list_filter = ('active',)
+
def get_urls(self):
urls = super(SubscriptionAdmin, self).get_urls()
my_urls = [