django/django — pull request #3726 by diegoguimaraes (2014-12-13 22:33:56+00:00)
Title: Fixed #23947 -- Django's test suite doesn't pass in reverse order with PostgreSQL

Some suggestions to fix the problem when running Django's test suite using PostgreSQL database. With this fixes tests using Sqlite and PostgreSQL are running ok in both reverse and normal order.