Changes between Initial Version and Version 2 of Ticket #37371


Ignore:
Timestamp:
Sep 25, 2026, 2:31:37 AM (66 minutes ago)
Author:
Rebecca Smith
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37371 – Description

    initial v2  
    88https://docs.djangoproject.com/en/6.1/ref/settings/#std-setting-TEST_NAME
    99
    10 However: it's not easy to find (it's not mentioned in the testing docs or the sqlite notes), and it's not documented anywhere that when the `TEST` name is None, using --keepdb will not make it change behaviour and write an ondisk file that is preserved: XXXX
     10However: it's not easy to find (it's not mentioned in the testing docs or the sqlite notes), and it's not documented anywhere that when the `TEST` name is None, using --keepdb will not make it change behaviour - it will [https://github.com/django/django/blob/6.1/django/db/backends/sqlite3/creation.py#L20 always use an in-memory db]
    1111
    1212Docs on [https://docs.djangoproject.com/en/6.1/topics/testing/overview/#the-test-database/ the test database] and [https://docs.djangoproject.com/en/6.1/topics/testing/overview/#preserving-the-test-database/ preserving the db] don't mention that for sqlite, --keepdb does not preserve the test db unless you have an explicit TEST setting.
Back to Top