From 06418086b78ccb7098dc8891e4d624e342bde5cc Mon Sep 17 00:00:00 2001 From: bom Date: Fri, 21 Jan 2022 14:03:25 +0100 Subject: [PATCH] added create_admin script --- create_admin.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 create_admin.sh diff --git a/create_admin.sh b/create_admin.sh new file mode 100755 index 0000000..7b811f7 --- /dev/null +++ b/create_admin.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +python3 mysite/manage.py shell -c "from django.contrib.auth.models import User; User.objects.create_superuser('admin', 'a@a.com', 'test1234')"