remove save method frm ShopTicket
This commit is contained in:
parent
e6ca8a5c71
commit
5f4e9d16e9
|
@ -115,11 +115,6 @@ class ShopTicket(BaseTicket):
|
||||||
product=self.product
|
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):
|
def get_absolute_url(self):
|
||||||
return str(reverse_lazy('shop:ticket_detail', kwargs={'pk': self.pk}))
|
return str(reverse_lazy('shop:ticket_detail', kwargs={'pk': self.pk}))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue