{% extends 'base.html' %} {% block content %} Update Your Account Settings {% csrf_token %} {% for field in form %} {% if field.name == 'photo' %} {{field.label_tag}} Upload {% else %} {{field.label_tag}} {{field}} {%endif%} {% endfor %} {% endblock %}