Revision: 63781
Updated Code
at June 6, 2013 15:29 by techpop
Updated Code
$ ./manage.py shell >>> from django.contrib.auth.models import User >>> users = User.objects.all() >>> users >>> u=User.objects.get(username__exact='admin') >>> u.set_password("whatever"); >>> u.save()
Revision: 63780
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 6, 2013 15:28 by techpop
Initial Code
$ ./manage.py shell >>> from django.contrib.auth.models import User >>> users = User.objects.all() >>> users >>> u=User.objects.get(username__exact='admin') >>> u.set_password(‘whatever’); >>> u.save()
Initial URL
Initial Description
lost your django admin password? here's how to reset it.
Initial Title
reset django admin password
Initial Tags
Initial Language
Django