I have a model X with Y field which is GenericForeignKey field. In the
model admin for model X I want to have something like:
search_fields('Y__fieldname'). I get the error 'Cannot resolve keyword
"X" into field' which makes sense since it's a virtual field and
doesn't go to fields in X._meta

Any ideas? Thanks...

-- 
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.

Reply via email to