Changes between Initial Version and Version 1 of Ticket #35077
- Timestamp:
- Jan 1, 2024, 12:49:29 PM (11 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35077 – Description
initial v1 45 45 46 46 5.x (for 1477468537765888) 47 It does not check if the id already exists in DB when saving and it is not able to select it after insert ... but insert does happen. 47 48 {{{ 48 49 DEBUG tests.readonly:readonly.py:98 (0.003) INSERT INTO `market_balancesession_status` (`id`, `status`, `created_at`) VALUES (1477468537765888, 0, '2024-01-01 18:42:22.524123'); args=[1477468537765888, 0, '2024-01-01 18:42:22.524123'] … … 56 57 }}} 57 58 58 it does not check the if id exists in DB when saving and it does not select it.59 60 59 I understand that there is minor inconsistency between model and DB ... 61 60 However django shouldn't silently not select the value but should emit a warning or error if value is invalid.