sibtc / simple-infinite-scroll

Django Simple Infinite Scroll
https://simpleisbetterthancomplex.com/tutorial/2017/03/13/how-to-create-infinite-scroll-with-django.html
MIT License
35 stars 27 forks source link

Issue with versions. Runtime error with new versions of Python. #3

Closed brimmann closed 3 years ago

brimmann commented 3 years ago

I get this error when migrating or running server: RuntimeError: class not set defining 'AbstractBaseUser' as <class 'django.contrib.auth.base_user.Abstract BaseUser'>. Was classcell propagated

I think the problem is with versions differences. Please test your code with new versions so there is no issue with new comers who use new versions of Python.

brimmann commented 3 years ago

The working version with python 3 can be found in the following repo:

https://github.com/brimmann/simple-infinite-scroll