how to create password field in django models for, code example
Example 1: django form password field
password = models.CharField(max_length=20, widget=forms.PasswordInput)
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()