mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-11-25 09:38:03 +01:00
Fix natural key
This commit is contained in:
parent
df1d20e079
commit
26c0b08475
1 changed files with 0 additions and 2 deletions
|
@ -50,7 +50,6 @@ class PaymentMethod(Model):
|
|||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
@property
|
||||
def natural_key(self):
|
||||
return (self.name,)
|
||||
|
||||
|
@ -99,7 +98,6 @@ class Product(Model):
|
|||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
@property
|
||||
def natural_key(self):
|
||||
return (self.name,)
|
||||
|
||||
|
|
Loading…
Reference in a new issue