Skip to main content

SearchView is a multiple inheritance class of FormView and ListView

Project description

django-searchview

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.

see below.

DjangoSearchView/searchview

Code is simple and less than 100 steps. But it's very useful.

How To Use

https://gijutsu.com/en/2020/12/29/django-searchview-class/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-searchview-lib-1.0.5.tar.gz (2.8 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page