Skip to content

Vuyisile Ndlovu

Musings of a backend Software Developer

  • Home
  • Articles
  • Contact Me

Tag: automate createsuperuser

Posted on 11th October 20217th October 2021 by Vuyisile

How to automate creating a Django super user

Setting up a Django super user may be a requirement in your test setup code. The commands used to create users are interactive by default and unfortunately do not allow you to pass in the user’s password as an argument or a flag on the command line. This is a security measure, but it isn’t
Continue reading How to automate creating a Django super user


© Vuyisile Ndlovu 2023
Theme: creativefocus by Mladjo.