In section 18 - Working with Expression Wrappers, I feel like there is something missing with the given exercises. For clarity, I am using postgres as my database.
On the last problem, “Top 5 best-selling products and their total sales”, the query returns a bunch of None values. This is something that we would want to filter out, so wouldn’t we want to add something like a .exclude(total_sales__isnull=True) before the order_by and slicing?
Please let me know if this is a difference due to me using a postgres database.
Thanks