fixing booking order creation

This commit is contained in:
Levi 2016-12-06 22:19:22 -05:00
parent 082cb09e9b
commit d4deadbd37

View file

@ -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