remove save method frm ShopTicket

This commit is contained in:
Thomas Steen Rasmussen 2017-08-19 23:14:01 +02:00
parent e6ca8a5c71
commit 5f4e9d16e9

View file

@ -115,11 +115,6 @@ class ShopTicket(BaseTicket):
product=self.product
)
def save(self, **kwargs):
super(ShopTicket, self).save(**kwargs)
self.qrcode_base64 = self.get_qr_code()
super(ShopTicket, self).save(**kwargs)
def get_absolute_url(self):
return str(reverse_lazy('shop:ticket_detail', kwargs={'pk': self.pk}))