Ejemplo n.º 1
0
 def save(self, *args, **kwargs):
     if not self.unique_code:
         self.unique_code = rand_16()
     super(Ticket, self).save(*args, **kwargs)
Ejemplo n.º 2
0
 def save(self, *args, **kwargs):
     if not self.unique_code:
         self.unique_code = rand_16()
     super(Occurrence, self).save(*args, **kwargs)
     self.show.save()
Ejemplo n.º 3
0
 def save(self, *args, **kwargs):
     if not self.unique_code:
         self.unique_code = rand_16()
     super(Ticket, self).save(*args, **kwargs)
Ejemplo n.º 4
0
 def save(self, *args, **kwargs):
     if not self.unique_code:
         self.unique_code = rand_16()
     super(Occurrence, self).save(*args, **kwargs)
     self.show.save()