summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2023-07-03Fixed typo in tests/admin_docs/models.py.davidolz
2023-07-03Added stub release notes for 4.2.4.Mariusz Felisiak
2023-07-03Added CVE-2023-36053 to security archive.Mariusz Felisiak
2023-07-03Fixed CVE-2023-36053 -- Prevented potential ReDoS in EmailValidator and ↵Mariusz Felisiak
URLValidator. Thanks Seokchan Yoon for reports.
2023-06-30Fixed RelatedGeoModelTest.test_centroid_collect_filter().Mariusz Felisiak
2023-06-30Fixed #34687 -- Made Apps.clear_cache() clear get_swappable_settings_name() ↵sobolevn
cache.
2023-06-30Fixed #34572 -- Added support for GDAL 3.7.Mariusz Felisiak
Co-authored-by: Michael Howitz <mh@gocept.com>
2023-06-29Fixed #30382 -- Allowed specifying parent classes in force_insert of ↵Akash Kumar Sen
Model.save().
2023-06-29Fixed #34685 -- Dropped support for GEOS 3.6 and 3.7.Mariusz Felisiak
2023-06-29Refs #30382 -- Added more tests for using force_insert with model inheritance.Akash Kumar Sen
2023-06-29Fixed #34684 -- Dropped support for GDAL 2.2 and 2.3.Mariusz Felisiak
2023-06-29Refs #34572 -- Added missing GDAL_PIXEL_TYPES from GDAL 3.5+.Claude Paroz
Check out https://github.com/OSGeo/gdal/blob/6e9103bd5/gcore/gdal.h#L62
2023-06-28Fixed RecorderTests.test_has_table_cached() on databases that perform ↵Mariusz Felisiak
multiple queries when introspecting tables. Thanks Tim Graham for the report and implementation idea. Follow up to ea8cbca579cc6742e119747fc1eb6ecf90638bce.
2023-06-28Fixed #34681 -- Optimized memcache_key_warnings().Adam Johnson
2023-06-28Fixed typo in docs/intro/tutorial08.txt.Cerebro Cerberus
2023-06-27Added dedicated section for output_field in query expressions docs.nessita
2023-06-27Fixed #34671 -- Fixed collation introspection for views and materialized ↵Mariusz Felisiak
views on Oracle. Thanks Philipp Maino for the report.
2023-06-27Fixed typo in docs/ref/models/querysets.txt.Mariusz Felisiak
2023-06-27Fixed #34391 -- Added async-compatible interface to auth functions and ↵Jon Janzen
related methods test clients.
2023-06-26Added stub release notes and release date for 4.2.3, 4.1.10, and 3.2.20.Mariusz Felisiak