You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm thinking of a new feature and would like to get your feedback on it. I'm going to do it on my own repo but I think it can be useful for others and could be merged.
The feature is a dynamic/subscriptionless newsletter. The idea is to have code that dynamically chooses who to send messages to, at the moment of submitting a message. This can be done two ways:
Use an existing newsletter and add a filter_class option to the Message. This filter class will have a method that returns True or False on subscriptions and this will be used to dynamically select who receives this message
Add a new type of Newsletter that doesn't have Subscription objects but rather a subscription_generator_class that dynamically produces the list of recipients that should get the message.
Either of these dynamic mechanisms will be triggered when the message is submitted.
Would love to have your feedback, any potential issues that I'm not seeing, etc
The text was updated successfully, but these errors were encountered:
Hi @dokterbob et al!
I'm thinking of a new feature and would like to get your feedback on it. I'm going to do it on my own repo but I think it can be useful for others and could be merged.
The feature is a dynamic/subscriptionless newsletter. The idea is to have code that dynamically chooses who to send messages to, at the moment of submitting a message. This can be done two ways:
filter_class
option to theMessage
. This filter class will have a method that returnsTrue
orFalse
on subscriptions and this will be used to dynamically select who receives this messageNewsletter
that doesn't haveSubscription
objects but rather asubscription_generator_class
that dynamically produces the list of recipients that should get the message.Either of these dynamic mechanisms will be triggered when the message is submitted.
Would love to have your feedback, any potential issues that I'm not seeing, etc
The text was updated successfully, but these errors were encountered: