summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-15Removed unused __str__() methods in tests models.Author: Mads Jensen
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-Authored-By: Hasan Ramezani <hasan.r67@gmail.com>
2020-04-15Used :rfc: role in various docs.Mariusz Felisiak
2020-04-15Refs #27468 -- Changed default Signer algorithm to SHA-256.Claude Paroz
2020-04-15Fixed #31459 -- Fixed handling invalid indentifiers in URL path conversion.Adam Johnson
This patch adjusted existing tests that used invalid identifiers.
2020-04-15Fixed #31223 -- Added __class_getitem__() to Manager and QuerySet.sobolevn
2020-04-15Fixed typo in docs/ref/templates/builtins.txt.Mariusz Felisiak
2020-04-15Fixed #31268 -- Updated Algerian Arabic (ar_DZ) locale formats.infosrabah
2020-04-15Fixed #31451 -- Made settings cleansing work with list and tuple settings.Ichlasul Affan
2020-04-15Fixed #31462 -- Allowed overriding autocomplete/raw_id_fields/filter widgets ↵007
for ManyToManyFields with formfield_overrides.
2020-04-14Fixed #29501 -- Allowed dbshell to pass options to underlying tool.Adam Johnson
2020-04-14Refs #29501 -- Allowed customizing exit status for management commands.Adam Johnson
2020-04-14Refs #29501 -- Simplified BaseCommand.run_from_argv() a bit.Adam Johnson
2020-04-14Refs #29501 -- Made dbshell catch more specific FileNotFoundError.Adam Johnson
2020-04-14Refs #29501 -- Added test for missing dbshell executable.Mariusz Felisiak
2020-04-14Fixed #31196 -- Added support for PostGIS 3.Sergey Fedoseev
2020-04-14Refs #31196 -- Installed postgis_raster extension on PostGIS 3+.Claude Paroz
2020-04-14Fixed term warning on Sphinx 3.0.1+.Mariusz Felisiak
"term" role became case sensitive in Sphinx 3.0.1.
2020-04-14Sorted imports in docs/_ext/djangodocs.py.Tim Graham
2020-04-14Refs #31224 -- Removed incorrect @sync_to_async(thread_sensitive=True) example.Andrew Godwin
It does not support thread_sensitive when used as a decorator, yet.
2020-04-10Fixed #31351 -- Added system checks for partial indexes and unique ↵Ichlasul Affan
constraints support.
2020-04-10Refs #31055 -- Allowed database queries in ↵Mariusz Felisiak
invalid_models_tests.test_models.FieldNamesTests.
2020-04-10Refs #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-10Refs #10427 -- Corrected BoundField.css_classes() signature in docs.David Smith
2020-04-10Completed test coverage for BoundField.css_classes().David Smith
2020-04-10Fixed #13009 -- Added BoundField.widget_type property.David Smith
2020-04-09Mentioned non_field_errors in form validation docs.Shrikrishna Singh
2020-04-09Fixed #31407 -- Fixed unawaited coroutine warning for Python 3.8+.Carlton Gibson
Co-authored-by: Mark Korput <dr.theman@gmail.com>
2020-04-09Fixed #30779 -- Improved selection of filenames in technical 500 debug page.Daniel Hahler
2020-04-09Refs #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-09Replaced 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-09Replaced Operation._get_model_tuple() by ModelTuple.from_model().Simon Charette
This method predated the introduction of ModelTuple and had a single use.
2020-04-09Made 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-09Refs #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-09Increased test coverage for forms.ImageField.to_python().David Smith
2020-04-08Fixed #31437 -- Corrected tests to show abstract multiple inheritance system ↵Carlton Gibson
check error. Added minimal multiple inheritance test case showing error. Removed obsolete diamond-inheritance case, originally added in 85ef98dc6ec565b1add417bd76808664e7318026.
2020-04-08Fixed typo in tests/backends/base/test_operations.py.Mariusz Felisiak
2020-04-08Refs #28184 -- Added test for FileField storage default.Carlton Gibson
Co-authored-by: miigotu <miigotu@gmail.com>
2020-04-08Fixed #28184 -- Allowed using a callable for FileField and ImageField storage.miigotu
2020-04-08Refs #30966 -- Added test for reloading related model state on ↵Mariusz Felisiak
non-relational changes. Thanks Markus Holtermann for initial test. Fixed in 1d16c5d562a67625f7309cc7765b8c57d49bf182.
2020-04-07Refs #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-07Fixed #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-07Fixed #31407 -- Adjusted test to avoid coroutine never awaited warning.Mark
2020-04-07Refs #26291 -- Added tests for dumpdata/loaddata with forward references ↵Matthijs Kooijman
without natural keys.
2020-04-07Refs #26291 -- Added tests for dumpdata with forward references in natural keys.Matthijs Kooijman
2020-04-07Refs #31051 -- Added test for loaddata/dumpdata with circular references ↵Matthijs Kooijman
without natural keys.
2020-04-07Enforced uniqueness of natural keys used in tests.Mariusz Felisiak
2020-04-07Fixed highlightlang deprecation warning on Sphinx 1.8+.Mariusz Felisiak
2020-04-07Fixed CodeBlock deprecation warning on Sphinx 2.1+.Mariusz Felisiak
2020-04-07Fixed Sphinx warnings on duplicate object descriptions.Mariusz Felisiak
2020-04-07Refs #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.