0
votes

In Django, the default attributes for user: username password email first_name last_name

I would like to remove email, first_name, last_name and replace it with company

Is that possible ? Can someone show me the process of performing an authentication session with these 3 modified attributes: - company - username - password

Thanks.

1

1 Answers

0
votes

You should read the documentation regarding customizing authentication in Django especially the part regarding User model substitution if you would like to create your own model.