Without this, I get Error in migration: jobs:0025_populate_locations when I run python manage.py syncdb --migrate --noinput. I believe this fixes it because orm. will cause the forwards migration to use the model at the time this migration was created, rather than the latest model we get if we use from shortimer.jobs.models import Job, Employer (see: http://django-south.readthedocs.io/en/latest/tutorial/part3.html).
Without this, I get
Error in migration: jobs:0025_populate_locations
when I runpython manage.py syncdb --migrate --noinput
. I believe this fixes it becauseorm.
will cause the forwards migration to use the model at the time this migration was created, rather than the latest model we get if we usefrom shortimer.jobs.models import Job, Employer
(see: http://django-south.readthedocs.io/en/latest/tutorial/part3.html).