type password in models django code example
Example 1: django form password field
password = models.CharField(max_length=20, widget=forms.PasswordInput)
Example 2: django password field
pip install django-passwords
password = models.CharField(max_length=20, widget=forms.PasswordInput)
pip install django-passwords