mirror of
https://github.com/healthchecks/healthchecks.git
synced 2026-04-25 06:55:53 +03:00
[GH-ISSUE #186] manage.py createsuperuser --noinput password? #132
Labels
No labels
bug
bug
bug
feature
good-first-issue
new integration
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/healthchecks#132
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.comThanks
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')