djangofloor.admin
¶
Admin models for created notifications¶
You can use the default admin view to create new notifications for your users. There are actions to activate or deactivate these notifications.
-
class
djangofloor.admin.
NotificationAdmin
(model, admin_site)[source]¶ -
actions
= ['activate', 'deactivate']¶
-
exclude
= ['author', 'icon']¶
-
filter_horizontal
= ['destination_users', 'destination_groups']¶
-
list_display
= ('title_short', 'content_short', 'is_active', 'not_before', 'not_after', 'level', 'auto_hide_seconds', 'display_mode', 'broadcast_mode', 'repeat_count')¶
-
list_filter
= ('is_active', 'level', 'display_mode', 'broadcast_mode', 'not_before', 'not_after', 'repeat_count')¶
-
media
¶
-
readonly_fields
= []¶
-
search_fields
= ['title']¶
-