Ignore typing override in name removals

This commit is contained in:
Andrew Chen Wang 2021-01-07 22:39:18 -05:00 committed by GitHub
parent 2f416f9057
commit 5809eabb31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,8 +9,8 @@ class User(AbstractUser):
#: First and last name do not cover name patterns around the globe
name = CharField(_("Name of User"), blank=True, max_length=255)
first_name = None
last_name = None
first_name = None # type: ignore
last_name = None # type: ignore
def get_absolute_url(self):
"""Get url for user's detail view.