Python Django Tutorial #14: Django Basic Search and Search Bar | Django blog project

Published: 22 February 2020
on channel: Red Eyed Coder Club
5,992
144

This Python Django Tutorial is about creating a Django Search Bar, and how to do basic search with Django. It's the 14th video of my Python Django tutorial.

In this Django Tutorial I'll show how to implement basic search in Django, and how to create a Django search form.
The search bar of the Django blog is placed in the navigation bar. A user inputs something in this Django search bar, and as search results he gets the blog posts, that contain the search keyword in the title and in the body of posts.

This basic Django search can be achieved by using the special Q class.

Shortly: This Django search bar tutorial is about implementation of a basic Django search with the Q class, and how to add a search bar in a template.


Follow me @:
Telegram: https://t.me/red_eyed_coder_club
Twitter:   / codereyed  
Facebook: https://fb.me/redeyedcoderclub


============ SOURCE CODE ================
📎️ The SOURCE CODE is available via Patreon:
  / django-3-blog-34240101  
======================================


➥ Please ➥ Like ➥ Comment ➥ Subscribe


✴️✴️✴️ Web Scraping course ✴️✴️✴️
is available via Patreon here:
  / red_eyed_coder_club  

or its landing:
https://red-eyed-coder-club.github.io...


▶️ This Django blog tutorial. List of videos:

#0. Demo
   • Python Django Tutorial #0: Demo of Dj...  

#1. Django Project Structure
   • Python Django Tutorial #1: Django str...  

#2. Routing and Handling requests
   • Python Django Tutorial #2: Django rou...  

#3. Template Inheritance
   • Python Django Tutorial #3: Django Tem...  

#4. Models. Blog Posts
   • Python Django Tutorial #4: Django Mod...  

#5. Tag Model and ManyToMany Relationships
   • Python Django Tutorial #5: Django Man...  

#6. Class Based Views and using Mixins
   • Python Django Tutorial #6: Django Cla...  

#7. Django Forms. Creating Tags.
   • Python Django Tutorial #8: Django Mod...  

#8. Forms. Creating Posts
   • Python Django Tutorial #8: Django Mod...  

#9. Updating via Forms
   • Python Django Tutorial #9: Django Upd...  

#10. Deleting via Forms
   • Python Django Tutorial #10: Django De...  

#11. Using custom CSS
   • Python Django Tutorial #11: Django st...  

#12. Restricting access
   • Python Django Tutorial #12: Django pe...  

#13. Django Pagination
   • Python Django Tutorial #13: Django Pa...  

#14. Basic Django Search, implementing Django search bar using the Q class
   • Python Django Tutorial #14: Django Ba...  


✴️✴️✴️ PLAYLISTS ✴️✴️✴️

🔹Django Tutorial: Blog Engine
   • Python Django Tutorial #0: Demo of Dj...  

🔹Kivy Tutorial: Coppa Project
   • Python Kivy tutorial #0: Demo Project...  

🔹Telegram Bot with Python (CoinMarketCap)
   • Python Telegram Bot Tutorial: Demo an...  

🔹Python Web Scraping
   • Python Ebay Scraping Tutorial: Web sc...  



➥➥➥ SUBSCRIBE FOR MORE VIDEOS ➥➥➥
Red Eyed Coder Club is the best place to learn Python programming and Django:
Subscribe ⇢    / @redeyedcoderclub  

Python Django 3 Tutorial #14: Django Search Bar, Django Search Tutorial | Django 3 Crash Course
   • Python Django Tutorial #14: Django Ba...  


#django #djangosearch #djangosearchbar #django3tutorial #djangotutorial #pythondjango #pythondjangotutorial #djangoblog #djangoproject #redeyedcoderclub