How do create superuser avoiding interactive way?

Technical aspects, customization, code samples.
Post Reply
noddy09
Posts: 2
Joined: Sat Mar 28, 2020 5:50 am

How do create superuser avoiding interactive way?

Post by noddy09 »

I'm trying to create command line GUI program for easy deployment of Mayan EDMS, non-tech savvy person should able to deploy any Django project without knowing any OS commands and practical programming knowledge.
Right now I'm taking database related configuration details from user, similary I want to create superuser for Mayan EDMS and username - password should be user provided. To implement this, I want to createsuperuser in non-interactive way. Need help to implement this. :|

Post Reply