On Mon, Mar 9, 2009 at 4:00 AM, He Jibo <[email protected]> wrote:
> Thank you so much for your detailed explanation. I have tried your
> suggestion of "The relatively simple solution that _might_ work (depending
> on the details of your project) is to remove references to contrib.auth and
> contrib.contenttypes in your fixture. "
> It seems to work. However, I confronted another error of "KeyError 'model'".
> Please click the following link to see the error message.
>
> https://netfiles.uiuc.edu:443/jibohe2/error.GIF

It looks like there is a problem with your fixture. As far as the
fixture is concerned, you have a model called "model". Given that
"model" is a required field for a fixture, I would guess that in the
process of cleaning out the contenttypes from your fixture, you've
deleted one too many brackets.

(Also - please - learn how to use copy and paste in your operating
system of choice. A screenshot isn't the best way of communicating a
stack trace).

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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to