mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
if Django project root points to a directory outside of module, make sure we have a module from data context when gathering manage.py tasks (PY-8288)
This commit is contained in:
@@ -44,4 +44,6 @@ public interface QualifiedNameResolver {
|
||||
QualifiedNameResolver withContext(QualifiedNameResolveContext context);
|
||||
|
||||
QualifiedNameResolver withoutForeign();
|
||||
|
||||
Module getModule();
|
||||
}
|
||||
|
||||
@@ -329,4 +329,9 @@ public class QualifiedNameResolverImpl implements RootVisitor, QualifiedNameReso
|
||||
}
|
||||
return seeker;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Module getModule() {
|
||||
return myContext.getModule();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user