-
-
Notifications
You must be signed in to change notification settings - Fork 506
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug report
What's wrong
Accessing django.conf.settings.SETTINGS_MODULE
produces an 'Settings' object has no attribute 'SETTINGS_MODULE'
error. This attribute is set in the Settings
class:
How is that should be
The SETTINGS_MODULE
should be defined as a str
attribute
I tried to fix this by adding the attribute to the Settings
class, but that didn't work. Not sure if I should add it to the LazySettings
stub or rather in the plugin?
System information
- OS:
python
version: 3.10django
version: 4.0mypy
version: 0.981django-stubs
version: latest masterdjango-stubs-ext
version: latest master
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working