/
vshmidt
/
django
Обзор
Документация
Войти
/
vshmidt
/
django
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/test_sqlite.py
31 строка
1022 B
Tim Graham
Fixed #36564 -- Changed DEFAULT_AUTO_FIELD from AutoField to BigAutoField.
05 сен 2025, 17:43
05 сен 2025, 17:43
2a63611
Код
Авторство
О чём код?
# This is an example test settings file for use with the Django test suite. # # The 'sqlite3' backend requires only the ENGINE setting (an in- # memory database will be used). All other backends will require a # NAME and potentially authentication information. See the # following section in the docs for more information: # # https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/ # # The different databases that Django supports behave differently in certain # situations, so it is recommended to run the test suite against as many # database backends as possible. You may want to create a separate settings # file for each of the backends you test against. DATABASES = { "default": { "ENGINE": "django.db.backends.sqlite3", }, "other": { "ENGINE": "django.db.backends.sqlite3", }, } SECRET_KEY = "django_tests_secret_key" # Use a fast hasher to speed up tests. PASSWORD_HASHERS = [ "django.contrib.auth.hashers.MD5PasswordHasher", ] USE_TZ = False