how to edit the admin password field in django code example
Example 1: change admin password djano
python manage.py changepassword <user_name>
Example 2: django change user password
python manage.py shell
from django.contrib.auth.models import User
usr = User.objects.get(username='your username')
usr.set_password('raw password')
usr.save()