File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ def open(self):
95
95
# TODO: remove this no-member ignore : this is to avoid the missing `config` for pylint 3+,
96
96
# and can be removed once pylint 2
97
97
# pylint: disable=no-member
98
- django_settings_module = self .config .django_settings_module
98
+ django_settings_module = self .linter . config .django_settings_module
99
99
100
100
if django_settings_module is None :
101
101
# we will warn the user that they haven't actually configured Django themselves
@@ -117,7 +117,7 @@ def open(self):
117
117
# at least here it is a fatal error so we can just raise this immediately
118
118
self .add_message (
119
119
"django-settings-module-not-found" ,
120
- args = self .config .django_settings_module ,
120
+ args = self .linter . config .django_settings_module ,
121
121
)
122
122
# however we'll trundle on with basic settings
123
123
from django .conf import settings # pylint: disable=import-outside-toplevel
You can’t perform that action at this time.
0 commit comments