diff options
-rw-r--r-- | models.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -171,7 +171,7 @@ class CourseManager(Manager): class Course(models.Model): objects = CourseManager() - name = models.CharField(max_length=255, verbose_name="nom", null=True) + name = models.CharField(max_length=255, verbose_name="nom", default="Cours") type_ = models.CharField(name="type", max_length=255, verbose_name="type de cours", null=True) timetable = models.ForeignKey(Timetable, on_delete=models.CASCADE, |