| 230 | .. setting:: DATABASE_SUPPORTS_TRANSACTIONS |
| 231 | |
| 232 | DATABASE_SUPPORTS_TRANSACTIONS |
| 233 | ------------------------------ |
| 234 | |
| 235 | .. versionadded:: 1.1 |
| 236 | |
| 237 | Default: ``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 |
| 239 | has the effect of rolling back an uncommitted insert) |
| 240 | |
| 241 | A boolean that controls whether Django runs tests in a transaction which is |
| 242 | rolled back when finished, instead of by flushing and re-populating the |
| 243 | database. Some testing frameworks such as `nose`_ don't use call this method |
| 244 | so you will need to set this setting manually. |
| 245 | |
| 246 | .. _nose: http://somethingaboutorange.com/mrl/projects/nose/ |
| 247 | |