fixing booking order creation
This commit is contained in:
parent
082cb09e9b
commit
d4deadbd37
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class Ordereable(models.Model):
|
|||
@classmethod
|
||||
def create(cls, data):
|
||||
stripe_charge = data.pop('stripe_charge', None)
|
||||
del(data['status'])
|
||||
# del(data['status'])
|
||||
instance = cls.objects.create(**data)
|
||||
if not stripe_charge:
|
||||
return instance
|
||||
|
|
Loading…
Reference in a new issue