forked from DGNum/gestioCOF
minor fixes
This commit is contained in:
parent
dbd81ac625
commit
32d98faf0d
2 changed files with 3 additions and 1 deletions
|
@ -158,7 +158,8 @@ class Participant(models.Model):
|
|||
blank=True)
|
||||
tirage = models.ForeignKey(Tirage)
|
||||
choicesrevente = models.ManyToManyField(Spectacle,
|
||||
related_name="revente")
|
||||
related_name="revente",
|
||||
blank=True)
|
||||
|
||||
def __str__(self):
|
||||
return "%s - %s" % (self.user, self.tirage.title)
|
||||
|
|
|
@ -20,6 +20,7 @@ from django.utils import timezone
|
|||
from django.views.generic.list import ListView
|
||||
|
||||
import time
|
||||
from datetime import timedelta
|
||||
|
||||
from gestioncof.decorators import cof_required, buro_required
|
||||
from bda.models import Spectacle, Participant, ChoixSpectacle, Attribution,\
|
||||
|
|
Loading…
Reference in a new issue