Commit f5a9d109 authored by Martin Lehoux's avatar Martin Lehoux

update models

parent fd4ea679
......@@ -75,11 +75,11 @@ class CourseComment(models.Model):
class Teacher(models.Model):
firstName = models.CharField(max_length=50, null=True, blank=True)
lastName = models.CharField(max_length=50)
firstName = models.CharField(max_length=100, null=True, blank=True)
lastName = models.CharField(max_length=100)
email = models.EmailField(max_length=100, null=True, blank=True)
department = models.CharField(max_length=50, null=True, blank=True)
office = models.CharField(max_length=50, null=True, blank=True)
department = models.CharField(max_length=500, null=True, blank=True)
office = models.CharField(max_length=500, null=True, blank=True)
isAccepted = models.BooleanField(default=False)
def __str__(self):
......
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