ProjectDjango/DjangoMakeMigrationsDialog.py

changeset 125
d280acf98fb5
parent 121
2346aa3fffcc
child 142
ecadd7fd0963
equal deleted inserted replaced
124:5c925935cbb9 125:d280acf98fb5
35 def getData(self): 35 def getData(self):
36 """ 36 """
37 Public method to get the data for the migration. 37 Public method to get the data for the migration.
38 38
39 @return tuple containing the application names, a migration name, 39 @return tuple containing the application names, a migration name,
40 the dry-run flag and a flag for an empty migration 40 the dry-run flag, a flag for an empty migration and a flag
41 @rtype tuple of (str, str, bool, bool) 41 indicating to fix migration conflicts
42 @rtype tuple of (str, str, bool, bool, bool)
42 """ 43 """
43 return ( 44 return (
44 self.applicationsComboBox.currentText(), 45 self.applicationsComboBox.currentText(),
45 self.nameEdit.text(), 46 self.nameEdit.text(),
46 self.dryrunCheckBox.isChecked(), 47 self.dryrunCheckBox.isChecked(),
47 self.emptyCheckBox.isChecked(), 48 self.emptyCheckBox.isChecked(),
49 self.mergeCheckBox.isChecked(),
48 ) 50 )

eric ide

mercurial