ProjectDjango/DjangoMakeMigrationsDialog.py

changeset 104
4cd211a73b3e
parent 93
cf83715ac2f7
child 121
2346aa3fffcc
equal deleted inserted replaced
103:226d0705880b 104:4cd211a73b3e
34 34
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 and the dry-run flag 40 the dry-run flag and a flag for an empty migration
41 @rtype tuple of two str and a bool 41 @rtype tuple of (str, str, bool, bool)
42 """ 42 """
43 return ( 43 return (
44 self.applicationsComboBox.currentText(), 44 self.applicationsComboBox.currentText(),
45 self.nameEdit.text(), 45 self.nameEdit.text(),
46 self.dryrunCheckBox.isChecked(), 46 self.dryrunCheckBox.isChecked(),
47 self.emptyCheckBox.isChecked(),
47 ) 48 )

eric ide

mercurial