aboutsummaryrefslogtreecommitdiff
path: root/models.py
diff options
context:
space:
mode:
authorAlban Gruin2017-10-09 23:30:35 +0200
committerAlban Gruin2017-10-09 23:30:35 +0200
commit604fab9f88b510599d175bf6545ee49f5f82addd (patch)
tree33573b2df664fb7ccc3afe5f61f6c8d408719264 /models.py
parentb8640c8882a270591bf8632abe7c4d44ee22f94e (diff)
parent72dcae5c9d58005af71b293d1ec09a4c50335c64 (diff)
Merge branch 'stable/0.10.z' into prod/pa1ch/0.10.zv0.10.4-pa1ch
Diffstat (limited to 'models.py')
-rw-r--r--models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/models.py b/models.py
index ec141a2..e48efa5 100644
--- a/models.py
+++ b/models.py
@@ -176,7 +176,7 @@ class Course(models.Model):
objects = CourseManager()
name = models.CharField(max_length=255, verbose_name="nom", default="Sans nom",
- null=True)
+ null=True) # TODO 0.11: null=False
type_ = models.CharField(name="type", max_length=255,
verbose_name="type de cours", null=True)
timetable = models.ForeignKey(Timetable, on_delete=models.CASCADE,