Django logo
Django logo (Photo credit: Wikipedia)

Have you ever wondered what to do if you accidently delete the admin user in a django project? That’s a nasty problem in appearance, but not too serious in practice: Django provides a command line utility to solve that kind of problems:

manage.py createsuperuser --username=joe --email=joe@example.com


Leave a Reply

Your email address will not be published. Required fields are marked *