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 7cbca67 commit e8759a7Copy full SHA for e8759a7
pylint_django/augmentations/__init__.py
@@ -743,7 +743,8 @@ def wrap_func(*args, **kwargs):
743
def is_wsgi_application(node):
744
frame = node.frame()
745
return node.name == 'application' and isinstance(frame, Module) and \
746
- (frame.name == 'wsgi' or frame.path[0].endswith('wsgi.py') or frame.file.endswith('wsgi.py'))
+ (frame.name == 'asgi' or frame.path[0].endswith('asgi.py') or frame.file.endswith('asgi.py') or
747
+ frame.name == 'wsgi' or frame.path[0].endswith('wsgi.py') or frame.file.endswith('wsgi.py'))
748
749
750
# Compat helpers
0 commit comments