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 user.
For example the user changes the password because he believes that pass has been compromised. But if the attacker was already has active session - it will not be interrupted.
p.s. sorry for my English
p.p.s. I understand that can modify the application sessions for their needs and make a new application or to find a ready-made.