Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

continue execution even if there is nothing to migrate so that signal…

…s fire and loaddata runs
  • Loading branch information...
commit d9fe1b2093beb865b05fc7d0110d033aa6f57c17 1 parent e1ec65b
@paltman authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  nashvegas/management/commands/upgradedb.py
View
3  nashvegas/management/commands/upgradedb.py
@@ -158,8 +158,7 @@ def execute_migrations(self, show_traceback=False):
migrations = self._filter_down()
if not len(migrations):
- print "There are no migrations to apply."
- return
+ sys.stdout.write("There are no migrations to apply.\n")
created_models = []
Please sign in to comment.
Something went wrong with that request. Please try again.