On Thu, 2008-04-24 at 22:59 -0700, Eric Abrahamsen wrote: > I'm trying to implement a very basic tagging function using generic > relations, and running into errors I don't understand. The basic setup > is, I've got a model called Series, and series should be linkable to > many models via a SeriesItem model. Following the instructions here: > http://www.djangoproject.com/documentation/contenttypes/#reverse-generic-relations > I'm trying to add a reverse generic relation to another model, called > Entry, with the line: > series = generic.GenericRelation(SeriesItem) > > When I try to view an Entry object in the admin, it gives me a > KeyError, saying "Could not find Formfield or InlineObjectCollection > named 'series'". I don't really know what this means...
It means that generic relations are not supported in the admin interface. You can't use them there. Regards, Malcolm -- How many of you believe in telekinesis? Raise my hand... 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 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 -~----------~----~----~----~------~----~------~--~---