Please sign in to comment.
Pass commit=False to loaddata in tests, which will keep the DB connec…
…tion open. Closing the connection has the side-effect on some DBs (Postgres, MySQL/InnoDB) of rolling back the transaction that was in progress, causing these tests to fail. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
- Loading branch information...
Showing with 3 additions and 3 deletions.