Changes between Initial Version and Version 1 of Ticket #28344, comment 13
- Timestamp:
- Sep 19, 2018, 5:49:59 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28344, comment 13
initial v1 9 9 }}} 10 10 11 However, this one implies both a transaction and an auto-save to me. So my proposal would be to "decorate" the `lock_for_update()` with t woparameters:11 However, this one implies both a transaction and an auto-save to me. So my proposal would be to "decorate" the `lock_for_update()` with three parameters: 12 12 13 13 * `atomic: bool=True` 14 14 * `auto-save: bool=True` 15 * `refresh_from_db: bool=True` 15 16 16 17 Would this be an acceptable solution?