What do you want to save?
Add Code snippet
New code examples
-
Python 2022-01-22 16:40:38
Backend not found Request Method: GET Request URL: http://127.0.0.1:8000/oauth/login/google-oauth2/ Raised by: social_django.views.au
url(r'^social/', include('social.apps.django_app.urls', namespace='social')), url(r'^auth/', include('rest_framework_social_oauth2.urls')), Add solution -
Python 2022-01-22 14:50:19
keep the user logged in even though user changes password django
from django.contrib.auth import authenticate, login, update_session_auth_hash ###after changing password in view update_session_auth_hash(request, form.user) ###form.user is currentuser also can be accesed from request.user Add solution
Best helpers
Ranking is empty