Issue when running manage.py runserver (Django)

I was about to run my colleague's Django project. She runs it in Apple Mac and I am about to run it in my Windows.

In this scenario, I was running python manage.py runserver in my virtual environment as shown here. After that, it prompts a window indicating how to open the file like this instead of running the server. If the command is run correctly, it will show runs this.

I am not sure what I am doing here. Is it because of the project was created in Mac?

I did create a new virtual environment on my Windows, though everything is okay.

Any help would be highly appreciated. Thank you.

you see the standard message, like if you Start the new project.

The reason can be:

  1. You are don't have any settings for database. Django try to create sqllite DB by default.
  2. You have database. Connection exists. But DB is empty.
  3. You have database. But something works wrong.

To avoid it - try python manage.py migrate. You can see this command in warning too (RUN MANAGE.PY MIGRATE TO APPLY THEM)

Back to Top