How to Reset Administrator Password in Django

Possible duplicate:
how to reset django admin password?

I was working on a Django project on a local server. Current updates need to be fixed on the web server. But can not match the credentials of the administrator. So how to reset the admin password ...

+8
django django-admin
source share
2 answers

Assuming you know the superuser name: django-admin.py changepassword

+9
source share

Run this in a project on the server to create a new superuser

 python manage.py createsuperuser 
+6
source share

All Articles