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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b56449b32986cd87afbf07ee6207f8187fab6f2b776a02e9b9bedcb0e9d0e5f2 |
|
MD5 | 5ab44983bcc004c6938ad8676233858b |
|
BLAKE2b-256 | 61e6a7cb4fd93ec3178373ff28d30e886a9e3f98c008183cf0d9ab88548ba845 |
Close
Hashes for django_searchview_lib-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4e0ce74e133a5a3d05c266733ab63aafc76715e77e4f2d3f2a6010bb923da50 |
|
MD5 | 5e9ef15a0eee5f744841d20494ffff06 |
|
BLAKE2b-256 | 15cdaeea1d32400d7ee964e6a007bb69150d22c13590ae8ec51c5d205d018bfd |