# Extending primary attributes of the default user for all employees

**URL:** <https://forum.djangoproject.com/t/extending-primary-attributes-of-the-default-user-for-all-employees/9090>\
**Category:** Using Django\
**Created:** [August 4, 2021, 1:56pm UTC](https://forum.djangoproject.com/t/extending-primary-attributes-of-the-default-user-for-all-employees/9090 "2021-08-04T13:56:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnTodorovic](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/johntodorovic/32/5365_2.png) [@JohnTodorovic](https://forum.djangoproject.com/u/JohnTodorovic)\
**Post date:** [August 4, 2021, 1:56pm UTC](https://forum.djangoproject.com/t/extending-primary-attributes-of-the-default-user-for-all-employees/9090/1 "2021-08-04T13:56:36Z")

</div>

Hi there,

I am developing a human resource management system with Django. I’m wondering if I can expand the current primary attributes of the default user to accommodate the bio-data of each employee or should I create an employee model and create a relationship between the user and employee.

I want to do this so I don’t have to enter duplicate data for each user to match employees as all active (employed) staff will be able to access their own profile in the system.

I’m new to Django but not new to SQL.

I’ve looked through forums and SA but couldn’t find the right answer that is doable in Django.

Any help and guidance is highly appreciated.

John

---

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [August 4, 2021, 2:46pm UTC](https://forum.djangoproject.com/t/extending-primary-attributes-of-the-default-user-for-all-employees/9090/2 "2021-08-04T14:46:35Z")

</div>

The docs on [Extending the existing User model](https://docs.djangoproject.com/en/3.2/topics/auth/customizing/#extending-the-existing-user-model) covers what is referred to as the “profile” model as an extension to User. That is generally the recommended process for adding that type of additional data being associated with a User.

You are able to [replace the User model with one of your own design](https://docs.djangoproject.com/en/3.2/topics/auth/customizing/#substituting-a-custom-user-model), but unless you have very unique requirements making this _necessary_, I don’t typically recommend it.

---

<div class="post-metadata">

**Author:** ![JohnTodorovic](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/johntodorovic/32/5365_2.png) [@JohnTodorovic](https://forum.djangoproject.com/u/JohnTodorovic)\
**Post date:** [August 5, 2021, 2:31am UTC](https://forum.djangoproject.com/t/extending-primary-attributes-of-the-default-user-for-all-employees/9090/3 "2021-08-05T02:31:00Z")

</div>

I’ve read through the docs you recommended Ken and I can definitely use the extension of the existing user model as described.

Thank you for sharing both resources and your help.
