[Answered ]-Filtering on Django Queryset

2👍

If I understand you right you can use a lookup expression. Your query will look like:

queryset = models.Entry.objects.filter(category__slug="glamis")

More on querying many to one relations

👤pythad

Leave a comment