Answer the question
In order to leave comments, you need to log in
Django how to pass custom parameter to filter?
I need to pass the parameter value from the variable to the filter:
parameter = 'blog__id'
Entry.objects.filter(parameter=3)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question