Skip to content

Commit

Permalink
Merge 9135a5e into 105ec5c
Browse files Browse the repository at this point in the history
  • Loading branch information
ydaniv committed Sep 15, 2014
2 parents 105ec5c + 9135a5e commit 15f8f67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions user_sessions/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def get_decoded(self):
return SessionStore(None, None).decode(self.session_data)

user = models.ForeignKey(getattr(settings, 'AUTH_USER_MODEL', 'auth.User'),
getattr(settings, 'USER_SESSIONS_USER_TO_FIELD', None),
null=True)
user_agent = models.CharField(max_length=200)
last_activity = models.DateTimeField(auto_now=True)
Expand Down

0 comments on commit 15f8f67

Please sign in to comment.