diff --git a/django/db/models/query.py b/django/db/models/query.py
index 2bcaf98..96a1c2b 100644
a
|
b
|
class QuerySet(object):
|
338 | 338 | if num == 1: |
339 | 339 | return clone._result_cache[0] |
340 | 340 | if not num: |
341 | | raise self.model.DoesNotExist("%s matching query does not exist." |
342 | | % self.model._meta.object_name) |
| 341 | raise self.model.DoesNotExist( |
| 342 | "%s matching query does not exist. " |
| 343 | "get() parameters were %s" |
| 344 | % (self.model._meta.object_name, kwargs) |
| 345 | ) |
343 | 346 | raise self.model.MultipleObjectsReturned("get() returned more than one %s -- it returned %s! Lookup parameters were %s" |
344 | 347 | % (self.model._meta.object_name, num, kwargs)) |
345 | 348 | |