Commits

and...@69d324d9-c39d-4fdc-8679-7745eae9e2c8  committed 11ac3eb

Nicer output on createmigration

  • Participants
  • Parent commits 1b3e618

Comments (0)

Files changed (1)

File management/commands/startmigration.py

         if model:
             try:
                 model = getattr(app_module.models, model)
-                print model
             except AttributeError:
                 print "The specified model '%s' doesn't seem to exist." % model
         # Make the migrations directory if it's not there
         %s
 """ % (app, forwards, backwards))
         fp.close()
+        print "Created %s." % new_filename
 
 
 def genericify_type(typestr):