See the changes listed here: http://code.google.com/p/django-tagging/wiki/BackwardsIncompatibleChanges you may be able to give directly the queryset rather than the model
On Thu, Feb 21, 2008 at 1:25 AM, 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 django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---