Models¶
- class single_session.models.UserSession(*args, **kwargs)¶
A model used to store the relation between the session ids and the user model. This is used to determine efficiently what session(s) belong to what user.
The model also defines two extra permissions that can be used to log out all users, and all users except the admin users.
- exception DoesNotExist¶
- exception MultipleObjectsReturned¶