Bouke/django-user-sessions — pull request #18 by ydaniv (2014-09-15 11:39:23+00:00)
Title: Added an optional USER_SESSIONS_USER_TO_FIELD setting

Allowing configuration of `Session.user.to_field`.

My use case: I have a field `uuid` on my `Account` model which is the actual field I'd like to reference. I can't make that field primary yet since it will break other parts of Django or other packages that expect `Account.pk` to be an integer.