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