Closed tdna closed 7 years ago
When result of a query is empty StopAsyncIteration is raised. That's why get_or_create doesn't work properly because it wants to catch DoesNotExist exception.
When result of a query is empty StopAsyncIteration is raised. That's why get_or_create doesn't work properly because it wants to catch DoesNotExist exception.