I have a model with a FK to a field called employee. I'm trying to migrate it to django.contrib.auth.models.User. I call a migrations.RunPython command and when I try to access the data in the field before I migrate it and after I have updated the model it is not giving me the correct data. If I access the revert the model changes and access the field from the shell it is correct. Any idea what is going on?