[GH-ISSUE #186] manage.py createsuperuser --noinput password? #132

Closed
opened 2026-02-25 23:41:17 +03:00 by kerem · 0 comments
Owner

Originally created by @lukasmrtvy on GitHub (Sep 15, 2018).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/186

What password is set when I create a user in non interactive form?
For example:
./manage.py createsuperuser --noinput --username root --email root@example.com

Thanks

EDIT:
It is created without password..
Workaround:
./manage.py shell -c "from django.contrib.auth.models import User; User.objects.create_superuser('admin', 'admin@example.com', 'adminpass')

Originally created by @lukasmrtvy on GitHub (Sep 15, 2018). Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/186 What password is set when I create a user in non interactive form? For example: `./manage.py createsuperuser --noinput --username root --email root@example.com` Thanks EDIT: It is created without password.. Workaround: `./manage.py shell -c "from django.contrib.auth.models import User; User.objects.create_superuser('admin', 'admin@example.com', 'adminpass')`
kerem closed this issue 2026-02-25 23:41:17 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/healthchecks#132
No description provided.