Does this library support Django 3.2.6?
I did the following steps according to documentation:
- In setting.py INSTALLED_APPS block I replaced
django.contrib.sessions to user_sessions
- In setting.py MIDDLEWARE replaced
django.contrib.sessions.middleware.SessionMiddleware to user_sessions.middleware.SessionMiddleware
- In setting.py added
SESSION_ENGINE = 'user_sessions.backends.db'
SILENCED_SYSTEM_CHECKS = ['admin.E410']
- In projects main urls.py added
path('', include('user_sessions.urls', namespace='user_sessions'))
When I am making python manage.py migrate I get the following error:
RuntimeError: Model class django.contrib.sessions.models.Session doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
Difference in versions
Latest version in release notes is 2.0.0
But in pypi.org the latest version is 1.7.1.
I have installed 1.7.1 using pip. How can I get the 2.0.0 version? Maybe this would fix the error I get.
- Python version: 3.8.10
- Django version: 3.2.6
- django-otp version:
- django-user-sessions version: 1.7.1