1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

[1.8.x] Fixed #24791 -- Added fallback when 'postgres' database isn't available

Thanks Carl Meyer and Tim Graham for the reviews.
Backport of 322605035 from master.
This commit is contained in:
Claude Paroz
2015-05-14 19:27:31 +02:00
parent 3c659856eb
commit cdf7f90f95
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`).