summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-07-22Fixed formatting typo in docs/topics/forms/index.txt.Carlton Gibson
2023-07-21Fixed #34731, Refs #34118 -- Replaced assertEquals() with assertEqual() in ↵Michel Alexandre Salim
test_condition_with_func_and_lookup_outside_relation_name(). Signed-off-by: Michel Alexandre Salim <salimma@fedoraproject.org>
2023-07-21Added missing backticks in docs.Mariusz Felisiak
2023-07-21Refs #29789 -- Added more tests for FilteredRelation with condition outside ↵Francesco Panico
of relation name.
2023-07-21Refs #34362 -- Added get_child_with_renamed_prefix() hook.Francesco Panico
2023-07-20Fixed typo in docs/ref/models/querysets.txt.nessita
Removed assignment in example for Blog annotation to match shown result.
2023-07-20Refs #30052 -- Clarified that defer() and only() do not work with aggregated ↵Vyacheslav Dmitriev
fields.
2023-07-19Made UniqueConstraint raise TypeError for type violations.Simon Charette
2023-07-19Fixed #34701 -- Added support for NULLS [NOT] DISTINCT on PostgreSQL 15+.Simon Charette
2023-07-19Reduced unique constraint eligibility code duplication.Simon Charette
2023-07-19Fixed #34717 -- Fixed QuerySet.aggregate() crash when referencing window ↵Simon Charette
functions. Regression in 59bea9efd2768102fc9d3aedda469502c218e9b7. Refs #28477. Thanks younes-chaoui for the report.
2023-07-18Added reference to TypedChoiceField in ChoiceField docs.David Sanders
2023-07-18Refs #33201 -- Avoided unnecessary queries when renaming models with ↵Mariusz Felisiak
db_table on SpatiaLite.
2023-07-18Fixed #34036 -- Improved color contrast in admin light theme.Mariana
Thanks Nimra for the initial patch.
2023-07-18Fixed #34716 -- Fixed serialization of nested class methods in migrations.Nicolò Intrieri
Co-authored-by: Nicolò <nicolo.intrieri@spinforward.it>
2023-07-17Refs #27471 -- Made admin's filter choice arrows use cursor pointers.Christophe Henry
2023-07-17Refs #34118 -- Improved sanitize_address() error message for tuple with ↵Mariusz Felisiak
empty strings.
2023-07-14Fixed #34677 -- Made admin password reset templates more consistent.priyank.panchal
2023-07-14Refs #30686 -- Moved Parser.SELF_CLOSING_TAGS to django.utils.html.VOID_ELEMENTSDavid Smith
2023-07-14Refs #30686 -- Moved add_truncation_text() helper to a module level.David Smith
2023-07-14Fixed #34448 -- Doc'd and tested --no-obsolete option of makemessages.Tushar
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-07-12Fixed #34697 -- Fixed non-deterministic order of dependencies and ↵Yury V. Zaytsev
sets/frozensets in migrations. Co-authored-by: Dakota Hawkins <dakotahawkins@gmail.com>
2023-07-12Refs #30116 -- Simplified tests related with dictionary order.Mariusz Felisiak
Dicts preserve order since Python 3.6.
2023-07-12Fixed typo in docs/ref/checks.txt.Ryan Chausse
2023-07-12Fixed #34705 -- Reallowed BoundField.as_widget()'s attrs argument to set ↵Sage Abdullah
aria-describedby. Regression in 966ecdd482167f3f6b08b00f484936c837751cb9.
2023-07-11Refs #34691 -- Optimized system check for unmatched angle brackets in path().Mariusz Felisiak
Follow up to d1855c4847215f3afe3708736be13388bb6437eb.
2023-07-11Removed redundant check from WKTWriter.__init__().Olivier Tabone
This is already checked in trim.setter.
2023-07-11Fixed #34691 -- Added system check for unmatched angle brackets in path().Amir Karimi
2023-07-11Fixed #34309 -- Doc'd how to fully delete an app.Marcelo Galigniana
Co-authored-by: nessita <124304+nessita@users.noreply.github.com> Co-authored-by: shangxiao <shang.xiao.sanders@gmail.com> Co-authored-by: sarahboyce <42296566+sarahboyce@users.noreply.github.com> Co-authored-by: felixxm <felisiak.mariusz@gmail.com>
2023-07-11Refs #34695 -- Added tests for check for CSRF_FAILURE_VIEW signature with ↵Mariusz Felisiak
valid class-based view.
2023-07-11Bumped versions in pre-commit and npm configurations.Mariusz Felisiak
2023-07-10Fixed #34698 -- Made QuerySet.bulk_create() retrieve primary keys when ↵Thomas Chaumeny
updating conflicts.
2023-07-10Refs #31949 -- Made @vary_on_(cookie/headers) decorators work with async ↵Ben Lomax
functions.
2023-07-10Made @vary_on_cookie decorator reuse @vary_on_headers.Mariusz Felisiak
2023-07-10Fixed #34696 -- Updated selection counter in admin changelist on Chrome.Cauê Thenório
2023-07-10Refs #31949 -- Mentioned @sensitive_variables/sensitive_post_parameters ↵Mariusz Felisiak
decorators in async topic. Follow up to 38e391e95fe5258bc6d2467332dc9cd44ce6ba52.
2023-07-10Refs #31949 -- Made @csrf_exempt decorator to work with async functions.Ben Lomax
2023-07-10Fixed #34688 -- Removed contrib.sitemaps.ping_google() and ping_google ↵Andrew Northall
management command. Thanks Joachim Jablon for the report. Google has deprecated the sitemap ping endpoint, and will be removing it in 6 months ~January 2024.
2023-07-07Refs #9602 -- Moved AlreadyRegistered/NotRegistered exceptions to ↵Mariusz Felisiak
django.contrib.admin.exceptions.
2023-07-07Fixed #32210 -- Fixed model inlines with to_field that has a default.Neeraj Kumar
2023-07-07Refs #24377 -- Added assertions for model inlines with primary key that has ↵Neeraj Kumar
a default. This ensures that a model field default is ignored.
2023-07-07Fixed #9602 -- Added AdminSite.get_model_admin().Mariusz Felisiak
This allows retrieving an admin class for the given model class without using internal attributes.
2023-07-07Fixed #34639 -- Reverted "Fixed #32682 -- Made admin changelist use Exists() ↵Simon Charette
instead of distinct() for preventing duplicates." This reverts commit 187118203197801c6cb72dc8b06b714b23b6dd3d which moved to using Exists() instead due to an overly strict distinct().delete() check added in #32433.
2023-07-07Refs #32433 -- Reallowed calling QuerySet.delete() after distinct().Simon Charette
While values(*field_excluding_pk).distinct() and distinct(*field_excluding_pk) can reduce the number of resulting rows in a way that makes subsequent delete() calls ambiguous standalone .distinct() calls cannot. Since delete() already disallows chain usages with values() the only case that needs to be handled, as originally reported, is when DISTINCT ON is used via distinct(*fields). Refs #32682 which had to resort to subqueries to prevent duplicates in the admin and caused significant performance regressions on MySQL (refs #34639). This partly reverts 6307c3f1a123f5975c73b231e8ac4f115fd72c0d.
2023-07-06Used AdminSite.is_registered() where appropriate.Mariusz Felisiak
2023-07-06Fixed #32819 -- Established relationship between form fields and their help ↵Gregor Jerše
text. Thanks Nimra for the initial patch. Thanks Natalia Bidart, Thibaud Colas, David Smith, and Mariusz Felisiak for reviews.
2023-07-05Made some Selenium tests less flaky by adding explicit wait.sarahboyce
2023-07-04Fixed isolation of SeleniumTests.test_search_input_filtered_page() test.Mariusz Felisiak
Test crashed when the sidebar was not closed.
2023-07-04Made ↵Sarah Boyce
SeleniumTests.test_updating_related_objects_updates_fk_selects_except_autocompletes() test less flaky by adding explicit Selenium wait.
2023-07-03Fixed #33405, Refs #7177 -- Clarified docs for filter escapejs regarding ↵Jon Ribbens
safe and unsafe usages.