Browse Source

fix django-stubs in pyproject.toml

Nick Sweeting 1 year ago
parent
commit
2094ed842b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      pyproject.toml

+ 2 - 0
pyproject.toml

@@ -150,6 +150,8 @@ explicit_package_bases = true
 # exclude = "pdm/(pep582/|models/in_process/.+\\.py)"
 plugins = ["mypy_django_plugin.main"]
 
+[tool.django-stubs]
+django_settings_module = "core.settings"
 
 
 [project.urls]