Merge pull request #148 from levivm/feature/new_digitalglarus

fixing booking order creation
This commit is contained in:
Levi Velázquez 2016-12-06 22:25:53 -05:00 committed by GitHub
commit 5eea3e28b7

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