5

Possible Duplicate:
how to reset django admin password?

I have worked for Django project in local server. The current updates need to fix on web server . But couldnt match the admin credentials . So how can reset the admin password...

Community
  • 1
  • 1
Abin Abraham
  • 497
  • 2
  • 11
  • 26

2 Answers2

10

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

arie
  • 18,737
  • 5
  • 70
  • 76
7

Run this in the project on the server to create a new super user

python manage.py createsuperuser
Johanna Larsson
  • 10,531
  • 6
  • 39
  • 50