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:
Tired of "Go to definition" on a settings
object attribute taking you to
django.conf._DjangoConfLazyObject.__getattr__
?
Tired of having to look up and copy-paste settings names by hand?