is there any way to search for a "content_object" within the change- list?
my model: class Trailer(models.Model): ... content_type = models.ForeignKey(ContentType) object_id = models.PositiveIntegerField() content_object = generic.GenericForeignKey() ... now, I´d like to do something like: class TrailerOptions(admin.ModelAdmin): ... search_fields = ('content_object',) ... this obviously doesn´t work ... are there any workarounds? thanks, patrick --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---