fix "inheriting models from an app with migrations"

depends on #248, I was able to successfully run makemigrations for the test app. Feel free to run makemigrations yourself; I just wanted to show it can be done and have travis verify.