summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-01-29Fixed #24128 -- Made admindocs TemplateDetailView respect template_loaders.Kris Avi
Co-Authored-By: Author: Alexander Lazarević <laza@e11bits.com>
2024-01-29Refs #35058 -- Added support for measured geometries to GDAL LineString.David Smith
2024-01-29Updated translations from Transifex.Claude Paroz
Forwardport of 3cc35aafabb1523c39332ee83e769b085ed3d923 from stable/5.0.x.
2024-01-28Refs #35058 -- Made centroid available on all geometry types.David Smith
Centroid is available on all geometry types since GDAL 1.8.0. Previously it was restricted to Polygon. https://gdal.org/doxygen/classOGRGeometry.html#a91787f669b2a148169667e270e7e40df
2024-01-27Updated Python license for 2024.Michael K
2024-01-26Bumped versions in Github actions configuration.Mariusz Felisiak
2024-01-26Ignored 305757aec19c9d5111e4d76095ae0acd66163e4b formatting changes in git ↵Mariusz Felisiak
blame.
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
https://github.com/psf/black/releases/tag/24.1.0
2024-01-25Refs #35058 -- Added support for measured geometries to GDAL Point.David Smith
Co-authored-by: Nick Pope <nick@nickpope.me.uk>
2024-01-24Added test for the sendtestemail command when no recipients are given.Baptiste Mispelon
2024-01-24Fixed #35115 -- Made admin's footer render in <footer> tag.Marijke Luttekes
2024-01-23Fixed #34971 -- Doc'd additional loggers.duranbe
Co-authored-by: duranbe <benoit.durand.mail@gmail.com> Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2024-01-23Fixed #32923 -- Refactored out Field._clean_bound_field().Syed Waheed
2024-01-23Refs #33517 -- Prevented __second lookup from returning fractional seconds ↵Hisham Mahmood
on Oracle.
2024-01-23Refs #35058 -- Deprecated OGRGeometry.coord_dim setter.David Smith
Reflecting a change in the underlying GDAL library (since GDAL 2.1) using coord_dim to set a geometries dimensions is deprecated in favor of set_3d().
2024-01-22Fixed typo in docs/topics/auth/default.txt.Adrienne Franke
2024-01-22Fixed #35130 -- Doc'd django.db.close_old_connections().Salvo Polizzi
This also adds close_db_connections() to the django.db.__all__.
2024-01-22Added more WKT and WKB tests.David Smith
2024-01-22Fixed tutorial 'background.gif' reference.Adam Johnson
Missed in 76fda7729e4cdfec715cd92b2c80d851797b05f7.
2024-01-20Updated "Dive Into Python" links.Emmanuel Katchy
2024-01-19Fixed #35127 -- Made Model.full_clean() ignore GeneratedFields.Mariusz Felisiak
Thanks Claude Paroz for the report. Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95.
2024-01-19Fixed #34910 -- Improved color contrast for add/change icons in admin.Hisham Mahmood
2024-01-18Fixed #35121 -- Corrected color for links in the admin.Salvo Polizzi
Thanks Collin Anderson for the report. Regression in 6ad2738a8f32b94cbae742f212080fadf2dee421.
2024-01-18Corrected forms imports in forms_tests/tests/test_forms.py.Mariusz Felisiak
2024-01-18Refs #35058 -- Added is_3d and set_3d() to OGRGeometry.David Smith
2024-01-18Fixed typo in docs/ref/migration-operations.txt.Viicos
2024-01-17Fixed #31700 -- Made makemigrations command display meaningful symbols for ↵Amir Karimi
each operation.
2024-01-16Fixed #35117 -- Added support for the hectare unit in Area.Alexis Athlani
2024-01-16Improved --list-tags help text for check management command.David Sanders
Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com>
2024-01-16Used more specific link to email backends in EMAIL_BACKEND docs.Baptiste Mispelon
2024-01-16Fixed #35111 -- Fixed compilation of DateField __in/__range rhs on SQLite ↵Simon Charette
and MySQL. Also removed tests that ensured that adapt_(date)timefield backend operations where able to deal with expressions when it's not the case for any other adapt methods.
2024-01-16Refs #22288 -- Corrected __range lookup test names.Simon Charette
2024-01-16Fixed #35112 -- Removed previous/next month animation in admin calendar widget.Alexander Lazarević
2024-01-15Fixed #34949 -- Clarified when UniqueConstraints with include/nulls_distinct ↵jordanbae
are not created.
2024-01-15Fixed #28344 -- Allowed customizing queryset in ↵Aivars Kalvans
Model.refresh_from_db()/arefresh_from_db(). The from_queryset parameter can be used to: - use a custom Manager - lock the row until the end of transaction - select additional related objects
2024-01-15Refs #35102 -- Optimized replace_expressions()/relabelling aliases by adding ↵Mariusz Felisiak
early return. This avoids costly hashing. Thanks Anthony Shaw for the report. Co-Authored-By: Simon Charette <charette.s@gmail.com>
2024-01-15Refs #35102 -- Optimized Expression.identity used for equality and hashing.Simon Charette
inspect.signature() is quite slow and produces the same object for each instance of the same class as they share their __init__ method which makes it a prime candidate for caching. Thanks Anthony Shaw for the report.
2024-01-12Fixed #35028 -- Disabled server-side bindings for named cursors on psycopg >= 3.Simon Charette
While we provide a `cursor_factory` based on the value of the `server_side_bindings` option to `psycopg.Connection` it is ignored by the `cursor` method when `name` is specified for `QuerySet.iterator()` usage and it causes the usage of `psycopg.ServerCursor` which performs server-side bindings. Since the ORM doesn't generates SQL that is suitable for server-side bindings when dealing with parametrized expressions a specialized cursor must be used to allow server-side cursors to be used with client-side bindings. Thanks Richard Ebeling for the report. Thanks Florian Apolloner and Daniele Varrazzo for reviews.
2024-01-12Added test ensuring that validate_password is used in AdminPasswordChangeForm.nessita
Co-authored-by: Fabian Braun <fsbraun@gmx.de>
2024-01-12Avoided nested transactions in SkippingClassTestCase.Florian Apolloner
2024-01-11Reorganized the Contributing to Django docs.Mark Walker
This work follows a comprehensive review conducted during the DjangoCon US 2023 sprints. Changes include: - Updated the title of the main page for better alignment with the content. - Removed emojis to enhance accessibility and avoid cultural specificity. - Improved the layout and navigation of contributing documentation. - Unified sections for communication channels and community links. - Grouped resources according to the Diátaxis systematic approach. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> Co-authored-by: Daniele Procida <daniele@vurt.org>
2024-01-11Refs #28404 -- Made displaying property values in admin respect non-None ↵Alexander Lazarević
empty values.
2024-01-11Fixed #35100 -- Reworked GeoIP2 database initialization.Nick Pope
2024-01-10Fixed #34769 -- Fixed key transforms on Oracle 21c+.Mariusz Felisiak
Oracle 21c introduced support for primivites in JSON fields that caused changes in handling them by JSON_QUERY/JSON_VALUE functions.
2024-01-10Fixed #35092 -- Exposed extra fields for GeoIP2.country() and GeoIP2.city() ↵Nick Pope
responses.
2024-01-10Fixed #28404 -- Made displaying values in admin respect Field's empty_values.Alexander Lazarević
2024-01-09Made management command examples more consistent in docs.evananyonga
2024-01-09Fixed #35097 -- Tested parse_datetime() with bare date.Tim Graham
Regression test for behavior change in f35ab74752adb37138112657c1bc8b91f50e799b.
2024-01-09Fixed #35096 -- Corrected alignment for error lists in admin "wide" forms.Fabian Braun
Regression in be06c39abe80ca650e37810d16d15ff60e8c9727 (LTR) and b34a4771a3d4cd7829a1f38a0f6a7a0da519a724 (RTL).
2024-01-09Refs #28404 -- Split test_null_display_for_field() test.Alexander Lazarević