I think I ran into something similar.
I had a problem when the model was not reset. In this case, it turned out that there was an error in my models that did not spit out.
Although I think that syncdb at startup spits out some kind of error.
In any case, try importing the model file from the shell and see if you can.
$ manage.py shell >>> from myapp import models >>>
If there is an error in the file, this should indicate this.
According to your update, it looks like you might have a cross import problem. Instead:
from app1.models import X class ModelA(models.Model): fk = models.ForeignKey(X)
Try:
class ModelA(models.Model): fk = models.ForeignKey("app1.X")
... although I think you should get an error message on syncdb.
source share