just create custom view and add those two querysets to context. if you want 
to do search by one input in both querysets, you'll need to create custom 
filter as well, or just filter it in a view by query from input
On Thursday, October 10, 2019 at 1:48:52 AM UTC+3, sotiris moustogiannis 
wrote:
>
> I want to do dynamic filter search from 2 different models 
>
> i have 2 models
>
> [image: md1.png]
>
> [image: md2.png]
>
>
>
> i have this filters.py file to find shops and dates
>
>
> [image: fi.png]
>
>
> and this shop listview
>
> [image: li.png]
>
>
>
> i can only show the results of shopfilter and i want to do a combination 
> of shops and appointments model
>
>
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d8f0ed77-2076-4995-bf7e-838557b01bf4%40googlegroups.com.

Reply via email to