﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
24704	Development server does not restart on SynaxError in models.py	Artem Rizhov	Aymeric Augustin	"Django documentation states:

> '''each time you change Python code''' while the server is running, the server will check your entire Django project for errors (see the check command). If any errors are found, they will be printed to standard output, '''but it won’t stop the server'''.
https://docs.djangoproject.com/en/1.7/ref/django-admin/#runserver-port-or-address-port

However in my case the server process finishes with exit code 1 when syntax error appears in admin.py or models.py. Below is the error message that I see in my console.

{{{
  File ""/home/.../src/core/admin.py"", line 16
    foo =
        ^
SyntaxError: invalid syntax
}}}

So it seems there is either a bug or a mistake in the documentation.

Django 1.7.5
Python 2.7.6
virtualenv 1.11.4
Ubuntu 14.04.2 LTS"	Bug	closed	Core (Management commands)	1.7	Normal	fixed		artem.rizhov@…	Ready for checkin	1	0	0	0	0	0
