Changes between Initial Version and Version 3 of Ticket #31730


Ignore:
Timestamp:
Jun 20, 2020, 5:17:03 PM (4 years ago)
Author:
axil
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31730 – Description

    initial v3  
    2020Same applies to its usage in `manage.py loaddata`: sqlite3 fixes the sequences automatically.
    2121
     22Leniency of sqlite is also the explanation of how `django/tests/backends/tests.py:SequenceResetTest.test_generic_relation`
     23test contrives to pass with `sequence_reset_sql` being noop for sqlite3.
     24
    2225What it cannot do automatically is reset the sequence to zero as demonstrated in the new test
    2326`django/tests/backends/tests.py:SequenceResetTest.test_reset_sequence`
Back to Top