Database Model Queries | Django (3.0) Crash Course Tutorials (pt 7) | Video



Django database queryesets

Follow me on Twitter: https://twitter.com/dennisivy11
Linkedin: https://www.linkedin.com/in/dennis-ivanov/

Source code + Live Demo: https://dennis-sourcecode.herokuapp.com/20/
Proudly WWW.PONIREVO.COM

Source

READ ALSO:  Hacking tutorial for beginners in telugu part 3 {VIDEO}

24 Comments

  1. Thanks for your precious service to humanity. I nearly quit Django and I chanced on your videos on youtube. You have inspired new hope in me, and have increased my passion for Django. I am amazed by your selfless nature, and your willingness to share knowledge and help others.

  2. The way you structured this tutorial on django alongside the source code is amazing… Please do a tutorial on how you hosted it onto heroku… Thanks

  3. A great explanation and a superb set of tutorials. One question. Could not an order have many products as opposed to just a single one in your example?

  4. Hi dennis with regards to the query about "number of balls a customer has ordered" why have you used the double underscores whereas the relationship between a customer and an order is one to many relationship? this is the query i am referring to ballOrders = firstCustomer.order_set.filter(product__name="Ball").count()

Comments are closed.