Ticket #11777: 11777.diff

File 11777.diff, 1.0 KB (added by Tim Graham, 15 years ago)
  • docs/ref/settings.txt

     
    227227The port to use when connecting to the database. An empty string means the
    228228default port. Not used with SQLite.
    229229
     230.. setting:: DATABASE_SUPPORTS_TRANSACTIONS
     231
     232DATABASE_SUPPORTS_TRANSACTIONS
     233------------------------------
     234
     235.. versionadded:: 1.1
     236
     237Default: ``None`` (Set during test database creation by ``create_test_db`` in
     238``django/db/backends/creation.py`` based on whether a call to rollback actually
     239has the effect of rolling back an uncommitted insert)
     240
     241A boolean that controls whether Django runs tests in a transaction which is
     242rolled back when finished, instead of by flushing and re-populating the
     243database. Some testing frameworks such as `nose`_ don't use call this method
     244so you will need to set this setting manually.
     245
     246.. _nose: http://somethingaboutorange.com/mrl/projects/nose/
     247
    230248.. setting:: DATABASE_USER
    231249
    232250DATABASE_USER
Back to Top