mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-30 22:29:32 +00:00
Migrate and improve subscriptions
This commit is contained in:
1 parent
e1474c7a74
commit
66fdf6cbf7
18 files changed
+351
-89
No files matched your search
+1
-1
@@ -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