Skip to content

Commit b404381

Browse files
committed
Add typing.
1 parent 903cd0c commit b404381

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Generated by Django 3.2.8 on 2021-10-23 01:27
2+
3+
from django.db import migrations, models
4+
5+
6+
class Migration(migrations.Migration):
7+
8+
dependencies = [
9+
('accounts', '0001_initial'),
10+
]
11+
12+
operations = [
13+
migrations.AlterField(
14+
model_name='customuser',
15+
name='name',
16+
field=models.CharField(max_length=150),
17+
),
18+
]

accounts/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class CustomUser(AbstractUser):
1010
last_name = None
1111
password2 = None
1212

13-
name = models.CharField(max_length=150, default=False)
13+
name = models.CharField(max_length=150)
1414
email = models.EmailField(max_length=255, unique=True)
1515

1616
objects = UserManager()

0 commit comments

Comments
 (0)