'str' object has no attribute 'get' error; in Django template when using dictionary

前端 未结 0 1487
面向向阳花
面向向阳花 2020-11-29 06:45

I am trying to retrieve some values from a dictionary in my template, so I defined the following template tag

@register.filter(\'get_value_from_dict\')
def ge         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题