Open iPoetDev opened 1 year ago
Here is a suggestion Perplexity: AppConfig & Django-AppConf
Django specifically has an answer https://docs.djangoproject.com/en/4.2/ref/applications/#application-configuration
AppConfig.label[¶](https://docs.djangoproject.com/en/4.2/ref/applications/#django.apps.AppConfig.label)
Short name for the application, e.g. 'admin'
>......................................<
This attribute allows relabeling an application when two applications have conflicting labels. It defaults to the last component of name. It should be a valid Python identifier.
It must be unique across a Django project.
Ask a question
Pinax uses an app called account and allauth has an app label called allauth.account, how to fix the app label clash between two third party apps. Can I adjust pinax account package as the app label is easier that allauths framework? I want to write a local patch and prefix or alias the django-user-account package.
as want to use Pina's Django-User-Account and may be AllAuth account together (one for a battery included account management) and the other for social logins, as I seek to integrate GitHub later.
A quick search around on perplexity ai, gave this solution Pinax uses an app called account and allauth has an app label called allauth.account, how to fix the app label clash between two third party apps?
or I create a patch and repeat the apbove and give the account an AppConfig and a declared name that then I can import into my own project as above?
and then repeat for my own package.
I want to write a patch for this and then fix pinax in requirements (as I am hosting on heroku(the snag) so it does not update, as production won't have local patch)
Please advise if I can tinker with the local install code, and how to best write a patch and add a app name to the accounts package or apps.py appconfig for the package.
This is not a bug, but it is a weird symbols clash as both are similar packages, not same problem space (or are they?)