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
File details
Details for the file django-searchview-lib-1.0.5.tar.gz
.
File metadata
- Download URL: django-searchview-lib-1.0.5.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 291f49bac51f71185294c69cab2252d6aa239769502cbe2b1f7bf997dc27569a |
|
MD5 | 15f0d3cc777e66cb40a67af01e464f3b |
|
BLAKE2b-256 | e845cf0ecd9bce32084f930c0cd8c40b74d9ac32cf2e89819186d7a176c17f1b |
File details
Details for the file django_searchview_lib-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: django_searchview_lib-1.0.5-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 853e2cea3fe8601a11de839424b75f10f0df854370d5fee254751627b510a8e8 |
|
MD5 | debae8aa997927124b7c87c9e5208af2 |
|
BLAKE2b-256 | 84c90d6f680e2132f2b23b90c7ab79965b41a58b526cf6d06ae4047f61a0890c |