mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-10 03:49:24 +00:00
Update SubscriptionForm to allow creating user on the fly
This commit is contained in:
@ -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__
|
||||
|
Reference in New Issue
Block a user