use forms

This commit is contained in:
Ludovic Stephan 2016-07-25 23:03:33 +02:00
parent 90581af528
commit d12a21d44c
4 changed files with 21 additions and 44 deletions

View file

@ -193,7 +193,7 @@ class SpectacleRevente(models.Model):
default=timezone.now)
interested = models.ManyToManyField(Participant,
related_name="wanted",
blank=True, null=True)
blank=True)
soldTo = models.ForeignKey(Participant, blank=True, null=True)
def get_expiration_time(self):