Skip to content

Commit 964b946

Browse files
committed
Fix SharedContentQuerySet._clone() signature for modern Django
1 parent 5c2cfe1 commit 964b946

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fluent_contents/plugins/sharedcontent/managers.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ def __init__(self, *args, **kwargs):
1414
super(SharedContentQuerySet, self).__init__(*args, **kwargs)
1515
self._parent_site = None
1616

17-
def _clone(self, klass=None, setup=False, **kw):
18-
c = super(SharedContentQuerySet, self)._clone(klass, setup, **kw)
17+
def _clone(self):
18+
c = super(SharedContentQuerySet, self)._clone()
1919
c._parent_site = self._parent_site
2020
return c
2121

0 commit comments

Comments
 (0)