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.2.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

django_searchview_lib-1.0.2-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

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