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

ImportError: cannot import name 'QuerySetPaginator' from 'django.core.paginator' #112

Open
guillaumecochard opened this issue Oct 21, 2021 · 2 comments

Comments

@guillaumecochard
Copy link

guillaumecochard commented Oct 21, 2021

Hi, seems to have issues with some Django version, have you already see this error ?

Thanks for all !

INSTALLED_APPS = [
...,
'aldryn_common',
'aldryn_search',
'standard_form',
'spurl',]

PIP :

aldryn-apphooks-config==0.6.0
aldryn-boilerplates==0.8.0
aldryn-categories==1.2.0
aldryn-common==1.0.5
aldryn-newsblog==2.2.1
aldryn-people==2.2.0
aldryn-search==1.1.0
aldryn-translation-tools==0.3.0
django-cms==3.8.0
Django==3.1.7

issue

@benzkji
Copy link

benzkji commented Nov 10, 2021

https://github.com/django/django/search?q=querysetpaginator

QuerySetPaginator was removed in django 3.1. aldryn_common is unmanaged, only way is to clone and hack yourself, as aldryn_search also looks quite abandoned. and with django-cms 4.0 around the corner, everything will be different anyway.

@benzkji
Copy link

benzkji commented Nov 10, 2021

benzkji@0a52d4c made it work (for now, for me ;-)

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