Hi all,

A migration I was running (manage.py migrate) died in the middle. I deleted 
the migration file, fixed the problem (wrong default value), recreated the 
migration, and re-ran it. But now, I'm getting an inconsistent state (error 
message: [Model] has no field named [field]). When I check the database, 
all the old fields are there. However, when I hop into a Django shell 
(manage.py shell) and check the model fields ([Model]._meta.fields), they 
reflect the new, post-migration state. What is going on, and how do I fix 
this?

Thanks!

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/95f33338-c53b-497d-8dcd-a4c1e444b5c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to