django - What is the process when renaming an app's label in AppConfig that is already in production? -


background

i'd use 3rd party django app "allauth" save myself time. allauth requires add providers in installed_apps, , provider modules' names conflict existing apps. "django.core.exceptions.improperlyconfigured: application labels aren't unique, duplicates:.." error. know how fix per this previous question.

the issue

my problem renaming app's label in appconfig causes migrations fail "dependencies reference nonexistent parent node". assume because parent node has changed, , database tables.

my questions

my existing app has ton of data in production not option start fresh. questions options? django not offer option rename label 3rd party packages instead? forced perform migration similar 1 discussed here? thanks

as far know need follow steps in answer linked: how change name of django app?.

i in same boat (damn allauth) , found ticket outlining fact renaming things using app.label broken , there no automatic upgrade path.

see here discussion: https://code.djangoproject.com/ticket/23790


Comments