summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2022-06-20Fixed #32969 -- Fixed pickling HttpResponse and subclasses.Anv3sh
2022-06-20Fixed #23689 -- Made parsing HTTP Accept-Language header case-insensitive.Zainab Amir
Thank you Daniel Samuels for test project.
2022-06-17Fixed #33788 -- Added TrigramStrictWordSimilarity() and ↵Matt Brewer
TrigramStrictWordDistance() on PostgreSQL.
2022-06-17Fixed #28897 -- Fixed QuerySet.update() on querysets ordered by annotations.David Wobrock
2022-06-17Refs #28897 -- Added test for QuerySet.update() on querysets ordered by ↵David Wobrock
inline m2m annotation.
2022-06-17Fixed #24870 -- Added --update option to makemigrations command.David Wobrock
2022-06-16Updated asgiref dependency for 4.1 release series.Carlton Gibson
2022-06-14Fixed #33772 -- Added QuerySet.first()/last() error message on unordered ↵Pablo Pissi
queryset with aggregation.
2022-06-13Refs #27236 -- Split index_together and unique_together autodetector tests.David Wobrock
2022-06-13Refs #27236 -- Added test_autodetector.BaseAutodetectorTests.David Wobrock
2022-06-13Fixed #33773 -- Made Index with multiple fields respect ↵Bruce Cutler
DEFAULT_INDEX_TABLESPACE. Thanks to Simon Charette for locating where issue lay.
2022-06-13Made QuerySet.bulk_update() raise an error when batch_size is zero.Ebram Shehata
2022-06-09Fixed #33755 -- Moved ASGI body-file cleanup into request class.Jonas Lundberg
2022-06-08Fixed #33565 -- Improved locale format validation for the makemessages command.Ronnie van den Crommenacker
2022-06-03Removed obsolete assertions in BooleanFieldTests.test_return_type().Mariusz Felisiak
Added in e9bbdb39de3047761fa8d03d5241eccd571093ff. Obsolete since e9103402c0fa873aea58a6a11dba510cd308cb84.
2022-06-03Refs #33765 -- Added tests for trailing whitespace in JavaScript source map ↵Adam Johnson
references.
2022-06-03Fixed #33764 -- Deprecated BaseUserManager.make_random_password().Ciaran McCormick
2022-06-03Refs #27236 -- Moved models with Meta.index_together inside of test methods.David Wobrock
2022-06-02Fixed #33700 -- Skipped extra resolution for successful requests not ending ↵Anders Kaseorg
with /. By moving a should_redirect_with_slash call out of an if block, commit 9390da7fb6e251eaa9a785692f987296cb14523f negated the performance fix of commit 434d309ef6dbecbfd2b322d3a1da78aa5cb05fa8 (#24720). Meanwhile, the logging issue #26293 that it targeted was subsequently fixed more fully by commit 40b69607c751c4afa453edfd41d2ed155e58187e (#26504), so it is no longer needed. This effectively reverts it. This speeds up successful requests not ending with / when APPEND_SLASH is enabled (the default, and still useful in projects with a mix of URLs with and without trailing /). The amount of speedup varies from about 5% in a typical project to nearly 50% on a benchmark with many routes. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-06-02Fixed #31788 -- Fixed migration optimization after altering field to ↵David Wobrock
ManyToManyField. This makes AddField() used for altering to ManyToManyField, dependent on the prior RemoveField.
2022-06-01Fixed #33742 -- Added id to GeoJSON serializer.Samir Shah
2022-06-01Refs #32234 -- Removed hardcoded IntegerField in inspectdb test.Tim Graham
2022-06-01Fixed #33733 -- Preserved wrapper assignment for manager methods.kshivakumar
2022-06-01Refs #33733 -- Added tests for attributes of manager methods.Mariusz Felisiak
2022-06-01Refs #33697 -- Fixed multipart parsing of headers with double quotes and ↵Mehrdad
semicolons. See https://github.com/python/cpython/commit/1ef0c0349e8fdb5415e21231cb42edbf232b742a
2022-06-01Fixed #32234 -- Made inspectdb inform about composite primary keys.Anv3sh
2022-05-31Fixed #33191 -- Avoided clearing cached reference when saving child after ↵Allen Jonathan David
parent. Thanks Barry Johnson for the report.
2022-05-31Fixed #33754 -- Fixed crash with prematurely closed ASGI request body.Jonas Lundberg
Regression in 441103a04d1d167dc870eaaf90e3fba974f67c93.
2022-05-31Fixed #33748 -- Fixed date template filter crash with lazy format.Claude Paroz
Regression in 659d2421c7adbbcd205604002d521d82d6b0b465.
2022-05-26Fixed #22078 -- Fixed crash of Feed with decorated methods.Marcelo Galigniana
2022-05-26Refs #22078 -- Added syndication test for feeds with static methods.Marcelo Galigniana
2022-05-26Fixed #23740 -- Fixed removing unique_together constraint if exists primary ↵David Wobrock
key/unique constraint on the same field.
2022-05-25Normalized decorator style for functools.wraps.Aymeric Augustin
2022-05-25Normalized imports of functools.wraps.Aymeric Augustin
@wraps is 10 times more common than @functools.wraps. Standardize to the most common version.
2022-05-25Renamed wrapped functions to wrapper.Aymeric Augustin
All these functions are wrapping another function. They're the wrapper, while the function they're wrapping is the wrapped.
2022-05-23Refs #22078 -- Added syndication test for feeds with callable objects.Marcelo Galigniana
2022-05-23Refs #33725 -- Replaced deprecated find_element_by_css_selector() with ↵Mariusz Felisiak
find_elements(By.CSS_SELECTOR, …). Follow up to 90dcf271147693a8897f644c4c8943c5b73c02f8 and 2ccc0b22db6730ba0950b10bbc5238ae575e4a45.
2022-05-21Fixed #33725 -- Made hidden quick filter in admin's navigation sidebar not ↵Sankalp
focusable. Regression in d915dd1c5809d7c2bb3679751cd5277571dcd9f7. Follow up to 780473d75625d014cbe9b0acdea40b7a5970d5d8.
2022-05-20Fixed #33653 -- Fixed template crash when calling methods for built-in types ↵cheng
without required arguments. Regression in 09341856ed9008875c1cc883dc0c287670131458.
2022-05-20Fixed #33715 -- Allowed keyboard interrupt to abort queries in MySQL dbshell.Hasan Ramezani
2022-05-19Fixed #33719 -- Fixed test command crash when running in parallel.Mariusz Felisiak
Thanks Pēteris Caune for the report. Regression in 3b3f38b3b09b0f2373e51406ecb8c9c45d36aebc.
2022-05-19Fixed #33717 -- Dropped support for PostgreSQL 11.Mariusz Felisiak
2022-05-19Fixed #33705 -- Fixed crash when using IsNull() lookup in filters.David Wobrock
Thanks Florian Apolloner for the report. Thanks Simon Charette for the review.
2022-05-18Fixed #33713 -- Dropped support for MariaDB 10.3.Mariusz Felisiak
2022-05-17Refs #33379 -- Fixed minimum supported version of MariaDB.Mariusz Felisiak
2022-05-17Increased the default PBKDF2 iterations for Django 4.2.Carlton Gibson
2022-05-17Advanced deprecation warnings for Django 4.2.Carlton Gibson
2022-05-17Refs #32339 -- Deprecated default.html form template.David Smith
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2022-05-17Fixed #32565 -- Moved internal URLResolver view-strings mapping to admindocs.Alokik Vijay
Moved the functionality of URLResolver._is_callback(), URLResolver._callback_strs, URLPattern.lookup_str() to django.contrib.admindocs.
2022-05-17Refs #27064 -- Made migrations generate RenameIndex operations when moving ↵David Wobrock
indexes from index_together to Meta.indexes.