Skip to content

Commit

Permalink
small fix #321
Browse files Browse the repository at this point in the history
  • Loading branch information
abrahmasandra committed Nov 30, 2023
1 parent 9cfdf5a commit 015a4ee
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/chigame/users/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ class User(AbstractUser):

objects = UserManager()

def clean(self) -> None:
super().clean()
self.validate_username(self.username)

def get_absolute_url(self) -> str:
"""Get URL for user's detail view.
Expand Down

0 comments on commit 015a4ee

Please sign in to comment.