We can change the password using admin or superuser. Assuming you have super useralready created. Please add following urls in your url.py
from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path('', include ('main.urls')),
In your browser go to url your site.com/admin.
Add your superuser name and password.
Then click on users.
Click the username for which you want to change the password for. Rest is self explanatory.