question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Django server doesn't start

See original GitHub issue

After creating the Django Project python manage.py runserver starts the server, but no output on command line appears (except GET commands). After creating an app and running the server it doesn’t produces any output. Also, the server isn’t started.

  • OS : Windows 10

  • Python : 2.7 and 3.6

  • Django: 1.11.3

  • Console Output: Performing system checks… Wait time (around 30 minutes)

  • Broswer Output: Firefox can’t establish a connection to the server at localhost:8000.

Expected Behavior:

Performing system checks...

System check identified no issues (0 silenced).

You have unapplied migrations; your app may not work properly until they are applied.
Run 'python manage.py migrate' to apply them.

November 16, 2017 - 15:50:53
Django version 1.11, using settings 'mysite.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

and server starts working

Current Behavior:

Performing system checks...

and server doesn’t starts.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5

github_iconTop GitHub Comments

5reactions
emcniececommented, Apr 30, 2018

@fakabbir did you ever find a fix?

2reactions
tiago-perescommented, Oct 8, 2020

One solution is to upgrade Django

pip install django --upgrade

Oftentimes one will get other unrelated issues to solve that are linked with the upgrade but once all all fixed the server should run just fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Django server won't run even if django is installed in ...
I cannot configure Django and Miniconda on my Mac. I receive this error every time when I run python manage.py runserver :.
Read more >
Django Server Is Not Starting - DEV Community ‍ ‍
Hello All, I am facing a problem. My Django server is not running. www.127.0.0.1 error occurs with message site can't be reached.
Read more >
This site can't be reached - Django Forum
Hi guys, need some help. I've installed Ubuntu 18.04 on a GCP VM. Installed Django and the 'mysite app' from Django.
Read more >
Django server isn't starting when running trough docker ...
I'm starting my Django server with Docker-compose and the runserver command, but for some reason it's never starting.
Read more >
Django manage.py runserver is not working - Intellipaat
Quit the server with CTRL-BREAK. ... Firefox can't establish a connection to the server at 127.0.0.1:8000. The site could be temporarily ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found