Skip to content

Commit

Permalink
Bugfix with account_type name
Browse files Browse the repository at this point in the history
  • Loading branch information
DEENUU1 committed Dec 19, 2023
1 parent e5608dc commit cad19a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion users/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def create_superuser(self, email, password=None, **kwargs):
class UserAccount(AbstractBaseUser, PermissionsMixin):
ACCOUNT_TYPE = (
("USER", "USER"),
("USER", "COMPANY")
("COMPANY", "COMPANY")
)

first_name = models.CharField(max_length=255)
Expand Down

0 comments on commit cad19a4

Please sign in to comment.