25 """ |
25 """ |
26 super().__init__(parent) |
26 super().__init__(parent) |
27 self.setupUi(self) |
27 self.setupUi(self) |
28 |
28 |
29 self.__project = project |
29 self.__project = project |
30 if self.__project.getDjangoVersion() < (1, 0): |
|
31 self.excludeGroup.setEnabled(False) |
|
32 |
30 |
33 apps = self.__project.getRecentApplications() |
31 apps = self.__project.getRecentApplications() |
34 self.applicationsCombo.addItems(apps) |
32 self.applicationsCombo.addItems(apps) |
35 self.excludeCombo.addItems(apps) |
33 self.excludeCombo.addItems(apps) |
36 self.excludeCombo.setEditText("") |
34 self.excludeCombo.setEditText("") |