The search filter above the change list view template, there is a button
named search I think, I think it's need to overriden in order to implement
custom model or something.

On Sat, Dec 13, 2014 at 11:06 PM, Vijay Khemlani <vkhem...@gmail.com> wrote:
>
> What search button are you talking about?
>
> On Sat, Dec 13, 2014 at 2:23 PM, Alon Nisser <alonis...@gmail.com> wrote:
>>
>> 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
>> <https://groups.google.com/d/msgid/django-users/235267f4-1851-4464-9426-b63dc074d671%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/oaInfa9o4Js/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CALn3ei0RSv4RuAyp%2BBhk5c9Qi4riF%3DFF3VXVQ_cr1rnuAxBs2g%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALn3ei0RSv4RuAyp%2BBhk5c9Qi4riF%3DFF3VXVQ_cr1rnuAxBs2g%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAHDCi6TKphAGSo3aMUkD8EYVvNV5kWqQgn%2BSikDNRCA7BC49Tg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to