post_save signal should trigger after data persistence to database.
|Reported by:||xuqingkuang||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||1.2|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I just deployed xapian search engine in my web site, with djapian, because of it doesn't support real time index so far, so I do it with signals. Every post_save and post_delete signal will trigger the update index action.
But it seems post_save is triggered before the data saved to database, it's meaning when the signal try to update the index, but the data didn't updated real.
It can't understandable, post_save should trigger after the data saved to database, not in the before save() action completed.
Hope it fix soon.