Ticket #22417: 22417.diff

File 22417.diff, 1.3 KB (added by Tim Graham, 10 years ago)
  • docs/releases/1.7.txt

    diff --git a/docs/releases/1.7.txt b/docs/releases/1.7.txt
    index 52edbb4..d0fe0a5 100644
    a b Miscellaneous  
    12471247  The :attr:`~django.core.validators.RegexValidator.flags` attribute was added
    12481248  to :class:`~django.core.validators.RegexValidator` to simplify this change.
    12491249
     1250* When running tests on PostgreSQL, the :setting:`USER` will need read access
     1251  to the built-in ``postgres`` database. This is in lieu of the previous
     1252  behavior of connecting to the actual non-test database.
     1253
    12501254.. _deprecated-features-1.7:
    12511255
    12521256Features deprecated in 1.7
  • docs/topics/testing/overview.txt

    diff --git a/docs/topics/testing/overview.txt b/docs/topics/testing/overview.txt
    index 4c7e67c..db7c074 100644
    a b entirely!). If you want to use a different database name, specify  
    173173:setting:`NAME <TEST_NAME>` in the :setting:`TEST <DATABASE-TEST>`
    174174dictionary for any given database in :setting:`DATABASES`.
    175175
     176.. versionchanged:: 1.7
     177
     178    On PostgreSQL, :setting:`USER` will also need read access to the built-in
     179    ``postgres`` database.
     180
    176181Aside from using a separate database, the test runner will otherwise
    177182use all of the same database settings you have in your settings file:
    178183:setting:`ENGINE <DATABASE-ENGINE>`, :setting:`USER`, :setting:`HOST`, etc. The
Back to Top