Management Commands
Note
This page is for developers who want to customize or extend OpenWISP Notifications, whether for bug fixes, new features, or contributions.
For user guides and general information, please see:
populate_notification_preferences
This command will populate notification preferences for all users for organizations they are member of.
Note
Before running this command make sure that the celery broker is running and reachable by celery workers.
Example usage:
# cd tests/
./manage.py populate_notification_preferences
create_notification
This command will create a dummy notification with default
notification type for the members of default
organization. This
command is primarily provided for the sole purpose of testing notification
in development only.
Example usage:
# cd tests/
./manage.py create_notification