summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2021-10-25[4.0.x] Fixed #31503 -- Made autodetector remove unique/index_together ↵David Wobrock
before altering fields. Backport of 0314593fe8e7dc685bbb6585eee40e755588864e from main
2021-10-25[4.0.x] Fixed #33205 -- Made call_command() raise TypeError when dest with ↵Hasan Ramezani
multiple arguments is passed. Backport of c1e4111c74ee9d9f48cbee5a5b7c40289203c93d from main
2021-10-21[4.0.x] Fixed #33215 -- Confirmed support for GEOS 3.10.Mariusz Felisiak
Backport of 9231526af4b9825583b0d3cb943f88109fd30551 from main
2021-10-20[4.0.x] Fixed #33043 -- Made method_decorator() preserve wrapper assignments.Vinay Karanam
Regression in f434f5b84f7fcea9a76a551621ecce70786e2899. Backport of 8806e8809e023017e6958b9fa0bbd960938e0a91 from main
2021-10-20[4.0.x] Refs #32956 -- Capitalized HTTP/HTTPS in comments, docs, and docstrings.David Smith
Backport of 7ef0bc922c0a78667ed8cbf5f85845b627ccbdf8 from main
2021-10-19[4.0.x] Refs #32956 -- Changed docs to treat the acronym HTTP phonetically.David Smith
Backport of 69b0736fad1d1f0197409ca025b7bcdf5666ae62 from main
2021-10-18[4.0.x] Fixed #33194 -- Fixed migrations when altering a field with ↵Hannes Ljungberg
functional indexes/unique constraints on SQLite. This adjusts Expressions.rename_table_references() to only update alias when needed. Regression in 83fcfc9ec8610540948815e127101f1206562ead. Co-authored-by: Simon Charette <charettes@users.noreply.github.com> Backport of 86971c40909430a798e4e55b140004c4b1fb02ff from main
2021-10-15[4.0.x] Refs #32074 -- Removed usage of deprecated asyncore and smtpd modules.Mariusz Felisiak
asyncore and smtpd modules were deprecated in Python 3.10. Backport of 569a33579c3cca5f801c544d9b52a34e3c779424 from main
2021-10-14[4.0.x] Fixed #33008 -- Fixed prefetch_related() for deleted GenericForeignKeys.Martin Svoboda
Thanks Simon Charette for the implementation idea. Backport of cc4cb95beff0b75ec169add7e94cc481624a41e6 from main
2021-10-14[4.0.x] Refs #27131 -- Removed SMTPBackendTests.test_server_login().Mariusz Felisiak
test_server_login() was a regression test for a crash when passing Unicode strings to SMTP server using CRAM-MD5 method on Python 2. Python 2 is no longer supported and test_server_login() passes even without FakeSMTPChannel.smtp_AUTH() because smtplib.SMTPAuthenticationError is raised when AUTH is not implemented. Backport of cdad96e6330cd31185f7496aaf8eb316f2773d6d from main
2021-10-12[4.0.x] Fixed #33178 -- Made createsuperuser validate required fields passed ↵Christophe Henry
in options in interactive mode. Backport of b1b26b37aff0c80d6abdf15c5ffdf0440a9a1d6a from main.
2021-10-12[4.0.x] Refs #21755 -- Fixed createsuperuser crash for required foreign keys ↵Christophe Henry
passed in options in interactive mode. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Backport of 4ff500f2948bfc332b3f4159021cad06e91943d3 from main
2021-10-12[4.0.x] Refs #29628, Refs #33178 -- Made createsuperuser validate password ↵Mariusz Felisiak
against required fields passed in options. Backport of da266b3c5ca4bb7581d7a3cc51bc820e78cf64f0 from main
2021-10-07[4.0.x] Fixed #33151 -- Fixed createsuperuser crash for many-to-many ↵Christophe Henry
required fields in non-interactive mode. Backport of df2d2bc95c451c6366fd522a5a1e6ed84f459f31 from main
2021-10-06[4.0.x] Fixed #33156 -- Used sessionStorage to preserve quick filter for ↵Maxim Milovanov
admin's navigation sidebar. Backport of 1c802ca2a9d3c66fb723695fe7ea597fb4802402 from main
2021-10-01[4.0.x] Fixed SpGistIndex tests on PostgreSQL 14+.Nick Pope
Backport of dd26362f6312e7ba7b04099b5285d8e1d2900e63 from main
2021-10-01[4.0.x] Fixed #33160 -- Avoided suppressing query errors in _nodb_cursor() ↵Daniel Hahler
on PostgreSQL. Backport of 98c8bf1ceeab5c68751c83555f82cff1a9120a67 from main
2021-09-30[4.0.x] Fixed #33155 -- Made ModelChoiceIteratorValue instances hashable.Aljaž Košir
Backport of 7b8beeee3d45cafd7bec7ff3ee0e4371e142c36d from main
2021-09-30[4.0.x] Fixed #33159 -- Reverted "Fixed #32970 -- Changed WhereNode.clone() ↵Mariusz Felisiak
to create a shallow copy of children." This reverts commit e441847ecae99dd1ccd0d9ce76dbcff51afa863c. A shallow copy is not enough because querysets can be reused and evaluated in nested nodes, which shouldn't mutate JOIN aliases. Thanks Michal Čihař for the report. Backport of 903aaa35e5ceaa33bfc9b19b7f6da65ce5a91dd4 from main
2021-09-29[4.0.x] Fixed #33018 -- Fixed annotations with empty queryset.David Wobrock
Thanks Simon Charette for the review and implementation idea. Backport of dd1fa3a31b4680c0d3712e6ae122b878138580c7 from main
2021-09-29[4.0.x] Fixed #33141 -- Renamed Expression.empty_aggregate_value to ↵David Wobrock
empty_result_set_value. Backport of ad36a198a12df4dff65992191b3eb0a474e2daac from main
2021-09-29[4.0.x] Fixed #33027 -- Made autoreloader pass -X options.Chenyang Yan
Backport of 36d54b7a142689e0f882338159bca879d8b6d783 from main
2021-09-29[4.0.x] Fixed #33134 -- Fixed recursion depth error when rendering Form with ↵David Smith
BoundFields. Regression in 456466d932830b096d39806e291fe23ec5ed38d5. Backport of 4884a87e022056eda10534c13d74e49b8cdda632 from main
2021-09-28[4.0.x] Fixed #33033 -- Prevented models.DecimalField from accepting NaN values.Chinmoy Chakraborty
Backport of b7fd668b37341fc92d67c4854c4f244e10895c9b from main
2021-09-24[4.0.x] Fixed #33130 -- Restored form errors to be a dict.Jaap Roes
Regression in 456466d932830b096d39806e291fe23ec5ed38d5. Backport of 7fe9b6f6df16fa875fe360a1c7d0ac53fcf08a53 from main
2021-09-24[4.0.x] Fixed #33132 -- Fixed test client handling of querystring only ↵Jaap Roes
redirects. Regression in 1e5aa8e1c79252cc810af21294a6e945d11d37b3. Backport of b1bf8c8a4ba04049dc19217bf0e876488a4fae3c from main
2021-09-21[4.0.x] Fixed #33083 -- Fixed selecting all items in the admin changelist ↵Carlton Gibson
when actions are both top and bottom. Thanks Benjamin Locher for the report. Regression in 30e59705fc3e3e9e8370b965af794ad6173bf92b. Backport of b0ed619303d2fb723330ca9efa3acf23d49f1d19 from main
2021-09-21[4.0.x] Fixed #33111 -- Fixed passing object to ModelAdmin.get_inlines() ↵Hasan Ramezani
when editing in admin change view. ModelAdmin.get_inlines() should get an unmutated object when creating formsets during POST request. Backport of 2f0f30f973363a59c20f204f9351724fb2ce7327 from main
2021-09-21[4.0.x] Refs #31026 -- Fixed forms_tests if Jinja2 is not installed.Mariusz Felisiak
Backport of 881a4799114fccefbc0f56c6524110ede2682e16 from main
2021-09-21[4.0.x] Fixed #33070 -- Fixed loading translations with language subtags in ↵Cleiton Lima
admin's Select2 widget. Backport of 8eb56930915f8022aa27ec29ab5be7d21764608c from main
2021-09-20Fixed #31026 -- Switched form rendering to template engine.David Smith
Thanks Carlton Gibson, Keryn Knight, Mariusz Felisiak, and Nick Pope for reviews. Co-authored-by: Johannes Hoppe <info@johanneshoppe.com>
2021-09-20Refs #33119 -- Added tests for changing model name case referenced by ↵AliGhotbizadeh
ManyToManyField. Fixed in aa4acc164d1247c0de515c959f7b09648b57dc42.
2021-09-18Fixed #33077 -- Fixed links to related models for admin's readonly fields in ↵Ken Whitesell
custom admin site.
2021-09-17Fixed #32492 -- Added TrigramWordSimilarity() and TrigramWordDistance() on ↵Nikita Marchant
PostgreSQL.
2021-09-17Refs #31026 -- Added extra form render tests.David Smith
2021-09-17Refs #31026 -- Moved Template tests to separate class.David Smith
2021-09-17Fixed #27674 -- Deprecated GeoModelAdmin and OSMGeoAdmin.Giannis Adamopoulos
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-09-16Refs #32074 -- Fixed find_module()/find_loader() warnings on Python 3.10+.Mariusz Felisiak
2021-09-16Fixed #32365 -- Made zoneinfo the default timezone implementation.Carlton Gibson
Thanks to Adam Johnson, Aymeric Augustin, David Smith, Mariusz Felisiak, Nick Pope, and Paul Ganssle for reviews.
2021-09-14Fixed #33012 -- Added Redis cache backend.Daniyal
Thanks Carlton Gibson, Chris Jerdonek, David Smith, Keryn Knight, Mariusz Felisiak, and Nick Pope for reviews and mentoring this Google Summer of Code 2021 project.
2021-09-14Fixed #32873 -- Deprecated settings.USE_L10N.Claude Paroz
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-09-10Fixed #31867 -- Made TabularInline handling of hidden fields with view-only ↵antoinehumbert
permissions consistent with StackedInline.
2021-09-10Fixed #33096 -- Fixed <form> nesting in technical 500 template.Jan Schär
This also prevents sending <form> tags in emails.
2021-09-09Fixed #33084 -- Removed incorrect system check for ManyToManyField with ↵Hasan Ramezani
limit_choices_to.
2021-09-08Fixed #32219 -- Made InlineModelAdmin.verbose_name_plural fallback to its ↵Siburg
verbose_name.
2021-09-08Refs #32219 -- Added admin model inline tests for verbose names.Siburg
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-09-08Fixed #30086, Refs #32873 -- Made floatformat template filter independent of ↵Mariusz Felisiak
USE_L10N.
2021-09-07Fixed #32076 -- Added async methods to BaseCache.Andrew-Chen-Wang
This also makes DummyCache async-compatible.
2021-09-07Refs #33060 -- Ensured cache backends validate keys.Nick Pope
The validate_key() function should be called after make_key() to ensure that the validation is performed on the key that will actually be stored in the cache. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2021-09-07Refs #33060 -- Added memcached test for make_key() making keys invalid.Mariusz Felisiak