if (nature == null) {
MessageDialog.openError(PyAction.getShell(), "PyDev nature not found",
"Unable to perform action because the Pydev nature is not properly set.");
return null;
}
IPythonPathNature pythonPathNature = nature.getPythonPathNature();
String manageVarible = null;
Map<String, String> variableSubstitution = null;
try {
variableSubstitution = pythonPathNature.getVariableSubstitution();
manageVarible = variableSubstitution.get(DjangoConstants.DJANGO_MANAGE_VARIABLE);
} catch (Exception e1) {
throw new RuntimeException(e1);
}
if (manageVarible == null) {