How to remove a field that was added by mistake from a form in Django

I have 3 password fields. The first one (password) is useless, it doesn't do anything literally. password1 and password2 are the real fields that are working.problem

I was trying to change password and password2 ---> password and confirm password. But it didn't work, so I returned it back to password and password2, but it did this and I can't remove the extra password field that appeared there.

I deleted the sql file and the migrations file and make migrations from the beginning and it didn't work.code

Вернуться на верх