Initial commit
This commit is contained in:
13
scripts.py
Normal file
13
scripts.py
Normal file
@ -0,0 +1,13 @@
|
||||
import subprocess
|
||||
|
||||
def server():
|
||||
cmd =['python', 'manage.py', 'runserver_plus']
|
||||
subprocess.run(cmd)
|
||||
|
||||
def migrate():
|
||||
cmd =['python', 'manage.py', 'migrate']
|
||||
subprocess.run(cmd)
|
||||
|
||||
def shell():
|
||||
cmd =['python', 'manage.py', 'shell_plus']
|
||||
subprocess.run(cmd)
|
||||
Reference in New Issue
Block a user