You are right about my question. Next time I will read carefully the 
release notes. Thx!

четверг, 19 июня 2014 г., 21:34:02 UTC+4 пользователь Aymeric Augustin 
написал:
>
> Previous answers explain why the sessions API makes it impossible to 
> create a FK from Session to User. However, it looks like this isn't the 
> question you wanted to ask.
>
> Your real question seems to be: "how can I invalidate sessions on password 
> change?" Fortunately, Django 1.7 includes a new middleware for this purpose.
>
>
> https://docs.djangoproject.com/en/dev/ref/middleware/#django.contrib.auth.middleware.SessionAuthenticationMiddleware
>
> -- 
> Aymeric.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/c4fbf21e-852f-4dca-b3e8-b2e7df225a2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to