Fixed #6641 -- If we lose a race when creating a new object in get_or_create, re-get the result from the database and return that. Thanks, Jeff Guinness and Timothée Peignier.
Fixed #6641 -- If we lose a race when creating a new object in get_or_create,
re-get the result from the database and return that. Thanks, Jeff Guinness and
Timothée Peignier.

--HG--
extra : convert_revision : svn%3Abcc190cf-cafb-0310-a4f2-bffc1f526a37/django/trunk%407289

Belgabor/django,Belgabor/django,Belgabor/django