| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-01-13 | Refs #29708 -- Stopped inheriting from PickleSerializer by RedisSerializer. | Adam Johnson | |
| 2022-01-13 | Improved 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-13 | Refs #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-13 | Fixed #33396 -- Added view name to technical 500 debug page. | Hrushikesh Vaidya | |
| 2022-01-13 | Refs #33396 -- Added django.views.debug.get_caller() hook. | Hrushikesh Vaidya | |
| 2022-01-12 | Changed 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-12 | Refs #33426 -- Simplified technical_404_response() with ↵ | Hrushikesh Vaidya | |
| ResolverMatch._func_path. | |||
| 2022-01-12 | Added exception to SuspiciousOperation logging. | Adam Johnson | |
| This allows better debugging and filtering of errors. | |||
| 2022-01-12 | Fixed #33433 -- Avoided unnecessary resolve() calls in technical_404_response(). | Hrushikesh Vaidya | |
| Thanks Keryn Knight for the initial patch. | |||
| 2022-01-11 | Fixed #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-11 | Refs #30141 -- Removed unused branch in parse_duration(). | Mariusz Felisiak | |
| Unused since 99fc5dc13c12d874ffc1c8f47a6421494e720b31. | |||
| 2022-01-11 | Fixed #13251 -- Made pre/post_delete signals dispatch the origin. | mgaligniana | |
| 2022-01-10 | Fixed #29026 -- Added --scriptable option to makemigrations. | Jacob Walls | |
| 2022-01-10 | Fixed #33426 -- Fixed ResolverMatch.__repr_() for class-based views. | Keryn Knight | |
| Regression in 7c08f26bf0439c1ed593b51b51ad847f7e262bc1. | |||
| 2022-01-10 | Simplified @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-08 | Fixed #33425 -- Fixed view name for CBVs on technical 404 debug page. | Keryn Knight | |
| Regression in 0c0b87725bbcffca3bc3a7a2c649995695a5ae3b. | |||
| 2022-01-07 | Refs #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-07 | Fixed #33419 -- Restored marking forms.Field.help_text as HTML safe. | David | |
| Regression in 456466d932830b096d39806e291fe23ec5ed38d5. Thanks Matt Westcott for the report. | |||
| 2022-01-07 | Fixed #28628 -- Changed \d to [0-9] in regexes where appropriate. | Ad Timmering | |
| 2022-01-07 | Fixed #33216 -- Simpilified deconstructed paths for some expressions. | Allen Jonathan David | |
| 2022-01-07 | Avoided 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-06 | Refs #33348 -- Deprecated passing errors=None to ↵ | Baptiste Mispelon | |
| SimpleTestCase.assertFormError()/assertFormsetErrors(). | |||
| 2022-01-06 | Fixed #33410 -- Fixed recursive capturing of callbacks by ↵ | Petter Friberg | |
| TestCase.captureOnCommitCallbacks(). Regression in d89f976bddb49fb168334960acc8979c3de991fa. | |||
| 2022-01-05 | Fixed #33400 -- Added support for msg_prefix and count arguments to ↵ | Ad Timmering | |
| assertTemplateUsed()/assertTemplateNotUsed() used as context managers. | |||
| 2022-01-05 | Refs #33400 -- Renamed SimpleTestCase._assert_template_used() to ↵ | Ad Timmering | |
| _get_template_used(). | |||
| 2022-01-05 | Fixed #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-04 | Refs #33216 -- Made @deconstructible do not change path for subclasses. | Allen Jonathan David | |
| 2022-01-04 | Fixed CVE-2021-45452 -- Fixed potential path traversal in storage subsystem. | Florian Apolloner | |
| Thanks to Dennis Brinkrolf for the report. | |||
| 2022-01-04 | Fixed 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-04 | Fixed 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-04 | Fixed #33402 -- Optimized multiple AlterFooTogether operations. | David Wobrock | |
| 2022-01-04 | Fixed #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-04 | Fixed #33408 -- Fixed adding nullable unique fields on SQLite. | Mariusz Felisiak | |
| Regression in 2f73e5406d54cb8945e187eff302a3a3373350be. Thanks Alan Crosswell for the report. | |||
| 2022-01-03 | Refs #29026 -- Allowed customizing InteractiveMigrationQuestioner's prompt ↵ | Jacob Walls | |
| destination. Previously, the questioner did not obey the value of stdout provided to the command. | |||
| 2021-12-30 | Refs #27753 -- Removed unused django.utils.text._replace_entity() and ↵ | Mariusz Felisiak | |
| _entity_re. Unused since 157ab32f3446da7fa1f9d716509c290069a2a156. | |||
| 2021-12-30 | Fixed #33300 -- Ensured hidden elements are not displayed on small screens. | Shubh1815 | |
| 2021-12-30 | Fixed #23273 -- Avoided creation of django_migrations table when there are ↵ | Jacob Walls | |
| no migrations to apply. | |||
| 2021-12-29 | Refs #26872 -- Fixed wrapping of long choices in ModelAdmin.list_filter. | Mariusz Felisiak | |
| Regression in 269a76714616fd7ad166a14113f3354bab8d9b65. | |||
| 2021-12-29 | Fixed wrapping of long values in technical 500 debug page. | Keryn Knight | |
| 2021-12-28 | Refs #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-27 | Refs #33342 -- Deprecated ExclusionConstraint.opclasses. | Hannes Ljungberg | |
| 2021-12-27 | Refs #29517 -- Removed obsolete PositiveIntegerField test skip. | Tim Graham | |
| 2021-12-24 | Fixed #33342 -- Added support for using OpClass() in exclusion constraints. | Hannes Ljungberg | |
| 2021-12-23 | Refs #31617 -- Changed dark mode primary-fg to give higher contrast to ↵ | David Smith | |
| secondary. | |||
| 2021-12-23 | Refs #33355 -- Constructed SQLite list aggregate types once. | Adam Johnson | |
| 2021-12-23 | Refs #33355 -- Removed @none_guard from SQLite functions. | Adam Johnson | |
| Co-Authored-By: Nick Pope <nick@nickpope.me.uk> | |||
| 2021-12-23 | Refs #33355 -- Made trunc functions raise ValueError on invalid lookups on ↵ | Adam Johnson | |
| SQLite. Co-Authored-By: Nick Pope <nick@nickpope.me.uk> | |||
| 2021-12-23 | Refs #33355 -- Moved SQLite functions to separate module. | Adam Johnson | |
| Co-Authored-By: Nick Pope <nick@nickpope.me.uk> | |||
| 2021-12-23 | Refs #33355 -- Optimized LPad() database function on SQLite. | Adam Johnson | |
| Co-Authored-By: Nick Pope <nick@nickpope.me.uk> | |||
| 2021-12-22 | Refs #32355 -- Bumped required psycopg2 version to 2.8.4. | Mariusz Felisiak | |
| psycopg2 2.8.4 is the first release to support Python 3.8. | |||
