mirror of
https://github.com/django/django.git
synced 2025-08-22 11:34:33 +00:00
Added a bulk option to RelatedManager remove() and clear() methods
Refs #21169
This commit is contained in:
parent
52015b963d
commit
f450bc9f44
6 changed files with 90 additions and 37 deletions
|
@ -1030,7 +1030,7 @@ class QuerySet(object):
|
|||
"""
|
||||
Checks if this QuerySet has any filtering going on. Note that this
|
||||
isn't equivalent for checking if all objects are present in results,
|
||||
for example qs[1:]._has_filters() -> True.
|
||||
for example qs[1:]._has_filters() -> False.
|
||||
"""
|
||||
return self.query.has_filters()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue