mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-16 20:00:23 +00:00
Merge pull request #567 from ProtixIT/remove-clone-args
Remove arguments from `InheritanceQuerySetMixin._clone()`
This commit is contained in:
commit
89b7662fa8
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ class InheritanceQuerySetMixin:
|
|||
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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue