File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed
Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 1+ # Generated by Django 2.2 on 2019-04-12 17:01
2+
3+ from django .db import migrations , models
4+
5+
6+ class Migration (migrations .Migration ):
7+
8+ dependencies = [
9+ ('datame' , '0001_initial' ),
10+ ]
11+
12+ operations = [
13+ migrations .AlterField (
14+ model_name = 'datascientist' ,
15+ name = 'email' ,
16+ field = models .EmailField (max_length = 254 , verbose_name = 'Email' ),
17+ ),
18+ ]
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class DataScientist(models.Model):
3333 user = models .OneToOneField (User , on_delete = models .CASCADE )
3434 name = models .CharField ('Name' , max_length = 30 )
3535 surname = models .CharField ('Surname' , max_length = 50 )
36- email = models .CharField ('Email' , max_length = 50 )
36+ email = models .EmailField ('Email' )
3737 photo = models .CharField ('Photo' , max_length = 100 )
3838 address = models .CharField ('Address' , max_length = 100 )
3939 phone = models .CharField ('Phone' , max_length = 9 )
You can’t perform that action at this time.
0 commit comments