- Here the superuser is created automatically using the command mentioned in compose file.
- The django app is used to manage the custom command in django projects. So created an app with the name
app
and used the custom command to create a super user. - One can change the credentials for the super user based on the requirements of their own.