We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15a7f7e commit 3537321Copy full SHA for 3537321
README.md
@@ -305,7 +305,7 @@ So, mypy would not like this code:
305
```python
306
from django.conf import settings
307
308
-settings.CUSTOM_VALUE # E: 'Settings' object has no attribute 'CUSTOM_SETTING'
+settings.CUSTOM_VALUE # E: 'Settings' object has no attribute 'CUSTOM_VALUE'
309
```
310
311
To handle this corner case we have a special setting `strict_settings` (`True` by default),
@@ -328,7 +328,7 @@ And then:
328
329
330
# Works:
331
-reveal_type(settings.EXISTS_IN_RUNTIME) # N: Any
+reveal_type(settings.EXISTS_AT_RUNTIME) # N: Any
332
333
# Errors:
334
reveal_type(settings.MISSING) # E: 'Settings' object has no attribute 'MISSING'
0 commit comments