Create A Search Bar - Django Wednesdays #9

in #diy5 years ago

In this video we'll make the Navbar Search Function actually look up Venues for our Django App.

Our navbar has a search box, but up until now it hasn't worked. In this video we'll build out the search functionality so that users can search venues by name using words contained in the name.

We'll search the using the query Venue.objects.filter(name__containts=searched)

✅ Watch The Entire Django Wednesdays Playlist
https://bit.ly/35Xo9jD

▶️ Get The Code:
http://bit.ly/3sJpeV6

✅ Subscribe To My YouTube Channel:
http://bit.ly/2IGzvOR

▶️ See More At:
https://Codemy.com

✅ Join My Facebook Group:
http://bit.ly/2GFmOBz

▶️ Learn to Code at https://Codemy.com
Take $22 off with coupon code: youtube

✅ Buy a Codemy T-Shirt!
http://bit.ly/2VC9WUN