INSTALLED_APPS (Django)

INSTALLED_APPS is the list in settings.py of every app Django should activate, including your own apps and built-in ones like the admin and auth. Django reads it to find models, templates, static files, and management commands.

Django

An app does nothing until it appears in INSTALLED_APPS. This list tells Django which apps to load, which is how it discovers your models for migrations, your app-level templates and static files, your management commands, and your admin registrations.

It normally contains Django's contrib apps first (admin, auth, contenttypes, sessions, messages, staticfiles), then any third-party apps (like rest_framework), then your own apps. Order matters in a few cases, such as template and static-file resolution and admin overrides.

You can reference an app by its package path ('blog') or, for explicit configuration, by its AppConfig class ('blog.apps.BlogConfig'), which lets you set the app's display name and ready() startup hook.

Syntax

INSTALLED_APPS = ["django.contrib.admin", "blog"]

Examples

Python

INSTALLED_APPS = [
    "django.contrib.admin",
    "django.contrib.auth",
    "django.contrib.contenttypes",
    "rest_framework",   # third-party
    "blog.apps.BlogConfig",  # your app
]

Learn it in a lesson

See also

Back to the Dictionary