test_sqlite.py 867 B

1234567891011121314151617181920212223
  1. # This is an example test settings file for use with the Django test suite.
  2. #
  3. # The 'sqlite3' backend requires only the ENGINE setting (an in-
  4. # memory database will be used). All other backends will require a
  5. # NAME and potentially authentication information. See the
  6. # following section in the docs for more information:
  7. #
  8. # http://docs.djangoproject.com/en/dev/internals/contributing/#unit-tests
  9. #
  10. # The different databases that Django supports behave differently in certain
  11. # situations, so it is recommended to run the test suite against as many
  12. # database backends as possible. You may want to create a separate settings
  13. # file for each of the backends you test against.
  14. DATABASES = {
  15. 'default': {
  16. 'ENGINE': 'django.db.backends.sqlite3'
  17. },
  18. 'other': {
  19. 'ENGINE': 'django.db.backends.sqlite3',
  20. 'TEST_NAME': 'other_db'
  21. }
  22. }