django · django/MultipleObjectsReturned
MultipleObjectsReturned
MultipleObjectsReturned
Raised by Model.objects.get() when more than one record matches the given filter. Use filter().first() if multiple results are acceptable, or add further constraints to make the lookup unique.