Django INSTALLED_APPS

Photo by Faisal on Unsplash

Django INSTALLED_APPS

Table of contents

INSTALLED_APPS

INSTALLED_APP is a list of strings that appoint/choose all the applications enabled in Django installation used to configure applications.

When we create an application using the command line

$ django-admin startapp nameofapp

Then the name of that app must be included in INSTALLED_APPS to include that application in our project else the application where we write our code will not run.

NOTE

  • The application name must be unique. There is no way of including the same application twice.

  • The application label - by default the final part of the name -- must be unique. "The label allows relabeling an application when two applications have conflicting labels. It should be a valid Python identifier."