Any chance you were using django-tagging previously and recently updated to trunk? There are backwards incompatible changes - the relation names have changed: http://code.google.com/p/django-tagging/wiki/BackwardsIncompatibleChanges
-Brian On Feb 20, 4:25 pm, cesco <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using the latest version of the django tagging application (rev. > 132) and I'm having problems with the get_by_model method of the > TaggedItem manager. > > Say I have a QuerySet1 generated as follow: > QuerySet1 = TaggedItem.objects.get_by_model(MyModel, 'tag1') > and a QuerySet2 generated as follow: > QuerySet2 = TaggedItem.objects.get_by_model(MyModel, 'tag2') > > If at this point I try to '&' the two query sets as in: > QuerySet3 = QuerySet1 & QuerySet2 > then I get the following error: > "ambiguous column name: tagging_taggeditem.object_id" > > Do you have any idea of why I'm getting this error and how I could > solve the problem? > For completeness in dpaste is the complete traceback I > get:http://dpaste.com/36177/ > > Any help would be very appreciated. > > Thanks > Francesco --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

