rakanalh / django-pushy

Your push notifications handled at scale.
MIT License
168 stars 16 forks source link

Content field in admin should always be JSON object #17

Closed rakanalh closed 9 years ago

rakanalh commented 9 years ago

Push notification body is used for storing meta information as well as the body itself. When adding a notification from admin, the text entered will cause the json decode operation to fail because it's not valid JSON. The admin class should handle this gracefully.