Notification system

Sometimes, you want to display a system to your users, for example to warn users before an upgrade. You can use the djangofloor.models.Notification model for creating such notification. You can create notifications for everyone, any authenticated users or limit them to a given set of users (or groups of users). Notifications can be displayed only during a given time and repeated everytime the user visits a page or only once.

The Notification class provides a get_notifications class method that computes all notifications that should be displayed to the user.

If you use the base Bootstrap3 template provided by DjangoFloor, everything is ready to use; you just have to create Notification objects.