diff --git a/django/db/migrations/questioner.py b/django/db/migrations/questioner.py index 2ae74d4ef6..7e798d3105 100644 --- a/django/db/migrations/questioner.py +++ b/django/db/migrations/questioner.py @@ -106,8 +106,6 @@ class InteractiveMigrationQuestioner(MigrationQuestioner): return eval(code, {}, {"datetime": datetime_safe}) except (SyntaxError, NameError) as e: print("Invalid input: %s" % e) - else: - break def ask_rename(self, model_name, old_name, new_name, field_instance): "Was this field really renamed?"