django admin dont show user password code example
Example 1: django change password command line
python manage.py changepassword <user_name>
Example 2: djanog shell change password
from django.contrib.auth.models import User
usr = User.objects.get(username='your username')
usr.is_superuser=True
usr.is_staff=True
usr.set_password('raw password')
usr.save()
Example 3: forgot django admin password
python manage.py changepassword <user_name>