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 3.2.8 on 2021-10-23 01:50
2+
3+ from django .db import migrations , models
4+
5+
6+ class Migration (migrations .Migration ):
7+
8+ dependencies = [
9+ ('contact' , '0001_initial' ),
10+ ]
11+
12+ operations = [
13+ migrations .AlterField (
14+ model_name = 'contact' ,
15+ name = 'email' ,
16+ field = models .EmailField (max_length = 255 ),
17+ ),
18+ ]
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ class Contact(models.Model):
1111 """
1212 firstname : str = models .CharField (max_length = 100 )
1313 lastname : str = models .CharField (max_length = 100 )
14- email : str = models .EmailField (unique = True , max_length = 255 )
14+ email : str = models .EmailField (max_length = 255 )
1515 subject : str = models .CharField (max_length = 255 )
1616 message : str = models .TextField (max_length = 2000 )
1717 active : bool = models .BooleanField (default = False )
You can’t perform that action at this time.
0 commit comments