Changes between Initial Version and Version 1 of Ticket #35077


Ignore:
Timestamp:
Jan 1, 2024, 12:49:29 PM (11 months ago)
Author:
Matej Spiller Muys
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35077 – Description

    initial v1  
    4545
    46465.x (for 1477468537765888)
     47It 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.
    4748{{{
    4849DEBUG    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']
     
    5657}}}
    5758
    58 it does not check the if id exists in DB when saving and it does not select it.
    59 
    6059I understand that there is minor inconsistency between model and DB ...
    6160However django shouldn't silently not select the value but should emit a warning or error if value is invalid.
Back to Top