c4k-shynet/create_admin.sh

4 lines
156 B
Bash
Raw Normal View History

2022-01-21 13:03:25 +00:00
#!/bin/bash
python3 mysite/manage.py shell -c "from django.contrib.auth.models import User; User.objects.create_superuser('admin', 'a@a.com', 'test1234')"