Skip to content

Commit

Permalink
Merge pull request #2 from SAZZAD-AMT/asef
Browse files Browse the repository at this point in the history
new added
  • Loading branch information
asefamer authored Nov 22, 2021
2 parents 9ec1cf1 + a315eb6 commit aa1f45b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,4 @@ ENV/

# mypy
.mypy_cache/
db.sqlite3
1 change: 1 addition & 0 deletions user/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ def create_superuser(self, username, first_name, last_name, phone, password, **o
return self.create_user(username, first_name, last_name, phone, password, **other_fields)


# This is user model
class User(AbstractBaseUser, PermissionsMixin):
first_name = models.CharField(max_length=15, blank=True, null=True)
last_name = models.CharField(max_length=15, blank=True, null=True)
Expand Down

0 comments on commit aa1f45b

Please sign in to comment.