# django-tenant-user: How to fix "Application labels aren't unique, duplicates: auth"

**URL:** <https://forum.djangoproject.com/t/django-tenant-user-how-to-fix-application-labels-arent-unique-duplicates-auth/34132>\
**Category:** Mystery Errors\
**Created:** [August 24, 2024, 12:40pm UTC](https://forum.djangoproject.com/t/django-tenant-user-how-to-fix-application-labels-arent-unique-duplicates-auth/34132 "2024-08-24T12:40:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![FlorianF](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/florianf/32/21041_2.png) [@FlorianF](https://forum.djangoproject.com/u/FlorianF)\
**Post date:** [August 24, 2024, 12:40pm UTC](https://forum.djangoproject.com/t/django-tenant-user-how-to-fix-application-labels-arent-unique-duplicates-auth/34132/1 "2024-08-24T12:40:30Z")

</div>

Hi guys,

I’m new to Python/Django and struggling with Django Tenants Users.

I’m using django-tenants since a few months my webapp and everything works fine. Now I want to add django-tenant-users but I does not work when I set it up as the documentation says.

The problem is that the documentation says I need to add django.contrib.auth in shared and tenant app.

[https://django-tenant-users.readthedocs.io/en/latest/pages/installation.html#updating-settings](https://django-tenant-users.readthedocs.io/en/latest/pages/installation.html#updating-settings)

But when I want to make migrations, I get this error:

> Application labels aren’t unique, duplicates: auth

The screenshot shows my current apps in the settings.py.

 ![settings](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/3X/0/7/07155382d1489b0a45f36afd753a4d73c6531bc1.jpeg)

And all the post in Stackoverflow etc. also shows the django.contrib.auth in both, the shared and tenant app.

Can anybody please help? I’m really desperate.

Thx!! 🙂

---

<div class="post-metadata">

**Author:** ![white-seolpyo](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/white-seolpyo/32/22386_2.png) [@white-seolpyo](https://forum.djangoproject.com/u/white-seolpyo)\
**Post date:** [August 25, 2024, 5:04am UTC](https://forum.djangoproject.com/t/django-tenant-user-how-to-fix-application-labels-arent-unique-duplicates-auth/34132/2 "2024-08-25T05:04:54Z")

</div>

i think you use installed apps like `INSTALLED_APPS = SHARED_APPS + TENANT_APPS`.  
app is unique in installed apps, so you add django.contrib.auth in apps 1 time or… use other solution.
