[Answered ]-Django: inclusion_tag with multiple arguments

2👍

You are not using single quotes for all the keys in your dictionary, so python is using the values of the variables for the names of the keys instead.

Change it to:

return {
    'r': review, 
    'coverPosition': coverPosition, 
    'scoreMode': scoreMode, 
    'showLargeHeadings': showLargeHeadings, 
    'wordsToShow': wordsToShow 
}    

Leave a comment