django/djangoproject.com — pull request #54 by brutasse (2013-06-24 17:58:19+00:00)
Title: Updated django-push to 0.5

A couple of things to note:

* I don't have a working setup here so this is pretty much untested… but the upgrade path isn't complicated.
* django-push 0.5 has South migrations. The first one needs to be faked & the next one can be applied safely (`migrate subscriber 0001_initial --fake && migrate`).
* version 0.4 was incorrectly recording expiration date. For consistency it's best to renew all subscriptions with superfeedr after upgrading:

```python
from django_push.subscriber.models import Subscription
for s in Subscriptions.objects.all():
s.subscribe()
```

After that, we'll probably need a background task to renew subscriptions as documented [here](https://django-push.readthedocs.org/en/latest/subscriber.html#renewing-the-leases).

This new release fixes some API annoyances and improves the subscriptions admin page quite a bit.