[Django]-Best Practice to get related values in django without DoesNotExist error

10👍

You can also avoid the error by using Post.objects.filter(blog__author='John')

Leave a comment