Merge pull request #148 from levivm/feature/new_digitalglarus
fixing booking order creation
This commit is contained in:
commit
5eea3e28b7
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