ProjectDjango/DjangoMakeMigrationsDialog.py

changeset 104
4cd211a73b3e
parent 93
cf83715ac2f7
child 121
2346aa3fffcc
--- a/ProjectDjango/DjangoMakeMigrationsDialog.py	Thu Apr 27 19:35:24 2017 +0200
+++ b/ProjectDjango/DjangoMakeMigrationsDialog.py	Wed Oct 25 19:58:37 2017 +0200
@@ -36,12 +36,13 @@
         """
         Public method to get the data for the migration.
         
-        @return tuple containing the application names, a migration name
-            and the dry-run flag
-        @rtype tuple of two str and a bool
+        @return tuple containing the application names, a migration name,
+            the dry-run flag and a flag for an empty migration
+        @rtype tuple of (str, str, bool, bool)
         """
         return (
             self.applicationsComboBox.currentText(),
             self.nameEdit.text(),
             self.dryrunCheckBox.isChecked(),
+            self.emptyCheckBox.isChecked(),
         )

eric ide

mercurial