forked from DGNum/gestioCOF
Ajoute le nom du tirage dans __unicode__
This commit is contained in:
parent
e29184e7d5
commit
8266afd6ac
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class Tirage(models.Model):
|
||||||
return self.fermeture.strftime('%d %b %Y %H:%M')
|
return self.fermeture.strftime('%d %b %Y %H:%M')
|
||||||
|
|
||||||
def __unicode__(self):
|
def __unicode__(self):
|
||||||
return u"Tirage au sort du BdA du %s" % (self.date_no_seconds())
|
return u"%s - %s" % (self.title, self.date_no_seconds())
|
||||||
|
|
||||||
class Salle (models.Model):
|
class Salle (models.Model):
|
||||||
name = models.CharField ("Nom", max_length = 300)
|
name = models.CharField ("Nom", max_length = 300)
|
||||||
|
|
Loading…
Reference in a new issue