How do you deal with two third party apps with the same App label?

25 views
Skip to first unread message

Mario R. Osorio

unread,
May 20, 2018, 1:54:02 AM5/20/18
to Django users
Hello everyone,

In  Django 2.0.5; I want to use python-twitter and allauth's twitter provider and both these apps use the same App label which results in  the django.core.exceptions.ImproperlyConfigured: Application labels aren't unique error

I have searched the internet and found no solutions to this Issue and would really appreciate your input on this matter.

Any and all comments and ideas are welcome.


TIA!

Daniel Germano Travieso

unread,
May 20, 2018, 2:45:17 AM5/20/18
to Django users
Hello!

As seen here on the documentation for Applications configuration for app users, you can provide a custom app configuration for one of the third party apps you are using on your project.


I believe this would solve the ImproperlyConfigured exception as on your settings.py on your INSTALLED_APPS you would have the apps with different names.
Hope it helps!

Mario R. Osorio

unread,
May 21, 2018, 1:07:29 PM5/21/18
to Django users
Thanks Daniel,

I've read that material but could make much sense out of it (I'm sure its me) I did read it again today and I think I've got it. Will check it tonight and I'll let you know.

Thanks again
Reply all
Reply to author
Forward
0 new messages