Confirm deletion of the database; Remove winpty usage
Windows users will have to run createsuperuser on their own
This commit is contained in:
1 parent
3f621942ea
commit
9dbe572d1b
1 file changed
+2
-2
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
rm db.sqlite3
|
rm -i db.sqlite3
|
||||||
rm -r OpenBench/migrations/*
|
rm -r OpenBench/migrations/*
|
||||||
rm -r OpenBench/__pycache__/*
|
rm -r OpenBench/__pycache__/*
|
||||||
rm -r OpenSite/__pycache__/*
|
rm -r OpenSite/__pycache__/*
|
||||||
@@ -9,4 +9,4 @@ python3 manage.py makemigrations
|
|||||||
python3 manage.py migrate
|
python3 manage.py migrate
|
||||||
python3 manage.py migrate --run-syncdb
|
python3 manage.py migrate --run-syncdb
|
||||||
|
|
||||||
winpty python3 manage.py createsuperuser
|
python3 manage.py createsuperuser
|
||||||
Reference in new issue
Block a user