Commit 0a77c6b9 authored by fred's avatar fred

user: allow empty emissions

parent a80f59d3
......@@ -7,5 +7,5 @@ from django.db import models
from emissions.models import Emission
class User(AbstractUser):
emissions = models.ManyToManyField(Emission)
emissions = models.ManyToManyField(Emission, null=True, blank=True)
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