Changes between Initial Version and Version 1 of Ticket #16649, comment 10
- Timestamp:
- Mar 13, 2013, 6:00:59 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16649, comment 10
initial v1 1 Patch updated, https://github.com/akaariai/django/compare/django:master...model_save_refactor_squash. I removed the "if from same DB" check. Now the patch just always tries UPDATE first if the model is from the same DB. It will be easy enough to change the behaviour later on if it seems that is needed. 1 Patch updated, https://github.com/akaariai/django/compare/django:master...model_save_refactor_squash. I removed the "if from same DB" check. Now the patch just always tries UPDATE first if the model has PK set. It will be easy enough to change the behaviour later on if that is needed. 2 3 EDIT: stupid mistakes in comment fixed...