After the following change 37d7308f2b890adaaab8226de38e20dc51c448e1
The following error arises when,
An example : {% if username != 'Guest' and username != False and username != None %} is changed
to {% if username != 'Guest' and username is not false and username is not none %}
The change with none statement doesn't arises any problem, the issue is with the false statement