mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-11 13:16:09 +00:00
Update SubscriptionForm to allow creating user on the fly
This commit is contained in:
1 parent
bab3a38a2e
commit
0248bdf6d1
3 files changed
+53
-6
No files matched your search
+1
-1
@@ -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