django1/django/core
Florian Apolloner 56201fe5a8 [1.6.x] Fixed "Address already in use" from liveserver.
Our WSGIServer rewrapped the socket errors from server_bind into
WSGIServerExceptions, which is used later on to provide nicer
error messages in runserver and used by the liveserver to see if
the port is already in use. But wrapping server_bind isn't enough since
it only binds to the socket, socket.listen (which is called from
server_activate) could also raise "Address already in use".

Instead of overriding server_activate too I chose to just catch socket
errors, which seems to make more sense anyways and should be more robust
against changes in wsgiref.

Backport of 2ca00faa91 from master.
2013-09-22 22:04:50 +02:00
..
cache [1.6.x] Took advantage of django.utils.six.moves.urllib.*. 2013-09-10 21:29:31 +02:00
checks [1.6.x] Fixed #20895 -- Made check management command warn if a BooleanField does not have a default value 2013-08-15 20:33:02 -04:00
files [1.6.x] Took advantage of django.utils.six.moves.urllib.*. 2013-09-10 21:29:31 +02:00
handlers [1.6.x] Fixed #20530 -- Properly decoded non-ASCII query strings on Python 3. 2013-09-07 12:06:38 -05:00
mail [1.6.x] Replaced "not PY3" by "PY2", new in six 1.4.0. 2013-09-03 07:34:45 -05:00
management [1.6.x] Fixed "Address already in use" from liveserver. 2013-09-22 22:04:50 +02:00
serializers [1.6.x] Fixed Python 3 syntax error introduced in [c72392da] 2013-09-06 20:08:56 -04:00
servers [1.6.x] Fixed "Address already in use" from liveserver. 2013-09-22 22:04:50 +02:00
__init__.py Imported Django from private SVN repository (created from r. 8825) 2005-07-13 01:25:57 +00:00
context_processors.py [py3] Made csrf context processor return Unicode 2012-08-13 11:54:21 +02:00
exceptions.py Removed several unused imports. 2013-06-19 17:18:40 +02:00
paginator.py Fixed #19938 -- Consumed iterator only once in paginator's Page 2013-05-25 16:27:26 +02:00
signals.py Major refactoring of django.dispatch with an eye towards speed. The net result is that signals are up to 90% faster. 2008-08-06 15:32:46 +00:00
signing.py [1.6.x] Fixed #20687 -- Added documentation for django.core.signing API. 2013-07-03 10:38:53 -04:00
urlresolvers.py Fixed #17076 -- When reversing a URL fails, inform the user which patterns were tried. 2013-06-14 10:26:30 +01:00
validators.py [1.6.x] Took advantage of django.utils.six.moves.urllib.*. 2013-09-10 21:29:31 +02:00
wsgi.py Fixed #16360 -- Added WSGI entrypoint to startproject layout, and enabled internal servers (runserver and runfcgi) to use an externally-defined WSGI application. Thanks to Armin Ronacher, Jannis Leidel, Alex Gaynor, ptone, and Jacob Kaplan-Moss. 2011-10-22 04:30:10 +00:00