Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 845 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 845 Bytes

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