django1/django/core/management
Aymeric Augustin fe6ddb837d Fixed #24704 -- Made the autoreloader survive SyntaxErrors.
With this change, it's expected to survive anything except errors
that make it impossible to import the settings. It's too complex
to fallback to a sensible behavior with a broken settings module.

Harcoding things about runserver in ManagementUtility.execute is
atrocious but it's the only way out of the chicken'n'egg problem:
the current implementation of the autoreloader primarily watches
imported Python modules -- and then a few other things that were
bolted on top of this design -- but we want it to kick in even if
the project contains import-time errors and django.setup() fails.

At some point we should throw away this code and replace it by an
off-the-shelf autoreloader that watches the working directory and
re-runs `django-admin runserver` whenever something changes.
2015-08-29 20:49:56 +02:00
..
commands Fixed #24704 -- Made the autoreloader survive SyntaxErrors. 2015-08-29 20:49:56 +02:00
__init__.py Fixed #24704 -- Made the autoreloader survive SyntaxErrors. 2015-08-29 20:49:56 +02:00
base.py Fixed #25318 -- Made SILENCED_SYSTEM_CHECKS suppress all messages. 2015-08-28 13:34:56 -04:00
color.py Fixed #25155 -- Removed an inner class in core.management.color for PyPy performance. 2015-07-21 13:07:45 -04:00
sql.py Removed support for syncing apps without migrations per deprecation timeline. 2015-01-18 15:58:06 -05:00
templates.py Fixed #24971 -- Made startapp generate an apps.py 2015-06-16 07:08:04 -04:00
utils.py Fixed #23271 -- Fixed makemessages crash/test failure for some locales. 2015-05-01 10:27:28 -04:00