7👍
✅
If you have Django 1.2 installed, you can simply invoke ./manage.py changepassword <username>
.
If your version of Django is older, you could change the password in Django’s interactive shell:
>>> from django.contrib.auth.models import User
>>> u = User.objects.get(username='<username>')
>>> u.set_password('<password>')
>>> u.save()
Source:stackexchange.com