You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gleb Kuznetsov edited this page Jun 20, 2016
·
1 revision
While Millstone currently doesn't have a way of sending an email for password recovery, an admin can login through the Django shell to reset the password.
From millstone/genome_designer/:
$ ./manage.py shell
Once in the shell:
In [1]: from django.contrib.auth.models import User
In [2]: User.objects.all()
Out[2]: [<User: gmcdev>]
In [3]: u = User.objects.all()[0]
In [4]: u.set_password('newpassword')
In [5]: u.save()