Search option in website

22 views
Skip to first unread message

Mahendra

unread,
Jul 23, 2022, 4:40:05 PM7/23/22
to django...@googlegroups.com
Hi to all,
How to implement Search option in website.please any one guide me ?

Thanks&regards,
Mahendra Yadav


Lakshyaraj Dash

unread,
Jul 23, 2022, 4:42:39 PM7/23/22
to django...@googlegroups.com
You can implement search option very easily like shown in the screenshot below
Also for more information see the following django's model queryset documentation:


Thanks and Regards
Lakshyaraj Dash

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAN-6G3y6S7YPqReqa7Sn_T%2BuC%2BMnCf0WdEM5kNO02ZRYS%2BUfJw%40mail.gmail.com.
IMG_20220723_220730254_HDR.jpg

Thomas Lockhart

unread,
Jul 23, 2022, 7:33:41 PM7/23/22
to django...@googlegroups.com
You can implement a robust search using something like elastic search or whatever seems to be the best choice currently (haven’t done one in a few years).

Hth

- Tom

Mahendra

unread,
Jul 24, 2022, 1:43:50 AM7/24/22
to django...@googlegroups.com
I am not using models using only URLs is any ways to go like using Ajax or JavaScript language please suggest me?

Lakshyaraj Dash

unread,
Jul 24, 2022, 1:57:06 AM7/24/22
to django...@googlegroups.com
Go for a search on geeksforgeeks like 
How to get url parameters in javascript ?

Ryan Nowakowski

unread,
Jul 24, 2022, 5:21:04 AM7/24/22
to django...@googlegroups.com
You mentioned you're not using models. Where are you storing the data you want to search?
Reply all
Reply to author
Forward
0 new messages