I am upgrading from python 2 to 3 .
{% if category = 'media-articles' %}
Could not parse the remainder: '=' from '='
This strange issue has come up anew.
Please note that this code was working fine with python2.7
I have tried all the said solutions of extra space around the operator.
Kindly help me solve this issue and if required apply a fix in python3 as well.
This issue is found in python3.5 and python3.6 environments.
{% if category = 'media-articles' %}
Could not parse the remainder: '=' from '='
This strange issue has come up anew.
Please note that this code was working fine with python2.7
I have tried all the said solutions of extra space around the operator.
Kindly help me solve this issue and if required apply a fix in python3 as well.
This issue is found in python3.5 and python3.6 environments.