remove uuid primary key
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
This commit is contained in:
parent
3ef19610f3
commit
1e68539ed8
53 changed files with 186 additions and 1249 deletions
|
|
@ -17,11 +17,8 @@ class User(AbstractUser):
|
|||
decimal_places=AMOUNT_DECIMALS,
|
||||
validators=[MinValueValidator(0)])
|
||||
|
||||
# Need to use the string here to prevent a circular import
|
||||
primary_billing_address = models.ForeignKey('uncloud_pay.BillingAddress',
|
||||
on_delete=models.PROTECT,
|
||||
blank=True,
|
||||
null=True)
|
||||
# @property
|
||||
# def primary_billing_address(self):
|
||||
|
||||
@property
|
||||
def balance(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue