summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2020-03-31Fixed #31375 -- Made contrib.auth.hashers.make_password() accept only bytes ↵Hasan Ramezani
or strings.
2020-03-31Refs #31375 -- Added test for contrib.auth.hashers.make_password() bytes ↵Hasan Ramezani
support.
2020-03-26Fixed #31402 -- Added migrate --check option.Gordon Pendleton
Command exits with non-zero status if unapplied migrations exist.
2020-03-25Fixed #29724 -- Fixed timezone handling in ModelAdmin.date_hierarchy queries.Hasan Ramezani
Thanks Alexander Holmbäck for the initial patch.
2020-03-25Added tests for date_hierarchy template tag with models.DateTimeField.Alexander Holmbäck
2020-03-25Removed unnecessary assertions in ExpressionOperatorTests.Mariusz Felisiak
These tests don't modify Number.float field.
2020-03-25Fixed #23916 -- Allowed makemigrations to handle related model name case ↵Adam Johnson
changes. Made autodetector ignore related model name case changes so unnecessary migrations are not created.
2020-03-25Fixed #31396 -- Added binary XOR operator to F expressions.Hannes Ljungberg
2020-03-25Fixed intermittent SeleniumTests.test_prepopulated_fields failure.Carlton Gibson
Element would occasionally be outside of frame.
2020-03-25Fixed #31377 -- Disabled grouping by aliases on ↵Hasan Ramezani
QuerySet.values()/values_list() when they collide with field names. Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80. Thanks Holovashchenko Vadym for the report.
2020-03-24Reverted "Pinned asgiref == 3.2.5 in test requirements."Mariusz Felisiak
This reverts commit aa21020218a2dcd29a03444ad2a77f03f085b04e. Regression was fixed by https://github.com/django/asgiref/commit/e4367c571fd1833bda0b7ff0bd68d924916352da.
2020-03-24Fixed #7664 -- Allowed customizing suffixes of MultiWidget.widgets' names.David Smith
2020-03-24Pinned asgiref == 3.2.5 in test requirements.Mariusz Felisiak
2020-03-23Fixed #28194 -- Added support for normalization and cover density to SearchRank.Hannes Ljungberg
2020-03-23Fixed #19878 -- Deprecated TemplateView passing URL kwargs into context.Adam Johnson
2020-03-23Added missing Meta.apps to a schema model.Tim Graham
2020-03-21Normalized check framework test pattern.Adam Johnson
2020-03-20Refs #29724 -- Added is_dst parameter to QuerySet.datetimes().Hasan Ramezani
Thanks Simon Charette for the review and Mariusz Felisiak for tests.
2020-03-20Fixed #31144 -- Relaxed system check for max_length of CharFields on ↵Rohit
MySQL/MariaDB by turning into a warning.
2020-03-19Made BaseCacheTests skip culling tests if culling is not supported.Jon Dufresne
2020-03-19Fixed #31285 -- Fixed inherited Meta.ordering of "-pk".Jon Dufresne
2020-03-19Fixed #31123 -- Added --include-stale-apps option to the ↵gowthamk63
remove_stale_contenttypes management command. Co-Authored-By: Javier Buzzi <buzzi.javier@gmail.com>
2020-03-19Refs #29548 -- Mentioned MariaDB in database system checks.Mariusz Felisiak
2020-03-18Fixed #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-18Removed redundant get_max_column_name_length() calls in ↵Mariusz Felisiak
invalid_models_tests.test_models.FieldNamesTests.
2020-03-18Refs #31055 -- Made long column names checks support databases aware.Mariusz Felisiak
2020-03-16Fixed #31340 -- Allowed query expressions in SearchQuery.value and __search ↵Baptiste Mispelon
lookup.
2020-03-16Fixed #31363 -- Added support for negative integers to intword template filter.jay20162016
2020-03-16Fixed #31361 -- Fixed invalid action="" in admin forms.Jon Dufresne
The attribute action="" (empty string) on the <form> element is invalid HTML5. The spec (https://html.spec.whatwg.org/#attr-fs-action) says: > The action and formaction content attributes, if specified, must have > a value that is a valid non-empty URL potentially surrounded by > spaces. Emphasis on non-empty. The action attribute is allowed to be omitted, in which case the current URL is used which is the same behavior as now.
2020-03-16Added novalidate HTML attribute to ModelAdmin.add_view() and change_view() ↵Jon Dufresne
tests.
2020-03-13Refs #31304 -- Added tests for using __search lookup with combined ↵Mariusz Felisiak
SearchQuerys with the same config.
2020-03-13Refs #31340 -- Simplified SearchQuery by making it subclass Func.Baptiste Mispelon
2020-03-12Fixed random auth_tests.test_tokens.TokenGeneratorTest.test_timeout failures.Mariusz Felisiak
Random failures depended on the current timestamp. Thanks Matthijs Kooijman for the review.
2020-03-12Fixed #8760 -- Changed ModelMultipleChoiceField to use invalid_list as a ↵David Smith
error message key.
2020-03-12Fixed MiddlewareNotUsedTests.test_do_not_log_when_debug_is_false().Mariusz Felisiak
This test didn't test anything without a middleware that raises an exception.
2020-03-12Completed test coverage for BaseHandler.process_exception_by_middleware().Mariusz Felisiak
2020-03-11Fixed #31359 -- Deprecated get_random_string() calls without an explicit length.Claude Paroz
2020-03-11Fixed typo in tests/forms_tests/widget_tests/test_clearablefileinput.py ↵David Smith
docstring.
2020-03-10Fixed #30439 -- Added support for different plural forms for a language.Claude Paroz
Thanks to Michal Čihař for review.
2020-03-10Fixed #26513 -- Added tests for <Backend>GeometryColumns.geom_col_name().Hasan Ramezani
2020-03-10Fixed typos in tolerance gis_tests.Mariusz Felisiak
2020-03-09Fixed #31349 -- Used :nth-child() CSS pseudo-class to style alternative rows ↵Jon Dufresne
in admin.
2020-03-09Fixed #31347 -- Checked allow_migrate() in CreateExtension operation.Hasan Ramezani
2020-03-09Fixed #31318 -- Allowed sqlmigrate to inspect squashed migrations.David Wobrock
2020-03-09Refs #31318 -- Added tests for inspecting squashed migrations and ambiguous ↵David Wobrock
names in sqlmigrate.
2020-03-07Refs #30489 -- Fixed RasterFieldTest.test_deserialize_with_pixeltype_flags() ↵Mariusz Felisiak
when run without numpy.
2020-03-07Replaced deprecated assertEquals() with assertEqual() in RasterFieldTest.Mariusz Felisiak
2020-03-06Refs #31304 -- Made __search lookup default to its rhs' config.Simon Charette
This make the SearchLookup lookup more coherent with its SearchVectorExact base which configures its rhs SearchQuery with its lhs' config.
2020-03-06Fixed #31345 -- Added BaseDatabaseIntrospection.get_relations().shankarj67
2020-03-05Refs #31224 -- Added autoconversion of test async methods.Andrew Godwin