Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Registered an admin for django-push subcriptions.

  • Loading branch information...
commit bc85db8f2dcdd7764cf0a57f4218e12669f29cce 1 parent de1cfb5
@jacobian jacobian authored
Showing with 7 additions and 0 deletions.
  1. +7 −0 django_website/aggregator/admin.py
View
7 django_website/aggregator/admin.py
@@ -22,3 +22,10 @@
admin.site.register(FeedType,
prepopulated_fields = {'slug': ('name',)},
)
+
+# Register an admin for django_push.subscriber - it hasn't got one, and I'd
+# like to use it for debugging purposes.
+from django_push.subscriber.models import Subscription
+admin.site.register(Subscription,
+ list_display = ['topic', 'verified', 'lease_expiration'],
+)
Please sign in to comment.
Something went wrong with that request. Please try again.