6👍
✅
If you just need to show some static view of an app, defining the url is enough(which may be done in the main urls itself). However, if your app has some models and you need to include it in migrate command (and to get its tables created), you need to include it in the installed_apps.
👤art
1👍
Yes, it’s mandatory to include each app you want to use in your project to INSTALLED_APPS. It helps django build paths to it’s (app’s) models, views, middlewares etc. It depends not only to apps written by yourself but also for third-party apps which extends django’s functionality, for example django rest framework, modeltranslation and so on.
- [Django]-Best practice – Django multisite
- [Django]-Pythonic web-based framework other than Django
- [Django]-Deep JSON Serialization of Django objects
- [Django]-Adding a maximum limit to the number of post using python
Source:stackexchange.com