Commit b40f7712 authored by JB's avatar JB

contact_id cannot be null (error 500 otherwise)

parent 4c2da75e
......@@ -412,7 +412,7 @@ class Session(models.Model):
max_length=150, blank=True, verbose_name='Intitulé de la session')
contact = models.ForeignKey(
Contact,
models.DO_NOTHING, null=True, verbose_name=_("Type de contact"))
models.DO_NOTHING, verbose_name=_("Type de contact"))
place = models.ForeignKey(
Place,
on_delete=models.CASCADE,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment