summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-18Fixed #33446 -- Added CSS source map support to ManifestStaticFilesStorage.Adam Johnson
2022-01-18Removed unused buf_size argument to LimitedStream().Nick Pope
Unused since its introduction in 269e921756371bee6d35a967bc2ffe84d1ae39eb.
2022-01-17Fixed #29338 -- Allowed using combined queryset in Subquery.Mariusz Felisiak
Thanks Eugene Kovalev for the initial patch, Simon Charette for the review, and Chetan Khanna for help.
2022-01-17Fixed #33435 -- Fixed invalid SQL generatered by Subquery.as_sql().My-Name-Is-Nabil
2022-01-17Fixed #33443 -- Clarified when PasswordResetView sends an email.Brad Solomon
2022-01-14Fixed #28135 -- Made simplify_regex() handle non-capturing groups.Ayush Joshi
2022-01-14Fixed #33441 -- Restored immutability of models.Field.__hash__().Adam Johnson
Regression in 502e75f9ed5476ffe8229109acf0c23999d4b533.
2022-01-13Clarified how contrib.auth picks a password hasher for verification.Adam Johnson
2022-01-13Refs #28135 -- Refactored out _find_groups()/_get_group_start_end() hooks in ↵Ayush Joshi
admindocs.
2022-01-13Fixed #29708 -- Deprecated PickleSerializer.Adam Johnson
2022-01-13Optimized SessionBase.get_expire_at_browser_close().Adam Johnson
2022-01-13Refs #29708 -- Made SessionBase store expiry as string.Adam Johnson
2022-01-13Refs #29708 -- Stopped inheriting from PickleSerializer by RedisSerializer.Adam Johnson
2022-01-13Improved Model.__init__() properties loop.Adam Johnson
This improves readability, accumulates unrecognized arguments raise an exception with all of them, and avoids refetching the values.
2022-01-13Refs #32681 -- Fixed VariableDoesNotExist when rendering some admin template.Mariusz Felisiak
Regression in 84609b3205905097d7d3038d32e6101f012c0619. Follow up to 4e5bbb6ef2287126badd32842b239f4a8a7394ca. Thanks Sourav Kumar for the report.
2022-01-13Fixed #33396 -- Added view name to technical 500 debug page.Hrushikesh Vaidya
2022-01-13Refs #33396 -- Added django.views.debug.get_caller() hook.Hrushikesh Vaidya
2022-01-12Changed django.utils.log.log_response() to take exception instance.Adam Johnson
There's little point retrieving a fresh reference to the exception in the legacy tuple format, when it's all available via the exception instance we already have.
2022-01-12Refs #33426 -- Simplified technical_404_response() with ↵Hrushikesh Vaidya
ResolverMatch._func_path.
2022-01-12Added exception to SuspiciousOperation logging.Adam Johnson
This allows better debugging and filtering of errors.
2022-01-12Updated Python license for 2022.Mariusz Felisiak
2022-01-12Fixed #33433 -- Avoided unnecessary resolve() calls in technical_404_response().Hrushikesh Vaidya
Thanks Keryn Knight for the initial patch.
2022-01-12Alphabetized field attributes in form topic docs.David Smith
2022-01-12Fixed typo in docs/ref/contrib/admin/index.txt.Scott Pashley
2022-01-12Fixed #33432 -- Fixed typo in docs/howto/outputting-csv.txt.Zeilentaucher
2022-01-11Fixed #11715 -- Changed default value of ModelAdmin.actions/inlines to empty ↵Jacob Walls
tuples. This clarifies the intended pattern of overwriting the default value rather than mutating it.
2022-01-11Refs #30141 -- Removed unused branch in parse_duration().Mariusz Felisiak
Unused since 99fc5dc13c12d874ffc1c8f47a6421494e720b31.
2022-01-11Fixed #13251 -- Made pre/post_delete signals dispatch the origin.mgaligniana
2022-01-11Fixed typo in docs/ref/contrib/admin/index.txt.Victor Peralta
2022-01-10Fixed #29026 -- Added --scriptable option to makemigrations.Jacob Walls
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