Closed GoogleCodeExporter closed 8 years ago
This seems to have been addressed in [9b72f9bb6d36], is that fix considered
finished? Can anyone reproduce
this?
Incidentally, that change catches the MultipleObjectsReturned error and retries
with .filter(**attrs)[0] … is there
any reason not to just use .filter(**attrs)[0] in the first place? Looking at
Django code, the get call just calls
.filter(**attrs) anyway, and here the information that there was more than one
object is not being used.
Original comment by gunnlau...@gmail.com
on 12 May 2010 at 12:04
I like this suggestion more than the current implementation. Thanks!
Original comment by wheaties...@gmail.com
on 27 Dec 2010 at 4:43
Original issue reported on code.google.com by
magnus.l...@gmail.com
on 16 Nov 2009 at 3:46