Commit eee2766c authored by Martin Lehoux's avatar Martin Lehoux

Merge branch 'dev' into 'master'

More chars for fields

See merge request !36
parents d5c6b7bc 79b53096
# Generated by Django 2.1.2 on 2019-01-24 11:46
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0004_auto_20181219_1726'),
]
operations = [
migrations.AlterField(
model_name='teacher',
name='department',
field=models.CharField(blank=True, max_length=500, null=True),
),
migrations.AlterField(
model_name='teacher',
name='firstName',
field=models.CharField(blank=True, max_length=100, null=True),
),
migrations.AlterField(
model_name='teacher',
name='lastName',
field=models.CharField(max_length=100),
),
migrations.AlterField(
model_name='teacher',
name='office',
field=models.CharField(blank=True, max_length=500, null=True),
),
]
......@@ -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