Commits

Anonymous committed 9def913

Fixing #154: Incorrectly lowercasing app names

  • Participants
  • Parent commits 7e05bb6

Comments (0)

Files changed (1)

south/management/commands/startmigration.py

 
 def model_key(model):
     "For a given model, return 'appname.modelname'."
-    return ("%s.%s" % (model._meta.app_label, model._meta.object_name)).lower()
+    return "%s.%s" % (model._meta.app_label, model._meta.object_name.lower())
 
 def model_unkey(key):
     "For 'appname.modelname', return the model."