django1/django/core
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
..
cache Updated Memcached get_backend_timeout() comment. 2015-07-06 10:13:20 -04:00
checks Fixed #24966 -- Added deployment system check for empty ALLOWED_HOSTS. 2015-07-15 09:18:58 -04:00
files Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
handlers Fixed #24877 -- Added middleware handling of response.render() errors. 2015-07-03 12:06:40 -04:00
mail Fixed #24623 -- Fixed EmailMessage.attach_file() with text files on Python 3. 2015-07-25 07:42:30 -04:00
management Fixed #24704 -- Made the autoreloader survive SyntaxErrors. 2015-08-29 20:49:56 +02:00
serializers Fixed #22258 -- Added progress status for dumpdata when outputting to file 2015-07-24 18:37:55 +02:00
servers Fixed #25204 -- Added missing space in runserver logging. 2015-08-01 08:01:24 -04:00
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
context_processors.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
exceptions.py Fixed #9104 -- Moved FieldDoesNotExist to core.exceptions 2015-01-02 10:46:04 -05:00
paginator.py Fixed #23190 -- Made Paginator.page_range an iterator 2015-07-03 11:34:34 -04:00
signals.py Fixed #20349 -- Moved setting_changed signal to django.core.signals. 2014-12-24 07:18:43 -05:00
signing.py Fixed #22804 -- Added warning for unsafe value of 'sep' in Signer 2015-07-07 11:44:37 -04:00
urlresolvers.py Renamed RemovedInDjangoXYWarnings for new roadmap. 2015-06-24 16:08:20 -04:00
validators.py Fixed #25322 -- Lazily compiled core.validators regular expressions. 2015-08-28 13:05:41 -04:00
wsgi.py Stopped populating the app registry as a side effect. 2013-12-30 22:11:17 +01:00