Re: no relationship between session and user model

2014-06-19 Thread Vladimir Ulupov (Vaal)
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

Re: no relationship between session and user model

2014-06-19 Thread Vladimir Ulupov (Vaal)
> > This relation is not possible out of the box if we want to have highly > customizable framework :) But backends already have differences. For example: only two implemented a method clear_expired https://github.com/django/django/blob/master/django/contrib/sessions/backends/file.py#L190 https