Alex Rivera | Logout

PyDev and Django: how to restart dev server?

Asked 2010-04-30T17:41:39.417
17

I'm new to Django. I think I'm making a simple mistake.

I launched the dev server with Pydev:

RClick on project >> Django >> Custom command >> runserver

The server came up, and everything was great. But now I'm trying to stop it, and can't figure out how. I stopped the process in the PyDev console, and closed Eclipse, but web pages are still being served from http://127.0.0.1:8000.

I launched and quit the server from the command line normally:

python manage.py runserver

But the server is still up. What am I doing wrong here?

Edit
Report

1 Answer

2

Solution: create an interpreter error in some project file. This will cause the server to crash. Server can then be restarted as normal.

answered 2010-04-30T18:04:46.190

Your Answer