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
otocol only, not user level.
>
> This relation is not possible out of the box if we want to have highly
> customizable framework :)
>
> Don’t worry, my english is ugly too ;)
>
> --
> Alexandr Shurigin
>
> From: Vaal vaa...@gmail.com
> Reply: django-d...@googlegroups.
Hello!
There is a reason why in the framework (by default), there is no connection
between the models user and session?
I mean ForeignKey(to User) in Session model for example.
This would be useful in a situation when the user changes the password, and
we could remove all the sessions of that