What does setting INSTALLED_APPS in Django actually do?

What is this actually doing? I recently forked my project from 1 application into 6 different applications and forgot to update the INSTALLED_APPS part of my settings file. Everything still works, although I have not listed new applications. Is this supposed to happen? Do I need to include all my applications in INSTALLED_APPS ?

+8
python django
source share
1 answer

Yes.

INSTALLED_APPS helps django synchronize the database, run tests, get URLs and other related problems.

Perhaps your installed applications are still working, because the main one calls others with import, the django application is nothing more than a simple python module that is imported when called in the settings file, so you get an invalid syntax error after starting the development server. because imports will not work with invalid syntax.

+10
source share

All Articles