diff options
| author | Robert Rollins <rrollins@caltech.edu> | 2017-05-22 10:16:56 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-05-30 18:06:58 -0400 |
| commit | 877d7b71ae952b3bc946e5187d6c23039a71614d (patch) | |
| tree | 4c2d3ee3daf0b9e0cb66c6ffc9e4ac8969047e2a /docs | |
| parent | ceb6a64f2f5d8e4a5309d9558f89a6d1f0b6308d (diff) | |
[1.11.x] Fixed #28212 -- Allowed customizing the port that LiveServerTestCase uses.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.11.2.txt | 9 | ||||
| -rw-r--r-- | docs/releases/1.11.txt | 5 | ||||
| -rw-r--r-- | docs/spelling_wordlist | 1 |
3 files changed, 14 insertions, 1 deletions
diff --git a/docs/releases/1.11.2.txt b/docs/releases/1.11.2.txt index ab7d04959f..a01ecc3342 100644 --- a/docs/releases/1.11.2.txt +++ b/docs/releases/1.11.2.txt @@ -4,7 +4,14 @@ Django 1.11.2 release notes *Under development* -Django 1.11.2 fixes several bugs in 1.11.1. +Django 1.11.2 adds a minor feature and fixes several bugs in 1.11.1. + +Minor feature +============= + +The new ``LiveServerTestCase.port`` attribute reallows the use case of binding +to a specific port following the :ref:`bind to port zero +<liveservertestcase-port-zero-change>` change in Django 1.11. Bugfixes ======== diff --git a/docs/releases/1.11.txt b/docs/releases/1.11.txt index e43d53fdf8..05c925259f 100644 --- a/docs/releases/1.11.txt +++ b/docs/releases/1.11.txt @@ -533,6 +533,8 @@ to support it. Also, the minimum supported version of psycopg2 is increased from 2.4.5 to 2.5.4. +.. _liveservertestcase-port-zero-change: + ``LiveServerTestCase`` binds to port zero ----------------------------------------- @@ -542,6 +544,9 @@ to assign a free port. The ``DJANGO_LIVE_TEST_SERVER_ADDRESS`` environment variable is no longer used, and as it's also no longer used, the ``manage.py test --liveserver`` option is removed. +If you need to bind ``LiveServerTestCase`` to a specific port, use the ``port`` +attribute added in Django 1.11.2. + Protection against insecure redirects in :mod:`django.contrib.auth` and ``i18n`` views -------------------------------------------------------------------------------------- diff --git a/docs/spelling_wordlist b/docs/spelling_wordlist index 2cc51435ff..f23091f4fb 100644 --- a/docs/spelling_wordlist +++ b/docs/spelling_wordlist @@ -644,6 +644,7 @@ rc readded reallow reallowed +reallows rebase rebased rebasing |
