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.
Code is simple and less than 100 steps. But it's very useful.
How To Use
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
Built Distribution
Close
Hashes for django-searchview-lib-1.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 291f49bac51f71185294c69cab2252d6aa239769502cbe2b1f7bf997dc27569a |
|
MD5 | 15f0d3cc777e66cb40a67af01e464f3b |
|
BLAKE2b-256 | e845cf0ecd9bce32084f930c0cd8c40b74d9ac32cf2e89819186d7a176c17f1b |
Close
Hashes for django_searchview_lib-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 853e2cea3fe8601a11de839424b75f10f0df854370d5fee254751627b510a8e8 |
|
MD5 | debae8aa997927124b7c87c9e5208af2 |
|
BLAKE2b-256 | 84c90d6f680e2132f2b23b90c7ab79965b41a58b526cf6d06ae4047f61a0890c |