Ne permet pas de définir un spectacle sans prix

This commit is contained in:
Martin Pépin 2016-06-07 22:34:23 +02:00
parent a683b189f0
commit 68e3c3412a

View file

@ -33,7 +33,7 @@ class Spectacle (models.Model):
location = models.ForeignKey(Salle) location = models.ForeignKey(Salle)
description = models.TextField ("Description", blank=True) description = models.TextField ("Description", blank=True)
slots_description = models.TextField ("Description des places", blank=True) slots_description = models.TextField ("Description des places", blank=True)
price = models.FloatField("Prix d'une place", blank=True) price = models.FloatField("Prix d'une place")
slots = models.IntegerField ("Places") slots = models.IntegerField ("Places")
priority = models.IntegerField ("Priorité", default=1000) priority = models.IntegerField ("Priorité", default=1000)
tirage = models.ForeignKey (Tirage) tirage = models.ForeignKey (Tirage)