Changes between Initial Version and Version 1 of Ticket #31632, comment 4


Ignore:
Timestamp:
May 27, 2020, 7:42:51 AM (5 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31632, comment 4

    initial v1  
    1 > Plus statements like ​https://docs.djangoproject.com/en/3.0/topics/db/transactions/#django-s-default-transaction-behavior are confusing as it states uses autocommit by default but apparently doesn't, because single queries are not committed anymore, unless the database (not Django) commits them.
    2 
    3 The documentation should also state that ''Django assumes that the database is configured to be in auto-commit mode'' just like it expects isolation level to be `REPEATABLE READ`.
    4 
    51> In that sense Django should execute set autocommit=1 or whatever the equivalent is because otherwise further assumptions will not hold true…
    62
Back to Top