| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-08-04 | [3.1.x] Fixed #31842 -- Added DEFAULT_HASHING_ALGORITHM transitional setting. | Mariusz Felisiak | |
| It's a transitional setting helpful in migrating multiple instance of the same project to Django 3.1+. Thanks Markus Holtermann for the report and review, Florian Apolloner for the implementation idea and review, and Carlton Gibson for the review. Backport of d907371ef99a1e4ca6bc1660f57d81f265750984 from master. | |||
| 2020-07-20 | [3.1.x] Fixed #31784 -- Fixed crash when sending emails on Python 3.6.11+, ↵ | Florian Apolloner | |
| 3.7.8+, and 3.8.4+. Fixed sending emails crash on email addresses with display names longer then 75 chars on Python 3.6.11+, 3.7.8+, and 3.8.4+. Wrapped display names were passed to email.headerregistry.Address() what caused raising an exception because address parts cannot contain CR or LF. See https://bugs.python.org/issue39073 Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> Backport of 96a3ea39ef0790dbc413dde0a3e19f6a769356a2 from master | |||
| 2020-06-22 | [3.1.x] Fixed #31728 -- Fixed cache culling when no key is found for deletion. | Guillermo Bonvehí | |
| DatabaseCache._cull implementation could fail if no key was found to perform a deletion in the table. This prevented the new cache key/value from being correctly added. Backport of f386454d1302b66d0eb331ed0ae9e4811e2f3a15 from master | |||
| 2020-06-05 | [3.1.x] Fixed #31654 -- Fixed cache key validation messages. | Mariusz Felisiak | |
| Backport of 926148ef019abcac3a9988c78734d9336d69f24e from master | |||
| 2020-06-03 | [3.1.x] Fixed CVE-2020-13254 -- Enforced cache key validation in memcached ↵ | Dan Palmer | |
| backends. | |||
| 2020-05-28 | [3.1.x] Refs #31040, Refs #31224 -- Prevented cycles in exceptions chain. | Mariusz Felisiak | |
| Async exception handling was raising an exception that was creating a cycle in the exception chain (by re-raising an exception in sync_to_async that was already being handled). Thanks Chris Jerdonek for detailed analysis. Backport of d94a9aa0557a459a5b9b7b82a8c043de14f8b1a0 from master | |||
| 2020-05-12 | Fixed E128, E741 flake8 warnings. | Mariusz Felisiak | |
| 2020-05-11 | Refs #30116 -- Simplified regex match group access with Match.__getitem__(). | Jon Dufresne | |
| The method has been available since Python 3.6. The shorter syntax is also marginally faster. | |||
| 2020-05-08 | Fixed #31548 -- Fixed URLValidator crash on non-strings. | Yash Saini | |
| 2020-05-08 | Refs #27661 -- Added Tags.staticfiles. | Mariusz Felisiak | |
| Follow up to 0ec4dc91e0e7befdd06aa0613b5d0fbe3c785ee7. | |||
| 2020-05-06 | Fixed #31515 -- Made ASGIHandler dispatch lifecycle signals with thread ↵ | Carlton Gibson | |
| sensitive. | |||
| 2020-05-04 | Changed `'%s' % value` pattern to `str(value)`. | Nick Pope | |
| 2020-04-30 | Doc'd send_email() behavior when from_email is None. | Adrian D'Alessandro | |
| 2020-04-28 | Fixed #29249 -- Made JSON and YAML serializers use Unicode by default. | Hasan Ramezani | |
| 2020-04-28 | Merge stdout.write() calls in squashmigrations. | François Freitag | |
| 2020-04-27 | Refs #18325 -- Removed unnecessary line endings in management commands. | François Freitag | |
| The OutputWrapper automatically adds \n when it’s not present. | |||
| 2020-04-27 | Removed unnecessary tuple wrapping of single format string argument. | François Freitag | |
| 2020-04-21 | Refs #29983 -- Fixed displaying pathlib.Path database name in flush ↵ | Mariusz Felisiak | |
| command's inputs. | |||
| 2020-04-20 | Capitalized Unicode in docs, strings, and comments. | Jon Dufresne | |
| 2020-04-20 | Fixed #31477 -- Removed "using" argument from ↵ | Jon Dufresne | |
| DatabaseOperations.execute_sql_flush(). | |||
| 2020-04-17 | Fixed #31473 -- Made sql_flush() use RESTART IDENTITY to reset sequences on ↵ | Jon Dufresne | |
| PostgreSQL. The sql_flush() positional argument sequences is replaced by the boolean keyword-only argument reset_sequences. This ensures that the old function signature can't be used by mistake when upgrading Django. When the new argument is True, the sequences of the truncated tables will reset. Using a single boolean value, rather than a list, allows making a binary yes/no choice as to whether to reset all sequences rather than a working on a completely different set. | |||
| 2020-04-15 | Refs #27468 -- Changed default Signer algorithm to SHA-256. | Claude Paroz | |
| 2020-04-14 | Fixed #29501 -- Allowed dbshell to pass options to underlying tool. | Adam Johnson | |
| 2020-04-14 | Refs #29501 -- Allowed customizing exit status for management commands. | Adam Johnson | |
| 2020-04-14 | Refs #29501 -- Simplified BaseCommand.run_from_argv() a bit. | Adam Johnson | |
| 2020-04-14 | Refs #29501 -- Made dbshell catch more specific FileNotFoundError. | Adam Johnson | |
| 2020-04-07 | Refs #31051 -- Made dumpdata do not sort dependencies if natural foreign ↵ | Matthijs Kooijman | |
| keys are not used. There is no need to sort dependencies when natural foreign keys are not used. | |||
| 2020-04-07 | Fixed #31051 -- Allowed dumpdata to handle circular references in natural keys. | Matthijs Kooijman | |
| Since #26291 forward references in natural keys are properly handled by loaddata, so sorting depenencies in dumpdata doesn't need to break on cycles. This patch allows circular references in natural keys by breaking sort_depenencies() on loops. | |||
| 2020-04-07 | Fixed #31428 -- Allowed empty message in management command self.stdout/err ↵ | François Freitag | |
| proxies. | |||
| 2020-04-01 | Fixed #31380 -- Added deployment system check for DJANGO_ALLOW_ASYNC_UNSAFE ↵ | hashlash | |
| environment variable. | |||
| 2020-03-26 | Fixed #31402 -- Added migrate --check option. | Gordon Pendleton | |
| Command exits with non-zero status if unapplied migrations exist. | |||
| 2020-03-18 | Fixed #31224 -- Added support for asynchronous views and middleware. | Andrew Godwin | |
| This implements support for asynchronous views, asynchronous tests, asynchronous middleware, and an asynchronous test client. | |||
| 2020-03-09 | Fixed #31318 -- Allowed sqlmigrate to inspect squashed migrations. | David Wobrock | |
| 2020-03-09 | Refs #31318 -- Optimized sqlmigrate by using MigrationLoader. | David Wobrock | |
| Only loader from MigrationExecutor was used. | |||
| 2020-03-09 | Refs #31318 -- Moved MigrationExecutor.collect_sql() to MigrationLoader. | David Wobrock | |
| collect_sql() is used only in sqlmigrate. | |||
| 2020-03-06 | Optimized a bit handle() of sqlmigrate management command. | David Wobrock | |
| 2020-03-05 | Fixed #31327 -- Deprecated providing_args argument for Signal. | Jon Dufresne | |
| 2020-02-28 | Fixed #31311 -- Removed unneeded escapes in validator regexes. | kimbo | |
| Special characters lose their special meaning inside sets of characters. "-" lose its special meaning if it's placed as the first or last character. | |||
| 2020-02-28 | Fixed #31314 -- Raised CommandError when locale is not specified in ↵ | Cristobal Mackenzie | |
| makemessages. Regression in 0707b824fe77e08ca8b75fcc3738ada694f2a3a6. | |||
| 2020-02-19 | Refs #31224 -- Added BaseHandler.check_response(). | Andrew Godwin | |
| 2020-02-11 | Fixed #31240 -- Properly closed FileResponse when wsgi.file_wrapper is used. | Florian Apolloner | |
| Thanks to Oskar Persson for the report. | |||
| 2020-02-11 | Fixed #31253 -- Fixed data loss possibility when using caching from async code. | Jon Dufresne | |
| Case missed in a415ce70bef6d91036b00dd2c8544aed7aeeaaed. | |||
| 2020-02-07 | Refs #31055 -- Added --database option to the check management command. | Simon Charette | |
| This avoids enabling the ``database`` checks unless they are explicitly requested and allows to disable on a per-alias basis which is required when only creating a subset of the test databases. This also removes unnecessary BaseCommand._run_checks() hook. | |||
| 2020-02-04 | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | |
| 2020-01-29 | Used model's Options.label/label_lower where applicable. | Mariusz Felisiak | |
| 2020-01-29 | Removed "Pocket PC" from terminal color support function. | Nick Pope | |
| Introduced over 13 years ago in 9bea530c33e, Pocket PC was surpassed by Windows Mobile, then Windows Phone, which has since been retired. The value "Pocket PC" isn't documented as a value for ``sys.platform`` and it isn't clear whether it ever worked. There are no tests for this. | |||
| 2020-01-08 | Refs #23919 -- Removed obsolete comment in signing.py | Claude Paroz | |
| 2020-01-08 | Fixed #31141 -- Relaxed system check of translation settings for sublanguages. | Mariusz Felisiak | |
| Regression in 4400d8296d268f5a8523cd02ddc33b12219b2535. Thanks Enrique Matías Sánchez for the report. | |||
| 2019-12-13 | Fixed #26743 -- Fixed UnboundLocalError crash when deserializing m2m fields ↵ | Baptiste Mispelon | |
| and value isn't iterable. | |||
| 2019-12-12 | Refs #23919 -- Used yield from in inspectdb. | Jon Dufresne | |
