Added details to syncgroup cache

This commit is contained in:
Raynaldo Rivera 2014-11-22 20:39:54 -07:00
parent 56bb7f5282
commit 121cd5e9a6

3
celerytask/models.py Normal file → Executable file
View File

@ -5,3 +5,6 @@ from django.contrib.auth.models import User
class SyncGroupCache(models.Model):
groupname = models.CharField(max_length=254)
user = models.ForeignKey(User)
def __str__(self):
return self.user.username + ' - ' + self.groupname + ' - SyncGroupCache'