If a document has a user given id value, the post_save signal always got the "created" keyword argument with False value (unless force_insert is True). This patch uses the result of getlasterror to check whether the save was an update or not. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| fixtures.py | ||
| mongoengine.png | ||
| test_all_warnings.py | ||
| test_connection.py | ||
| test_dereference.py | ||
| test_django.py | ||
| test_document.py | ||
| test_dynamic_document.py | ||
| test_fields.py | ||
| test_queryset.py | ||
| test_replicaset_connection.py | ||
| test_signals.py | ||