0

I am using Django 1.4.5 and accidentally deleted the superuser. How can I recreate the superuser account for an existing project? I found tutorials that show to do it when initially setting up a project but can't figure out how to create a superuser for an existing project.

I did try django-admin.py createsuperuser in the terminal without any luck

I apprecite the time and feedback.

bbrooke
  • 2,267
  • 10
  • 33
  • 41

1 Answers1

6

You can invoke this command through manage.py

./manage.py createsuperuser 
Vladislav Mitov
  • 1,930
  • 16
  • 18