mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 04:19:25 +00:00
Migrate and improve subscriptions
This commit is contained in:
@ -30,7 +30,7 @@ class Customer(models.Model):
|
||||
ordering = ['account_id',]
|
||||
|
||||
def __str__(self):
|
||||
return self.user.username
|
||||
return "%s - %s" % (self.user.username, self.account_id)
|
||||
|
||||
def generate_account_id(number):
|
||||
number = str(number)
|
||||
|
Reference in New Issue
Block a user