Giter Site home page Giter Site logo

arisophy / django-searchview Goto Github PK

View Code? Open in Web Editor NEW
7.0 0.0 0.0 8.31 MB

SearchView is a multiple inheritance class of FormView and ListView. Form and List are on the same page.

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

License: MIT License

Python 63.74% CSS 3.61% HTML 32.65%
django python view listview form searchview django-searchview formview

django-searchview's Introduction

django-searchview

SearchView is a multiple inheritance class of FormView 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.

Install

pip install django-searchview-lib

Downloads

How To Use

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

django-searchview's People

Contributors

arisophy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

django-searchview's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.