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