The output I\'m getting for my little example app is the following:
Welcome to the Calculator! Please choose what you\'d like to do: 0: Addition 1: Subtracti
Don't use str() method directly in html instead use with y=x|string()
{% for x in range(photo_upload_count) %} {% with y=x|string() %} {% if data['profile_photo']!= None: %} {% else: %} {% endif %} {% endwith %} {% endfor %}