Skip to content

Conversation

ljodal
Copy link
Contributor

@ljodal ljodal commented Sep 29, 2022

Add SETTINGS_MODULE as an attriute to the Settings and LazySettings classes. This makes mypy aware of this attribute.

Not sure if this is the best way to fix this or if we should do it another way?

Related issues

Fixes #1174

Add SETTINGS_MODULE as an attriute to the Settings and LazySettings
classes. This makes mypy aware of this attribute.

Fixes typeddjango#1174
@sobolevn sobolevn merged commit 5c61686 into typeddjango:master Sep 30, 2022
@ljodal ljodal deleted the fix/settings-module branch September 30, 2022 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

SETTINGS_MODULE attribute missing from django.conf.settings
2 participants