-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
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
Consider signal dispatcher integration #24
Comments
+1 and should be included in v0.4. Signal hooks needs to reside within ORM which means we need to alter quite a bit. I am okay with PyDispatcher but for sure we have to tweak a bit to fit into mongoengine. |
I'm working on this now. So far I've extracted Django's dispatch framework into it's own project, and added an extra decorator. Tests and docs coming next. theojulienne/mongoengine@ab24dcf Usage:
|
This is now implemented in dev using blinker. |
MongoDB offers no relationship management, so
post_save
andpost_delete
signals (at the very least) would help keep denormalized data clean. Django has an excellent fork/refactoring of PyDispatcher, and PyDispatcher itself may fit the bill.The text was updated successfully, but these errors were encountered: