Fixed #24791 -- Added fallback when 'postgres' database isn't available

Thanks Carl Meyer and Tim Graham for the reviews.
This commit is contained in:
Claude Paroz 2015-05-14 19:27:31 +02:00
parent 2dee853ed4
commit 3226050358
4 changed files with 57 additions and 1 deletions

View file

@ -33,3 +33,7 @@ Bugfixes
* Fixed session cookie deletion when using :setting:`SESSION_COOKIE_DOMAIN`
(:ticket:`24799`).
* On PostgreSQL, when no access is granted for the ``postgres`` database,
Django now falls back to the default database when it normally requires a
"no database" connection (:ticket:`24791`).