Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Django settingsNew to Visual Studio Code? Get it now.
Django settings

Django settings

Vasiliy Spassky

|
250 installs
| (0) | Free
Better developer experience for working with `django.conf.settings` object.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Configuration

Set djangoSettings.settingsFiles to the list of paths where to look for the settings definitions. The paths must be relative to the workspace root.

Example in settings.json:

"djangoSettings.settingsFiles": [
    "config/settings/base.py",
    "config/settings/local.py",
    "config/settings/test.py",
    "config/settings/production.py"
]

Example in the VSCode settings GUI:

GUI configuration example

Features

Go to definition

Tired of "Go to definition" on a settings object attribute taking you to django.conf._DjangoConfLazyObject.__getattr__?

Go to definition demo

Code completions

Tired of having to look up and copy-paste settings names by hand?

Go to definition demo

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft