Commits

Andrew Godwin committed 3b3ddc4

Fix custom migrations modules

  • Participants
  • Parent commits 2d9586a

Comments (0)

Files changed (1)

File south/migration/base.py

             return self._guess_migration(prefix=target_name)
     
     def app_label(self):
-        return get_app_label(self._migrations)
+        return self._application.__name__.split('.')[-1]
 
     def full_name(self):
         return self._migrations.__name__