forked from ungleich-public/dynamicweb
fix aldryn_newsblog
This commit is contained in:
parent
2bfbb9c927
commit
b43ca2982d
12 changed files with 67 additions and 39 deletions
|
|
@ -40,7 +40,7 @@ class BillingAddress(BaseBillingAddress):
|
|||
|
||||
|
||||
class UserBillingAddress(BaseBillingAddress):
|
||||
user = models.ForeignKey(CustomUser, related_name='billing_addresses', on_delete=models.SET_NULL)
|
||||
user = models.ForeignKey(CustomUser, related_name='billing_addresses', on_delete=models.SET_NULL, null=True)
|
||||
current = models.BooleanField(default=True)
|
||||
|
||||
def __str__(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue