Solved the problem. It was caused by a dependency among the models.
I did a grep on Message
and discovered that a field in a model in the postings
app depended on an instance of the Message
model in the utils
app as its default value, ie:
from utils.models import Message
...
default_message = Message.objects.get(message_type='application-receipt-message').text
...
class Posting(models.Model):
....
receipt_message = models.TextField(default=default_message)
...
So I changed the default_message
to an empty string, did python manage.py syncdb
followed by python manage.py migrate
, and didn't experience any more problems.