added create_admin script

This commit is contained in:
bom 2022-01-21 14:03:25 +01:00
parent c2e75c24e9
commit 06418086b7

3
create_admin.sh Executable file
View file

@ -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')"