On Sun, 2008-04-27 at 04:37 -0700, Julien wrote: > Hi, > > I've just tried to run an existing project work with the newly merged > queryset-refactor branch. > > The code does not even compile any more, and I haven't found any help > (or I missed it) on the wiki page [1]. The error I get is: > AttributeError: 'Options' object has no attribute '_name_map'
Normally we'd need a bit more of a complete example than you've provided, because the reason you're seeing this problem is because of something specific about the way your models are imported and relations between models. So reducing it to a small complete example that ran standalone would have revealed that. That's a tip for next time: a small example, rather than a fragment of code is always going to more useful; it's reasonable to assume that this error doesn't occur for everybody, always, since that would have been spotted. As it turns out, I was able to guess at the cause and it should be fixed in [7478], so update and try again. If it still fails, it's time to construct a model that shows the problem in standalone fashion because my guess was wrong. Regards, Malcolm -- Borrow from a pessimist - they don't expect it back. http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

