0

Generally a django server is started using python manage.py runserver in the terminal. I want to run the server by running a python script. How to do so?

1
  • that is unrelated to the question Commented Jun 21, 2019 at 6:19

1 Answer 1

3

You could just have the Python script execute the command with os.system:

os.system('python manage.py runserver')
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.