Python Forum
Could not parse the remainder: '=' from '='
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Could not parse the remainder: '=' from '='
#1
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.
Reply


Messages In This Thread
Could not parse the remainder: '=' from '=' - by Saurabh - Feb-20-2019, 10:13 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Converting a remainder to int to str tester_V 6 2,775 Oct-28-2020, 06:14 PM
Last Post: tester_V
  remainder operator % noweare 3 2,857 Feb-14-2019, 01:50 AM
Last Post: noweare

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020