diff options
Diffstat (limited to 'django')
| -rw-r--r-- | django/db/models/query.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/django/db/models/query.py b/django/db/models/query.py index 324554eb78..0fc48f8a41 100644 --- a/django/db/models/query.py +++ b/django/db/models/query.py @@ -413,8 +413,6 @@ class QuerySet(object): """ assert self.query.can_filter(), \ "Cannot use 'limit' or 'offset' with in_bulk" - assert isinstance(id_list, (tuple, list, set, frozenset)), \ - "in_bulk() must be provided with a list of IDs." if not id_list: return {} qs = self._clone() |
