forked from DGNum/gestioCOF
code mort
This commit is contained in:
parent
fa3ddd099f
commit
40f3cf60a0
1 changed files with 0 additions and 5 deletions
|
@ -249,11 +249,6 @@ class SpectacleRevente(models.Model):
|
||||||
# Le vendeur a aussi 1h pour changer d'avis
|
# Le vendeur a aussi 1h pour changer d'avis
|
||||||
return self.date + delay + timedelta(hours=1)
|
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):
|
def __str__(self):
|
||||||
return "%s -- %s" % (self.seller,
|
return "%s -- %s" % (self.seller,
|
||||||
self.attribution.spectacle.title)
|
self.attribution.spectacle.title)
|
||||||
|
|
Loading…
Reference in a new issue