1

I am trying to follow the django tutorial. I am running on windows+eclipse. When I run python manage.py runserver I get the message Validating models... and afterwards see no progress...

Am I doing something wrong?

olamundo
  • 23,991
  • 34
  • 108
  • 149

4 Answers4

4

I've got my answer in another question: can't get django to work in eclipse + windows

When I ran the server with the --noreload option, I saw that there's an exception thrown. After I fixed that, the output does complete, and says:

Validating models...
0 errors found

Django version 1.2.1, using settings 'XXX'
Development server is running at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Community
  • 1
  • 1
olamundo
  • 23,991
  • 34
  • 108
  • 149
0

The shell is running the runserver process, and it won't go back to a command prompt until the server process ends. So, this sounds normal.

Is the server functioning?

JAL
  • 21,295
  • 1
  • 48
  • 66
0

You could possibly be importing something in your models.py file that is failing in another file. I had an import in a try/catch clause that caused this behavior. Installing the missing dependency fixed the problem.

Alan Viars
  • 3,112
  • 31
  • 14
-1

This is what you're supposed to see. If you make a request to your test site (via your browser), you will see the log of the request. If you don't see that, then something else is wrong.

Andrew Sledge
  • 10,163
  • 2
  • 29
  • 30
  • Sorry, this is incorrect - I've now got it working and it does in fact print something afterwards. this is the complete output: Validating models... 0 errors found Django version 1.2.1, using settings 'XXX' Development server is running at http://127.0.0.1:8000/ Quit the server with CTRL-BREAK. – olamundo Nov 13 '10 at 17:11