We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a class (ModelTopicProducer) to handle some generic functionality desired for syncing model instances between systems:
ModelTopicProducer
model
post_save
post_delete
through_model
m2m_changed.post_add
produce_for
initialize
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Add a class (
ModelTopicProducer
) to handle some generic functionality desired for syncing model instances between systems:model
attribute and attaches topost_save
/post_delete
signals of this model.through_model
attribute and attaches tom2m_changed.post_add
signal.produce_for
which takes an instance of the model, which subclasses must implement to produce the event.initialize
method which initialises the topic with some initial events generated by a queryset of themodel
argument.The text was updated successfully, but these errors were encountered: