summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-10Fixed #33428 -- Confirmed support for PostGIS 3.2.Nick Pope
2022-01-10Fixed #33426 -- Fixed ResolverMatch.__repr_() for class-based views.Keryn Knight
Regression in 7c08f26bf0439c1ed593b51b51ad847f7e262bc1.
2022-01-10Corrected signatures of some functions in docs.Mariusz Felisiak
2022-01-10Corrected directive for signals in django.contrib.auth docs.Mariusz Felisiak
2022-01-10Simplified @stringfilter decorator and Library with unwrap().Baptiste Mispelon
Nowadays we can use inspect.unwrap() to retrieve the innermost function object when needed, and most of the uses of _decorated_function were to access the original __name__ which is not needed because @functools.wraps sets that attribute correctly.
2022-01-10Refs #32193 -- Removed python-memcached from test requirements.Jacob Walls
Follow up to 05f3a6186efefc9fca2204a745b992501c6fd91f.
2022-01-08Fixed #33425 -- Fixed view name for CBVs on technical 404 debug page.Keryn Knight
Regression in 0c0b87725bbcffca3bc3a7a2c649995695a5ae3b.
2022-01-07Refs #32355 -- Removed unnecessary list() calls before reversed() on dictviews.Mariusz Felisiak
Dict and dictviews are iterable in reversed insertion order using reversed() in Python 3.8+.
2022-01-07Fixed #33419 -- Restored marking forms.Field.help_text as HTML safe.David
Regression in 456466d932830b096d39806e291fe23ec5ed38d5. Thanks Matt Westcott for the report.
2022-01-07Fixed #28628 -- Changed \d to [0-9] in regexes where appropriate.Ad Timmering
2022-01-07Refs #28628 -- Added tests for intcomma with non-ASCII digits.Ad Timmering
2022-01-07Fixed #33216 -- Simpilified deconstructed paths for some expressions.Allen Jonathan David
2022-01-07Avoided isinstance(…, Variable) calls in FilterExpression.resolve().Keryn Knight
By determining the variable type within __init__() instead of resolve() we can skip an isinstance() check at template runtime. Templates are executed in production more often than the parse trees themselves, assuming the cached Loader is used.
2022-01-06Refs #33348 -- Deprecated passing errors=None to ↵Baptiste Mispelon
SimpleTestCase.assertFormError()/assertFormsetErrors().
2022-01-06Fixed #33410 -- Fixed recursive capturing of callbacks by ↵Petter Friberg
TestCase.captureOnCommitCallbacks(). Regression in d89f976bddb49fb168334960acc8979c3de991fa.
2022-01-05Fixed #33400 -- Added support for msg_prefix and count arguments to ↵Ad Timmering
assertTemplateUsed()/assertTemplateNotUsed() used as context managers.
2022-01-05Refs #33400 -- Renamed SimpleTestCase._assert_template_used() to ↵Ad Timmering
_get_template_used().
2022-01-05Fixed #32511 -- Corrected handling prefetched nested reverse relationships.Jamie Matthews
When prefetching a set of child objects related to a set of parent objects, we usually want to populate the relationship back from the child to the parent to avoid a query when accessing that relationship attribute. However, there's an edge case where the child queryset itself specifies a prefetch back to the parent. In that case, we want to use the prefetched relationship rather than populating the reverse relationship from the parent.
2022-01-05Removed unused comment directive in CBV topic docs.David
2022-01-05Fixed malformed attribute directives in docs.David
2022-01-04Refs #33216 -- Made @deconstructible do not change path for subclasses.Allen Jonathan David
2022-01-04Refs #21275 -- Added more tests for @deconstructible decorator.Allen Jonathan David
2022-01-04Added CVE-2021-45115, CVE-2021-45116, and CVE-2021-45452 to security archive.Carlton Gibson
2022-01-04Added stub release notes for Django 4.0.2.Carlton Gibson
2022-01-04Corrected merge error in release notes.Carlton Gibson
2022-01-04Fixed CVE-2021-45452 -- Fixed potential path traversal in storage subsystem.Florian Apolloner
Thanks to Dennis Brinkrolf for the report.
2022-01-04Fixed CVE-2021-45116 -- Fixed potential information disclosure in dictsort ↵Florian Apolloner
template filter. Thanks to Dennis Brinkrolf for the report. Co-authored-by: Adam Johnson <me@adamj.eu>
2022-01-04Fixed CVE-2021-45115 -- Prevented DoS vector in ↵Florian Apolloner
UserAttributeSimilarityValidator. Thanks Chris Bailey for the report. Co-authored-by: Adam Johnson <me@adamj.eu>
2022-01-04Avoided suggestion of plain text database password in sessions topic.Luke Plant
2022-01-04Fixed #33402 -- Optimized multiple AlterFooTogether operations.David Wobrock
2022-01-04Fixed #33406 -- Avoided creation of MaxLengthValidator(None) when resolving ↵Keryn Knight
Value.output_field for strings. This brings the behaviour in line with Field subclasses which append to the validators within __init__(), like BinaryField, and prevents the creation of a validator which incorrectly throws a TypeError, if it were used.
2022-01-04Refs #33406 -- Added test for not creating broken validators when resolving ↵Keryn Knight
Value.output_field.
2022-01-04Fixed #33408 -- Fixed adding nullable unique fields on SQLite.Mariusz Felisiak
Regression in 2f73e5406d54cb8945e187eff302a3a3373350be. Thanks Alan Crosswell for the report.
2022-01-03Refs #29026 -- Allowed customizing InteractiveMigrationQuestioner's prompt ↵Jacob Walls
destination. Previously, the questioner did not obey the value of stdout provided to the command.
2022-01-03Refs #31026 -- Changed @jinja2_tests imports to be relative.Jacob Walls
2021-12-31Fixed #33391 -- Clarified Aggregate.empty_result_set_value docs.Mariusz Felisiak
2021-12-30Refs #27753 -- Removed unused django.utils.text._replace_entity() and ↵Mariusz Felisiak
_entity_re. Unused since 157ab32f3446da7fa1f9d716509c290069a2a156.
2021-12-30Removed obsolete Oracle's test_client_encoding() test.Mariusz Felisiak
encoding and nencoding parameters were deprecated in cx_Oracle 8.2. Moreover, encoding is handled internally between cx_Oracle and Oracle Database and there is no need to test it.
2021-12-30Improved @display(empty_value) example in ModelAdmin.empty_value_display docs.mangelozzi
2021-12-30Fixed #27936 -- Rewrote spanning multi-valued relationships docs.Jacob Walls
2021-12-30Added default values to Entry's fields in making queries docs.Mariusz Felisiak
This makes it easier to create a data in examples.
2021-12-30Fixed #33300 -- Ensured hidden elements are not displayed on small screens.Shubh1815
2021-12-30Fixed #23273 -- Avoided creation of django_migrations table when there are ↵Jacob Walls
no migrations to apply.
2021-12-29Refs #26872 -- Fixed wrapping of long choices in ModelAdmin.list_filter.Mariusz Felisiak
Regression in 269a76714616fd7ad166a14113f3354bab8d9b65.
2021-12-29Fixed wrapping of long values in technical 500 debug page.Keryn Knight
2021-12-28Refs #31617 -- Removed redundant title text in filter.html.David Smith
Unnecessary since 269a76714616fd7ad166a14113f3354bab8d9b65. Title text should provide advisory information and should not be the same or very similar to the element text.
2021-12-28Updated example of YAML serialization format in docs.Sergey Fursov
2021-12-28Avoided counting attributes and methods in docs.Mariusz Felisiak
2021-12-28Added stub release notes for 4.0.1, 3.2.11, and 2.2.26 releases.Carlton Gibson
2021-12-27Refs #22983 -- Added tests for squashing migrations with functions from ↵Mariusz Felisiak
migration files. Follow up to ebb13bbd884d8c3053d1d342ef0423240feb05e6.