[Windows Platform] :
c:\: python manage.py shell
your acccount=admin
password=new_password
from django.contrib.auth.models import User user = User.objects.get(username='admin') user.set_password('new_password') user.save()
沒有留言:
張貼留言