c4k-shynet/create_admin.sh
2022-01-21 14:03:25 +01:00

3 lines
156 B
Bash
Executable file

#!/bin/bash
python3 mysite/manage.py shell -c "from django.contrib.auth.models import User; User.objects.create_superuser('admin', 'a@a.com', 'test1234')"