Commits

Anonymous committed 284b4c1 Draft

added README.md

  • Participants
  • Parent commits a817075

Comments (0)

Files changed (1)

+Installation
+1. Add application to your Django project
+2. Define AUTH_PROFILE_MODULE in your project settings
+3. Your profile module should contain 'last_activity = models.DateTimeField(auto_now=True, auto_now_add=True)'
+4. You can get online status by calling something like:
+     def isOnline(self):
+         return (self.last_activity > datetime.datetime.now() - datetime.timedelta(minutes=5))
+5. ...
+6. Profit!