Transmissions, for Django
medium.com
Transmissions, for Django
1–5 of 5 posts
Re: Transmissions, for Django
#2One question though, I don't see a 'type' field in Notification class. Won't it be helpful if notification type can be saved to identify if the notification was an email notification or push notification and so on?
Re: Transmissions, for Django
#3This is really helpful. I might even use this in my next product. One question though, I don't see a 'type' field in Notification class. Won't it be helpful if notification type can be saved to identify if the notification was an email notification or push notification and so on?
Re: Transmissions, for Django
#4This is really helpful. I might even use this in my next product. One question though, I don't see a 'type' field in Notification class. Won't it be helpful if notification type can be saved to identify if the notification was an email notification or push notification and so on?
Thanks! In this last version, we decided to move all notions of channels (sms, push, etc.) to the classes. So each notification has a `trigger_name` linking it to the class form the @message decorator. So you can identify notifications that way, but you can't infer the channels they'll use.
Re: Transmissions, for Django
#5Earlier quoted context omitted.
Thanks! In this last version, we decided to move all notions of channels (sms, push, etc.) to the classes. So each notification has a `trigger_name` linking it to the class form the @message decorator. So you can identify notifications that way, but you can't infer the channels they'll use.
Got it now! But why was there a need of message decorator? The same task could have been achieved using the Channel Class.
And if you meant that transmissions could have forced a couple of channel tasks, we would have missed the content of notification, the logic to check for validity, etc.