Skip to content

Commit

Permalink
Updating Required Fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Nitzantomer1998 committed Nov 13, 2023
1 parent ea2c1fc commit dad620b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ class User(AbstractUser):
avatar = models.ImageField(default='default_avatar.jpg')

USERNAME_FIELD = 'email'
REQUIRED_FIELDS = ['username']
REQUIRED_FIELDS = ['']

0 comments on commit dad620b

Please sign in to comment.