summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-20Fixed #31474 -- Made QuerySet.delete() not return the number of deleted ↵Hasan Ramezani
objects if it's zero.
2020-04-20Disabled management commands output with verbosity 0 in various tests.François Freitag
Instead of capturing the command output and discard it immediately, tell the command not to log.
2020-04-20Removed unnecessary capturing of stdout/stderr in auth_tests.test_management.François Freitag
2020-04-20Updated iTunes podcast format link in syndication docs.David Smith
2020-04-20Refs #30165 -- Removed obsolete doc references to deprecated ugettext() & co.Jon Dufresne
The u-prefixed variants were removed from the documentation in 6eb4996672ca5ccaba20e468d91a83d1cd019801.
2020-04-20Fixed #31477 -- Removed "using" argument from ↵Jon Dufresne
DatabaseOperations.execute_sql_flush().
2020-04-20Fixed #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-20Refs #29069 -- Added test for calling request_finished signal by static file ↵Tom Forbes
responses. Fixed in 41a3b3d18647b258331104520e76f977406c590d.
2020-04-18Simplified LongNameTest.test_sequence_name_length_limits_flush() with ↵Jon Dufresne
execute_sql_flush().
2020-04-17Fixed #30311 -- Restored ability to override global admin actions.hashlash
2020-04-17Fixed #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-17Simplified DatabaseOperations.sql_flush() on Oracle and PostgreSQL.Jon Dufresne
Added early return to decrease an indentation level.
2020-04-17Added test coverage for DatabaseOperations.sql_flush().Jon Dufresne
2020-04-17Refs #26552 -- Made reloading the database for tests check only loaded ↵Mariusz Felisiak
tables constraints.
2020-04-17Refs #31351 -- Made partial constraints tests use required_db_features.Mariusz Felisiak
This will notably silence the warnings issued when running the test suite on MySQL and MariaDB.
2020-04-16Fixed #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-16Fixed #31441 -- Ensured TabluarInline expands when child inputs have errors.Hasan Ramezani
2020-04-16Refs #31441 -- Added red border to inputs with errors for TabluarInline.Hasan Ramezani
2020-04-16Improved message example in admin actions documentation.Nick Pope
Avoid partial string construction and make use of ``ngettext`` to show example of how to handle plural variants with translations. Also make use of ``messages.SUCCESS`` to highlight customizing the style of the message - in this case it better fits what the message is conveying.
2020-04-16Fixed #31470 -- Fixed fieldset admin CSS to prevent overflowing <pre> elements.Nick Pope
Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
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.