code mort

This commit is contained in:
Ludovic Stephan 2016-11-14 13:00:21 -02:00
parent fa3ddd099f
commit 40f3cf60a0

View file

@ -249,11 +249,6 @@ class SpectacleRevente(models.Model):
# Le vendeur a aussi 1h pour changer d'avis
return self.date + delay + timedelta(hours=1)
def date_tirage_str(self):
return self.date_tirage \
.astimezone(timezone.get_current_timezone()) \
.strftime('%d/%m/%y à %H:%M')
def __str__(self):
return "%s -- %s" % (self.seller,
self.attribution.spectacle.title)