You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just going through the book and came across this problem Page 206. Using Pycharm community and Windows 10.
It is saying the template tag {% if section == 'dashboard' %} is not allowed inside the <li> html tag. Tried to find a solution online but not very helpful especially with combination of css, html and django template language.
Have a workaround but it's a bit messy and I am trying to get through the book so wondered if there was a solution.
Have changed each of the following
Thanks but think I changed the double quotes in the original as well and still had problem. Pycharm and django gave definite error messages that stated the {% was not allowed in the html tag type.
Just going through the book and came across this problem Page 206. Using Pycharm community and Windows 10.
It is saying the template tag {% if section == 'dashboard' %} is not allowed inside the <li> html tag. Tried to find a solution online but not very helpful especially with combination of css, html and django template language.
Have a workaround but it's a bit messy and I am trying to get through the book so wondered if there was a solution.
Have changed each of the following
to
As you can see code is now a bit messy any other way this can be done?
Thanks
The text was updated successfully, but these errors were encountered: