summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/db/models/query.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/django/db/models/query.py b/django/db/models/query.py
index c36d81cc31..337049e2ff 100644
--- a/django/db/models/query.py
+++ b/django/db/models/query.py
@@ -312,11 +312,7 @@ class QuerySet(object):
if skip:
obj = model_cls(**dict(zip(init_list, row_data)))
else:
- try:
- obj = model(*row_data)
- except IndexError:
- import ipdb; ipdb.set_trace()
- pass
+ obj = model(*row_data)
# Store the source database of the object
obj._state.db = db