{% load i18n static humanize %}
This is a test page with a simple styling to test the notification system and convince potential users that django-nyt is pretty cool.
Here you'll see new notifications as they arrive from the server.
After filling in the form, everyone subscribed to receive notification instantly for the Test Model object should receive them.
NB! By design, saving a notification does not trigger displaying one. This way, you can play around with automatic updating and channels.
Select one of the test user accounts and you'll be logged in (this is a test application, so don't use this mechanism in production)
Change settings of currently logged in user
Please reload this page to have the list updated
Message | Created | Seen | Type |
---|---|---|---|
{{ notification.message }} x{{ notification.occurrences }} | {{ notification.modified|naturaltime }} | {{ notification.is_viewed|yesno }} | {{ notification.subscription.notification_type.key }} |