| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-11-20 | [2.1.x] Fixed #29849 -- Fixed keep-alive support in runserver. | Florian Apolloner | |
| Ticket #25619 changed the default protocol to HTTP/1.1 but did not properly implement keep-alive. As a "fix" keep-alive was disabled in ticket #28440 to prevent clients from hanging (they expect the server to send more data if the connection is not closed and there is no content length set). The combination of those two fixes resulted in yet another problem: HTTP/1.1 by default allows a client to assume that keep-alive is supported unless the server disables it via 'Connection: close' -- see RFC2616 8.1.2.1 for details on persistent connection negotiation. Now if the client receives a response from Django without 'Connection: close' and immediately sends a new request (on the same tcp connection) before our server closes the tcp connection, it will error out at some point because the connection does get closed a few milli seconds later. This patch fixes the mentioned issues by always sending 'Connection: close' if we cannot determine a content length. The code is inefficient in the sense that it does not allow for persistent connections when chunked responses are used, but that should not really cause any problems (Django does not generate those) and it only affects the development server anyways. Refs #25619, #28440. Regression in ac756f16c5bbbe544ad82a8f3ab2eac6cccdb62e. Backport of 934acf1126995f6e6ccba5947ec8f7561633c27f from master. | |||
| 2018-11-09 | [2.1.x] Fixed signing.dumps() example for Python 3. | minusf | |
| Backport of 545dae24fd01a9165d869a13aad04f5b88d626c1 from master | |||
| 2018-10-31 | [2.1.x] Fixed #29890 -- Fixed FileSystemStorage crash if concurrent saves ↵ | Tim Graham | |
| try to create the same directory. Regression in 632c4ffd9cb1da273303bcd8005fff216506c795. Backport of 98ef3829e96ebc73d4d446f92465e671ff520d2b from master. | |||
| 2018-10-19 | [2.1.x] Fixed #29774 -- Fixed django-admin shell hang on startup. | Adam Allred | |
| sys.stdin.read() blocks waiting for EOF in shell.py which will likely never come if the user provides input on stdin via the keyboard before the shell starts. Added check for a tty to skip reading stdin if it's not present. This still allows piping of code into the shell (which should have no TTY and should have an EOF) but also doesn't cause it to hang if multi-line input is provided. Backport of 4e78e389b16fbceb23d5236ee1650b213e71c968 from master. | |||
| 2018-10-09 | [2.1.x] Refs #29784 -- Switched to https:// links where available. | Jon Dufresne | |
| Backport of 82f286cf6f198d37850d3c5df637b5665566a66b from master. | |||
| 2018-10-09 | [2.1.x] Capitalized "Python" in docs and comments. | Jon Dufresne | |
| Backport of e90af8bad44341cf8ebd469dac57b61a95667c1d from master. | |||
| 2018-08-01 | [2.1.x] Fixed typos in comments and docs. | luz.paz | |
| Backport of 97e637a87fb45c4de970cca6cb783d93473c9d15 from master | |||
| 2018-07-23 | [2.1.x] Fixed #29514 -- Reverted "Used datetime.timezone.utc instead of ↵ | Tim Graham | |
| pytz.utc for better performance." This reverts commit 27ca5ce19f5f184018a61611c1bc319113b1d107 due to a regression. Backport of 2ec151e35da93047acfeea1b79c27010f2cb8594 from master | |||
| 2018-07-18 | [2.1.x] Removed duplicate words in various comments. | Mariusz Felisiak | |
| Backport of a73cf8110e6cccbf46bf77fd4ddce2df99df53ca from master | |||
| 2018-06-16 | [2.1.x] Fixed #29469 -- Added a helpful makemigrations error if app_label ↵ | oliver | |
| contains dots. Backport of 78972af367a1da54aa7e539e4b1ffa2b56571e77 from master | |||
| 2018-06-12 | [2.1.x] Fixed #29452 -- Fixed makemessages setting charset of .pot files. | Bartosz Grabski | |
| Backport of 2bc014750adb093131f77e4c20bc17ba64b75cac from master | |||
| 2018-06-06 | [2.1.x] Fixed #29301 -- Added custom help formatter to BaseCommand class | Claude Paroz | |
| This partially reverts c3055242c81812278ebdc93dd109f30d2cbd1610. Thanks Adam Johnson and Carlton Gibson for the reviews. Backport of ce3351b9508896afdf87d11bd64fd6b5ad928228 from master. | |||
| 2018-05-27 | [2.1.x] Removed obsolete BaseHandler attributes. | Daniel Hepper | |
| Unused since d334f46b7a080fd3eb720141c19b37b10704a352. Backport of 4e016d137236d36d47462f63e8f7988f1ad6c12e from master | |||
| 2018-05-14 | Fixed #29392 -- Disallowed use of abbreviated forms of --settings and ↵ | Ryan P Kilby | |
| --pythonpath management command options. | |||
| 2018-05-13 | Fixed #17379 -- Removed management commands deactivation of the locale. | Claude Paroz | |
| 2018-05-09 | Fixed #29389 -- Made Paginator reject non-integer page numbers of type float. | Nicolas Noé | |
| 2018-05-04 | Fixed #26688 -- Fixed HTTP request logging inconsistencies. | Samir Shah | |
| * Added logging of 500 responses for instantiated responses. * Added logging of all 4xx and 5xx responses. | |||
| 2018-04-27 | Fixed #27480 -- Added cache.touch(). | Nicolas Noé | |
| 2018-04-21 | Fixed #29295 -- Fixed management command crash when using subparsers. | Hasan Ramezani | |
| Thanks Tim Graham for the fix. | |||
| 2018-04-19 | Ref #23919 -- Replaced some os.path usage with pathlib.Path. | Tom | |
| 2018-04-11 | Fixed #29301 -- Made management command --help display command-specific ↵ | David Foster | |
| arguments before common arguments. | |||
| 2018-04-02 | Removed unused regexes in django.core.management.templates. | desigrammer | |
| Unused since their introduction in a9a0f0b03f9a02deb03617bf7e9773a307d1328f. | |||
| 2018-03-21 | Fixed #27533 -- Fixed inspectdb crash if a unique constraint uses an ↵ | Michael Sinov | |
| unsupported type. | |||
| 2018-03-21 | Fixed too many parentheses in inspectdb Meta.unique_together output. | Tim Graham | |
| Regression in c76d87427d70f6c91ab855ed688828aa982720d2. | |||
| 2018-03-21 | Refs #23919 -- Removed obsolete comments about u'' prefixes. | Tim Graham | |
| 2018-03-20 | Used datetime.timezone.utc instead of pytz.utc for better performance. | Sergey Fedoseev | |
| 2018-03-20 | Refs #29227 -- Made inspectdb generate BooleanField(null=True) rather than ↵ | Tim Graham | |
| NullBooleanField. | |||
| 2018-03-20 | Extracted deserialize fk/m2m functions from Deserializer. | Peter Inglesby | |
| In preparation for handling forward references (refs #26291). | |||
| 2018-03-16 | Fixed hanging indentation in various code. | Mariusz Felisiak | |
| 2018-03-13 | Quoted field names in cache db backend SQL. | Hajime Nakagami | |
| On Firebird, 'value' is a reserved word and must be quoted. | |||
| 2018-03-12 | Removed redundant UploadedFile.DEFAULT_CHUNK_SIZE. | Sergey Fedoseev | |
| The same value is inherited from File. | |||
| 2018-03-10 | Used cached_property for File.size. | Sergey Fedoseev | |
| 2018-03-08 | Fixed #29188 -- Fixed ContentFile.size after a write(). | Alex Stovbur | |
| 2018-03-02 | Fixed #29133 -- Fixed call_command() crash if a required option is passed in ↵ | Alex Tomic | |
| options. | |||
| 2018-02-26 | Removed unnecessary setdefault() from CheckRegistry.register(). | Mariusz Felisiak | |
| 2018-02-21 | Fixed #28398 -- Added suggestions for mistyped management commands. | Tom Forbes | |
| 2018-02-20 | Fixed #29140 -- Fixed EmailMessage crash when body is None. | Williams Mendez | |
| 2018-02-12 | Fixed #24607 -- Serialized natural keys in multi-table inheritance models. | Denys Duchier | |
| Thanks João Paulo Melo de Sampaio for the test. | |||
| 2018-02-07 | Refs #27795 -- Replaced force_bytes() usage in django.core.signing. | Asif Saifuddin Auvi | |
| 2018-02-05 | Refs #28814 -- Imported from collections.abc to fix Python 3.7 deprecation ↵ | Raymond Hettinger | |
| warnings. https://bugs.python.org/issue25988 | |||
| 2018-02-02 | Fixed imports per isort 4.3.1. | Tim Graham | |
| Partially reverted 9bcf73d788866bc93f8248cb2e9d601ecbc4b50c. | |||
| 2018-02-02 | Refs #27795 -- Replaced force_bytes() usage in django.core.cache. | Jon Dufresne | |
| 2018-02-01 | Fixed imports per isort 4.3.0. | Mariusz Felisiak | |
| 2018-01-31 | Refs #27795 -- Replaced force_text() usage in django.core.management. | Jon Dufresne | |
| Use decode() since Popen.communicate() always returns bytes. | |||
| 2018-01-31 | Removed unused os_err_exc_type kwarg from core.management.utils.popen_wrapper(). | Jon Dufresne | |
| Unused since its introduction in 7fca4416c7f7ce66d528f0d1ad829cf3b8290b89. | |||
| 2018-01-30 | Fixed #29065 -- Made django.core.validators only load Pillow if needed. | Collin Anderson | |
| 2018-01-27 | Fixed #29004 -- Added inspectdb --include-views option. | bquinn | |
| 2018-01-24 | Fixed #28977 -- Changed local-memory cache to use LRU culling. | Grant Jenks | |
| LRU culling turns every read into a kind of write to the cache: cache keys are moved to the first position in the OrderedDict when they are retrieved. The RWLock which permitted multiple readers while prioritizing a single writer is obsolete since all accesses are now writes. | |||
| 2018-01-12 | Fixed #28996 -- Simplified some boolean constructs and removed trivial ↵ | Дилян Палаузов | |
| continue statements. | |||
| 2018-01-10 | Fixed #29007 -- Fixed DecimalValidator crash on NaN, SNan, Inf, and Infinity ↵ | Fabio Bonelli | |
| values. | |||
