added create_admin script
This commit is contained in:
parent
c2e75c24e9
commit
06418086b7
1 changed files with 3 additions and 0 deletions
3
create_admin.sh
Executable file
3
create_admin.sh
Executable 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')"
|
Loading…
Reference in a new issue