Breaking down a Django project into distinct apps with focused functionality offers benefits such as modularity, reusability, scalability, maintainability, efficient testing, improved collaboration, organized code, and flexibility.
Reason
Authentication app should not manage the company and employment logic, even though profiles can create and handle them
How Dependency was solved
While not the most favourable approach due to potential data loss and the loss of historical changes, the dependency issue was addressed by resetting the migrations.
Dependency error of relocating the company, employment, company emails, company phones models:
The field authentication_app.CompanyEmails.company was declared with a lazy reference to 'company_profiles_app.company', but app 'company_profiles_app' isn't installed.
The field authentication_app.CompanyPhones.company was declared with a lazy reference to 'company_profiles_app.company', but app 'company_profiles_app' isn't installed.
The field authentication_app.Profile.companies was declared with a lazy reference to 'company_profiles_app.company', but app 'company_profiles_app' isn't installed.
Benefits
Reason
How Dependency was solved
Dependency error of relocating the company, employment, company emails, company phones models: