simplify piston authorize form
[wolnelektury.git] / src / newsletter / admin.py
index 0133e73..9fe387d 100644 (file)
@@ -8,6 +8,9 @@ from newsletter.models import Subscription
 
 
 class SubscriptionAdmin(admin.ModelAdmin):
 
 
 class SubscriptionAdmin(admin.ModelAdmin):
+    list_display = ('email', 'active')
+    list_filter = ('active',)
+
     def get_urls(self):
         urls = super(SubscriptionAdmin, self).get_urls()
         my_urls = [
     def get_urls(self):
         urls = super(SubscriptionAdmin, self).get_urls()
         my_urls = [