UpdateView를 이용한 비밀번호 변경 구현

{% if target_user == user %}
<a href="% url 'accountapp:update' pk=user.pk %}">
<p>
Change Info
</p>
</a>
{% endif %}
페이지 주인이 개인 본인 개인정보를 수정할 수 있는 페이지 링크
class AccountUpdateForm(UserCreationForm):
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.fields['username'].disabled = True
나중에 AccountUpdateForm을 상속받아서 커스터마이징 할 예정