You could also create a model that foreign keys to all the relevant models, 
and filter on that.. 
Buy first you need to clarify (for your self..) The exact use case: is it 
search? if so better use haystack with some search backend (elasticsearch 
would be a great choice), Is it to choose something in a form? something 
else? 

The technical details should be derived from the problem you are trying to 
solve.. 

On Friday, December 12, 2014 5:09:30 PM UTC+2, Damjan Dimitrioski wrote:
>
> Hi,
>
> Is there a way to make a model that links several db tables in one model, 
> so that can be used in a change list view ?
> Most importantly, I need to be able to use the search field, can this be 
> accomplished ?
>
> Regards.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/235267f4-1851-4464-9426-b63dc074d671%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to