On Fri, Jul 9, 2010 at 6:50 AM, lfrodrigues <lfrodrig...@gmail.com> wrote:
> Hello,
>
> I had some copies of a model with 10 fields serialized in a file.
>
> I deleted some of the fields (since I don't need them anymore) now I
> can't deserialize the model.
>
> error: raise FieldDoesNotExist, '%s has no field named %r' %
> (self.object_name, name)

Ignoring non-existent fields is the subject of ticket #9279.

The only workaround for this issue at the moment is to manually edit
your fixtures to remove references to the deleted field. If you need
to do this a lot, you may find it easier to write a quick utility that
parses your fixture, deletes the field entry in memory, and outputs
the fixture again.

Yours,
Russ Magee %-)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to