Does a custom user model require first_name and last_name fields

13 views
Skip to first unread message

graeme

unread,
Jan 20, 2020, 5:18:50 PM1/20/20
to Django users
I have people's first names and last names in another model (because not all people in the DB are users). Therefore if I store names in the user model I will duplicate data.

I think the right solution is to remove the first_name and last_name user models from the custom user model. Will this cause problems?

I can sensibly override methods like get_full_name()

Thanks for any help.

Suraj Thapa FC

unread,
Jan 20, 2020, 5:25:28 PM1/20/20
to django...@googlegroups.com
Ofcourse you can...
It will not create any problem 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/421e55c9-b3ef-47e0-aaf7-3d36bfcff45d%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages