django/django — pull request #2533 by shaib (2014-04-09 17:43:52+00:00)
Title: Fixed #22343 -- Disallowed select_for_update in autocommit mode

The ticket was originally about two failing tests, which are
fixed by putting their queries in transactions.

Thanks Tim Graham for the report and Simon Charette for review.