-
-
Notifications
You must be signed in to change notification settings - Fork 130
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
Django 2.2 fails to load with user_sessions #91
Comments
Related upstream ticket, FWIW. |
On Django 2.2 with adding django.contrib.sessions app to INSTALLED APPS, user sessions still worked and everything was fine. |
The fix in For a quick workaround before that's implemented, as per my reply in django/django#11166 (comment) , one can do this in application code: class UserSessionsMiddleware(
user_sessions.middleware.SessionMiddleware,
django.contrib.sessions.middleware.SessionMiddleware,
):
pass |
This is a workaround for jazzband/django-user-sessions#91.
This is a workaround for jazzband/django-user-sessions#91.
This is a workaround for jazzband/django-user-sessions#91.
I've had success with specifying the following setting, does that work for you?
|
I am facing this issue right know, but i do not think that doing |
in 2.2.11 the issue is gone. |
I'm still seeing this issue in 2.2.13 |
When loading with Django 2.2, Django returns an error stating
'django.contrib.sessions' must be in INSTALLED_APPS in order to use the admin application.
I'm not sure if the session app registration has changed with the latest Django, but this wasn't an issue with
2.1.x
.The text was updated successfully, but these errors were encountered: