Home » Jquery » jquery – Need Advice on building Search Filters in Django Product Search Page-Exceptionshub

jquery – Need Advice on building Search Filters in Django Product Search Page-Exceptionshub

Posted by: admin February 24, 2020 Leave a comment

Questions:

I have a product search page that lists all cars. I would like to know some best practices in order to achieve searching and filtering results like in this picture below. At present, I have a working code that does the job fine. But I feel am hacking instead of following the best practice.
Do I need to learn Node.js to achieve this ? or Django/CSS is enough? What is the industry’s best practice?

enter image description here

How to&Answer:

Do I need to learn Node.js to achieve this?

No, Django will do just fine.

What is the industry’s best practice?

You don’t need ElasticSearch either. Simply use a SQL DB and use DRF with filter_backends (doc). Add indexes when necessary.