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?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2859f717-8186-458c-b4b7-9378ae2fd207%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to