Update SubscriptionForm to allow creating user on the fly

This commit is contained in:
Skia
2016-07-07 00:52:30 +02:00
parent bab3a38a2e
commit 0248bdf6d1
3 changed files with 53 additions and 6 deletions

View File

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