| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-04-23 | Fixed #31500 -- Fixed detecting of unique fields in QuerySet.in_bulk() when ↵ | Hannes Ljungberg | |
| using Meta.constraints. Detection of unique fields now takes into account non-partial unique constraints. | |||
| 2020-04-22 | Avoided unnecessary recompilation of ordering clause regex in SQLCompiler. | Adam Johnson | |
| 2020-04-22 | Made compress.py script use the official google-closure-compiler release. | Jon Dufresne | |
| The script previously used the PyPI package closure, which is slightly out of date and not maintained by Google. The JavaScript contribution docs and the compress.py script now runs the google-closure-compiler package in the recommended way. Google's documentation on usage and installation can be found at: https://github.com/google/closure-compiler-npm/tree/master/packages/google-closure-compiler#usage This also makes the usage simpler as the package now runs through npm's npx utility, which will automatically install google-closure-compiler to a per-user cache. | |||
| 2020-04-22 | Fixed #31483 -- Rewrote change_form.js without jQuery. | Jon Dufresne | |
| The use of $(document).ready() was removed. The script is loaded at the end of the document. Therefore, the referenced DOM elements are already available and the script does not need to wait for the full DOM to be ready before continuing. Now that the script has no external dependencies, it can be loaded asynchronously. As such, the async attribute was added to the script element. | |||
| 2020-04-22 | Refs #31483 -- Removed CSS and JavaScript for unused HTML class add-another. | Jon Dufresne | |
| The HTML class was removed in 07988744b347302925bc6cc66511e34224db55ab. As such, the CSS and JavaScript is unused. | |||
| 2020-04-22 | Updated admin's XRegExp to 3.2.0. | Mariusz Felisiak | |
| 2020-04-22 | Fixed #31499 -- Stored ModelState.fields into a dict. | Simon Charette | |
| This allows the removal of its O(n) .get_field_by_name method and many other awkward access patterns. While fields were initially stored in a list to preserve the initial model definiton field ordering the auto-detector doesn't take field ordering into account and no operations exists to reorder fields of a model. This makes the preservation of the field ordering completely superflous because field reorganization after the creation of the model state wouldn't be taken into account. | |||
| 2020-04-22 | Refs #31499 -- Ignored field ordering to determine ModelState equality. | Simon Charette | |
| 2020-04-22 | Simplified collapse.js with Element.closest(). | Jon Dufresne | |
| 2020-04-21 | Refs #29983 -- Fixed displaying pathlib.Path database name in flush ↵ | Mariusz Felisiak | |
| command's inputs. | |||
| 2020-04-21 | Fixed #31479 -- Added support to reset sequences on SQLite. | Jon Dufresne | |
| 2020-04-21 | Refs #30591 -- Adjusted table rebuild for non-pk relationship on SQLite. | Simon Charette | |
| The existing code was only accounting for primary key changes and not all unique key fields that can be referenced. | |||
| 2020-04-21 | Fixed #31064 -- Recreated auto-created many-to-many tables on primary key ↵ | Simon Charette | |
| data type change on SQLite. Both local and remote auto-created many-to-many relationships were affected. | |||
| 2020-04-20 | Stopped rebuilding referenced tables multiple times on SQLite alterations. | Simon Charette | |
| 2020-04-20 | Capitalized Unicode in docs, strings, and comments. | Jon Dufresne | |
| 2020-04-20 | Fixed #31474 -- Made QuerySet.delete() not return the number of deleted ↵ | Hasan Ramezani | |
| objects if it's zero. | |||
| 2020-04-20 | Fixed #31477 -- Removed "using" argument from ↵ | Jon Dufresne | |
| DatabaseOperations.execute_sql_flush(). | |||
| 2020-04-20 | Fixed #24559 -- Made MigrationLoader.load_disk() catch more specific ↵ | Jon Dufresne | |
| ModuleNotFoundError. Avoids inspecting the exception message, which is not considered a stable API and can change across Python versions. ModuleNotFoundError was introduced in Python 3.6. It is a subclass of ImportError that is raised when the imported module does not exist. It is not raised for other errors that can occur during an import. This exception instance has the property "name" which holds the name of module that failed to import. | |||
| 2020-04-17 | Fixed #30311 -- Restored ability to override global admin actions. | hashlash | |
| 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-17 | Simplified DatabaseOperations.sql_flush() on Oracle and PostgreSQL. | Jon Dufresne | |
| Added early return to decrease an indentation level. | |||
| 2020-04-17 | Refs #26552 -- Made reloading the database for tests check only loaded ↵ | Mariusz Felisiak | |
| tables constraints. | |||
| 2020-04-16 | Fixed #29329 -- Made datetime logging from runserver more consistent. | Hasan Ramezani | |
| Setting default_msec_format=None will make it the same, unfortunately it's not supported by Python, see https://bugs.python.org/issue40300. | |||
| 2020-04-16 | Fixed #31441 -- Ensured TabluarInline expands when child inputs have errors. | Hasan Ramezani | |
| 2020-04-16 | Refs #31441 -- Added red border to inputs with errors for TabluarInline. | Hasan Ramezani | |
| 2020-04-16 | Fixed #31470 -- Fixed fieldset admin CSS to prevent overflowing <pre> elements. | Nick Pope | |
| Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-04-15 | Refs #27468 -- Changed default Signer algorithm to SHA-256. | Claude Paroz | |
| 2020-04-15 | Fixed #31459 -- Fixed handling invalid indentifiers in URL path conversion. | Adam Johnson | |
| This patch adjusted existing tests that used invalid identifiers. | |||
| 2020-04-15 | Fixed #31223 -- Added __class_getitem__() to Manager and QuerySet. | sobolevn | |
| 2020-04-15 | Fixed #31268 -- Updated Algerian Arabic (ar_DZ) locale formats. | infosrabah | |
| 2020-04-15 | Fixed #31451 -- Made settings cleansing work with list and tuple settings. | Ichlasul Affan | |
| 2020-04-15 | Fixed #31462 -- Allowed overriding autocomplete/raw_id_fields/filter widgets ↵ | 007 | |
| for ManyToManyFields with formfield_overrides. | |||
| 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-14 | Fixed #31196 -- Added support for PostGIS 3. | Sergey Fedoseev | |
| 2020-04-10 | Fixed #31351 -- Added system checks for partial indexes and unique ↵ | Ichlasul Affan | |
| constraints support. | |||
| 2020-04-10 | Refs #28305 -- Consolidated field referencing detection in migrations. | Simon Charette | |
| This moves all the field referencing resolution methods to shared functions instead of duplicating efforts amongst state_forwards and references methods. | |||
| 2020-04-10 | Fixed #13009 -- Added BoundField.widget_type property. | David Smith | |
| 2020-04-09 | Fixed #30779 -- Improved selection of filenames in technical 500 debug page. | Daniel Hahler | |
| 2020-04-09 | Refs #31411 -- Used RENAME COLUMN on MySQL 8.0.4+. | Mariusz Felisiak | |
| MySQL 8.0.3 added support for this syntax but also imposed a restriction against ALTER TABLE RENAME on tables in a foreign key relationship if a LOCK TABLES was active which has been lifted in MySQL 8.0.4+. | |||
| 2020-04-09 | Replaced ModelTuple by a model resolving function and bare tuples. | Simon Charette | |
| ModelTuple made handling of app_label=None easier but it isn't necessary anymore. | |||
| 2020-04-09 | Replaced Operation._get_model_tuple() by ModelTuple.from_model(). | Simon Charette | |
| This method predated the introduction of ModelTuple and had a single use. | |||
| 2020-04-09 | Made Operation.references_model/references_field require app_label. | Simon Charette | |
| This will allow them to drop a ton of logic to deal with null app_label. | |||
| 2020-04-09 | Refs #22608 -- Made app_label required when optimizing migrations. | Simon Charette | |
| This paved the way for the removal of lot of logic when app_label was not specified. | |||
| 2020-04-08 | Fixed #28184 -- Allowed using a callable for FileField and ImageField storage. | miigotu | |
| 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 | Refs #29000 -- Restored delayed model rendering of RenameField. | Simon Charette | |
| Non-delayed rendering is unnecessary and wasteful now that state models relationship consistency on delayed reload is ensured. This partly reverts commit fcc4e251dbc917118f73d7187ee2f4cbf3883f36. | |||
