Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError - _clone() got an unexpected keyword argument '_posts_manager_params' #14

Open
davidjguinane opened this issue Nov 30, 2019 · 1 comment

Comments

@davidjguinane
Copy link

Currently creating templates for Pinax forums, it is with Bootstrap so happy to provide for others to use once I'm done as no standard templates exist.

I get the following error when trying to view a thread.

TypeError at /forums/thread/1/
_clone() got an unexpected keyword argument '_posts_manager_params'

Traceback:

File "C:\Users\User\desktop\csoft\lib\site-packages\django\core\handlers\exception.py" in inner
34. response = get_response(request)

File "C:\Users\User\desktop\csoft\lib\site-packages\django\core\handlers\base.py" in _get_response
115. response = self.process_exception_by_middleware(e, request)

File "C:\Users\User\desktop\csoft\lib\site-packages\django\core\handlers\base.py" in _get_response
113. response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "C:\Users\User\desktop\csoft\lib\site-packages\pinax\forums\views.py" in forum_thread
116. posts = ForumThread.objects.posts(thread, reverse=(order_type == "desc"))

File "C:\Users\User\desktop\csoft\lib\site-packages\pinax\forums\managers.py" in posts
31. queryset = queryset.filter(thread=thread)

File "C:\Users\User\desktop\csoft\lib\site-packages\django\db\models\query.py" in filter
892. return self._filter_or_exclude(False, *args, **kwargs)

File "C:\Users\User\desktop\csoft\lib\site-packages\django\db\models\query.py" in _filter_or_exclude
906. clone = self._chain()

File "C:\Users\User\desktop\csoft\lib\site-packages\django\db\models\query.py" in _chain
1219. obj = self._clone()

File "C:\Users\User\desktop\csoft\lib\site-packages\pinax\forums\managers.py" in _clone
19. return super(ForumThreadPostQuerySet, self)._clone(*args, **kwargs)

Exception Type: TypeError at /forums/thread/1/
Exception Value: _clone() got an unexpected keyword argument '_posts_manager_params'

@Acosta1991
Copy link

did you solve this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants