Changes between Initial Version and Version 2 of Ticket #37371
- Timestamp:
- Sep 25, 2026, 2:31:37 AM (66 minutes ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37371 – Description
initial v2 8 8 https://docs.djangoproject.com/en/6.1/ref/settings/#std-setting-TEST_NAME 9 9 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: XXXX10 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 - it will [https://github.com/django/django/blob/6.1/django/db/backends/sqlite3/creation.py#L20 always use an in-memory db] 11 11 12 12 Docs 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.