summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2018-07-19Completed test coverage for django.urls.utils.get_callable().Hasan Ramezani
2018-07-19Fixed #29578 -- Made numberformat.format() honor forced l10n usage.Claude Paroz
Thanks Sassan Haradji for the report.
2018-07-16Fixed #29413 -- Prevented evaluation of ↵Viktor Danyliuk
QuerySet.get_or_create()/update_or_create() defaults unless needed. Removed the logic added in 81e05a418dc6f347d9627373288e773c477a9fe0 which was obsolete since dbffffa7dc95fc62cbecfd00284bde62ee796f48.
2018-07-16Fixed #28917 -- Prevented Paginator's unordered warning on EmptyQuerySet.Josh Schneier
Thanks carltongibson for the idea and weijunji for the initial patch.
2018-07-14Fixed #29542 -- Fixed invalid SQL if a Subquery from the HAVING clause is ↵Mariusz Felisiak
used in the GROUP BY clause. Thanks Tim Graham for the review.
2018-07-13Fixed #26291 -- Allowed loaddata to handle forward references in natural_key ↵Peter Inglesby
fixtures.
2018-07-13Fixed #28566 -- Added path matching to collectstatic ignore patterns.Daniel Wiesmann
2018-07-13Refs #29548 -- Fixed GIS tests on MariaDBClaude Paroz
2018-07-11Fixed #29559 -- Fixed TransactionTestCase.reset_sequences for auto-created ↵Oliver Sauder
m2m through models.
2018-07-11Refs #9804 -- Fixed test for sequence reset of M2M with inherited through model.Tim Graham
2018-07-11Fixed #27845 -- Allowed both right and left optimizations of operations.Simon Charette
Thanks Raphael Gaschignard for the suggestion.
2018-07-11Allowed RemoveField operations to be optimized through.Simon Charette
2018-07-11Relaxed FieldOperation.references_field remote field checking.Simon Charette
2018-07-11Fixed #26720 -- Prevented invalid CreateModel optimizations of related fields.Simon Charette
2018-07-11Fixed #27768 -- Allowed migration optimization of CreateModel order.Simon Charette
Thanks Ed Morley from Mozilla for the tests.
2018-07-11Refs #27768 -- Reversed order of optimized and in-between operations.Simon Charette
Operations can only be optimized through if they don't reference any of the state the operation they are compared against defines or alters, so it's safe to reverse the order.
2018-07-11Silenced warnings in deprecation tests.Jon Dufresne
2018-07-10Refs #22875 -- Fixed an optimizer test to use a valid scenario.Simon Charette
An explicit intermediary many-to-many relationship must declare forward and reverse foreign keys. The original issue was in the autodetector as these operations shouldn't have been generated in this order in the first place which is tested by AutodetectorTests.test_create_with_through_model.
2018-07-10Fixed #11964 -- Added support for database check constraints.Ian Foote
2018-07-10Fixed #29556 -- Made 'remove_stale_contenttypes --noinput' delete content types.Jon Dufresne
2018-07-10Simplified a couple test docstrings.Tim Graham
2018-07-10Fixed ResourceWarning from unclosed test files.Jon Dufresne
When running Django tests with Python warnings enabled.
2018-07-09Fixed #29546 -- Deprecated django.utils.timezone.FixedOffset.Sergey Fedoseev
2018-07-09Refs #29548 -- Fixed non-GIS test failures on MariaDB.Tom Forbes
2018-07-09Fixed #29553 -- Made test client set Content-Length header to a string ↵Tim Graham
rather than integer.
2018-07-09Fixed some assertTrue() that were intended to be assertEqual().Sergey Fedoseev
2018-07-09Refs #27472 -- Fixed crash during pickling of empty GEOS point.Sergey Fedoseev
2018-07-09Made test for memoryview handling in force_bytes() more strict.Sergey Fedoseev
2018-07-09Fixed #20584 -- Fixed memcached's get_many() with single-use iterators.Christian Barcenas
Thanks Guyon Morée for the report.
2018-07-06Fixed #29543 -- Fixed CPointerBase.__del__() ImportError crash.Mushtaq Ali
2018-07-06Refs #29451 -- Fixed test_isvalid_lookup on MySQL 8+.Tom
2018-07-05Refs #28643 -- Added math database functions.Junyi Jiao
Thanks Nick Pope for much review.
2018-07-02Fixed #29449 -- Reverted "Fixed #28757 -- Allowed using contrib.auth forms ↵Tim Graham
without installing contrib.auth." This reverts commit 3333d935d2914cd80cf31f4803821ad5c0e2a51d due to a crash if USERNAME_FIELD isn't a CharField.
2018-07-02Removed parser.add_arguments() arguments that match the defaults.Claude Paroz
2018-07-02Fixed #29530 -- Fixed aliases ordering when chaining annotate() and filter().Mariusz Felisiak
2018-06-29Fixed #28077 -- Added support for PostgreSQL opclasses in Index.Ian Foote
Thanks Vinay Karanam for the initial patch.
2018-06-29Fixed #28144 -- Added FileSystemStorage.OS_OPEN_FLAGS to allow customization.Jon Prindiville
2018-06-29Fixed #29525 -- Allowed is_safe_url()'s allowed_hosts arg to be a string.Przemysław Suliga
2018-06-28Fixed #26067 -- Added ordering support to ArrayAgg and StringAgg.Floris den Hengst
2018-06-28Refs #29514 -- Added test for get_default_timezone()/timezone.utc equality.Carlton Gibson
2018-06-27Fixed #29520 -- Fixed test client crash when posting bytes.Tim Graham
Regression in b8a41a2872624a6d9e61308932dd81d001e31eb9.
2018-06-27Refs #29253 -- Fixed method_decorator() crash if decorator sets a new attribute.Chris Jerdonek
Regression in fdc936c9130cf4fb5d59869674b9a31cc79a7999.
2018-06-25Fixed #29447 -- Made RelatedManager.set() pass bulk argument to clear().Alexandr Tatarinov
2018-06-25Fixed #29518 -- Added validation for sqlmigrate's app_label argument.oliver
2018-06-25Fixed #29517 -- Rephrased error message when passing incorrect kwarg to ↵Federico Bond
model constructor
2018-06-22Fixed #29511 -- Added charset to JavaScriptCatalog's Content-Type header.Tim Graham
2018-06-21Refs #18620 -- Refactored ContentTypes view tests to group related field ↵Paulo
test cases.
2018-06-21Fixed #18620 -- Made ContentTypes shortcut view prefer current site if ↵Paulo
available. Thanks Mike Tigas (mtigas) for the initial patch.
2018-06-21Added test for contenttype redirect with m2m objects.Paulo
Thanks carltongibson for the test logic.
2018-06-21Corrected location of some contenttypes_tests.Tim Graham