Add permanencies tracking to counters

This commit is contained in:
Skia
2016-07-18 13:22:50 +02:00
parent 593050d9e2
commit 2147f6a468
4 changed files with 80 additions and 11 deletions

View File

@ -112,7 +112,7 @@ class User(AbstractBaseUser):
return reverse('core:user_profile', kwargs={'user_id': self.pk})
def __str__(self):
return "User: " + self.username
return self.username
def to_dict(self):
return self.__dict__