TemplateSyntaxError Could not parse the remainder
I have this bit of jinja2 in my Django template:
How to translate content with variables in Django Template?
I just took over an old project using Django 1.8 + Python 2.7. I need to refactor a feature where I have to retrieve different information based on different host information and display it on the page. Additionally, I need to internationalize this displayed information.
views takes the values from template before making the post method
I’m creating a odd one out game. Basically user are presented with four pics , one being the odd one when user selects the odd picture score gets increased by 1. The problem I’m having is I’m sending 4 pics with one odd picture to the template . the template picks the same ids of 3 pictures but the id of odd picture is random (i want odd picture’s id to be same as odd picture id).