diff options
| author | Ramiro Morales <cramm0@gmail.com> | 2011-07-06 23:25:30 +0000 |
|---|---|---|
| committer | Ramiro Morales <cramm0@gmail.com> | 2011-07-06 23:25:30 +0000 |
| commit | 569aa34ea5eec46ec0d899f4db682687964feec0 (patch) | |
| tree | 01a2fef12d94e2b5187a5afd76fd1184026e28a7 /scripts | |
| parent | 21e0b3a243791deef803dddcb9e15d0a3b59af96 (diff) | |
Fixed #16250 -- Made test database creation support code in the PostgreSQL DB backend compatible with psycopg2 2.4.2.
Implemented this by adding an internal hook for work that should be performed
before that point.
Also, regarding the `DatabaseCreation.set_autocommit()` method:
* Stop using it for such tasks
* Stop providing an implementation that tries to cover all the possible
idioms a third party database backend DB-API 2 driver could need to activate
autocommit. It is now left for third party backends to implement.
This can be backwards incompatible in the case of user applications that:
* Had started using this method
* Use a third a party database backend
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16520 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
