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 c785380 commit 65ceb3aCopy full SHA for 65ceb3a
pylint_django/plugin.py
@@ -28,7 +28,7 @@ def register(linter):
28
try:
29
from pylint_django.augmentations import apply_augmentations
30
apply_augmentations(linter)
31
- except ModuleNotFoundError:
+ except ImportError:
32
# probably trying to execute pylint_django when Django isn't installed
33
# in this case the django-not-installed checker will kick-in
34
pass
0 commit comments