SearchView is a multiple inheritance class of FormView and ListView
SearchView is a multiple inheritance class of Form and ListView
When I wanted to make a Search Page with class based View of Django, the first choice was using FormView and ListView. But, I wanted to display search form and results list in one page. I needed a new view class, multiple inheritance from FormView and ListView. I searched for it, but I couldn’t find a good solution. So I made it by myself.
Code is simple and less than 100 steps. But it's very useful.
How To Use
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for django-searchview-lib-1.0.5.tar.gz
Hashes for django_searchview_lib-1.0.5-py3-none-any.whl