In Athento there is a command to notify next upgrade of the platform ‘notify_users_new_upgrade’. This command does two things:
1. Create a ‘callout message’ that users can see from the platform indicating that there will be a new upgrade soon. This callout_message will last for 2 days by default, but you can pass the number of days as a parameter to the command if you want another number like this:
python manage.py notify_users_new_upgrade --duration_days 5 #durará 5 días
2. Send an email to the emails of administrator users indicated in the Config property ‘instance_admin_emails’. To configure it, you must indicate the emails to which you want the notification to be sent separated by commas:
If nothing is indicated, no mail will be sent (but the callout message will be created).
Comments
0 comments
Please sign in to leave a comment.