Skip to content

Commit

Permalink
Merge pull request #567 from ProtixIT/remove-clone-args
Browse files Browse the repository at this point in the history
Remove arguments from `InheritanceQuerySetMixin._clone()`
  • Loading branch information
foarsitter authored Mar 21, 2024
2 parents b3e75ab + 033fca4 commit 89b7662
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model_utils/managers.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def _chain(self, **kwargs):
chained.__dict__.update(update)
return chained

def _clone(self, klass=None, setup=False, **kwargs):
def _clone(self):
qs = super()._clone()
for name in ['subclasses', '_annotated']:
if hasattr(self, name):
Expand Down

0 comments on commit 89b7662

Please sign in to comment.