summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-12-07Refs #34986 -- Fixed ↵Nick Pope
backends.postgresql.test_server_side_cursors.ServerSideCursorsPostgres tests for PyPy.
2023-12-07Refs #34986 -- Used non-binary build of psycopg for PyPy.Nick Pope
2023-12-07Fixed #35020 -- Fixed ModelAdmin.lookup_allowed() for non-autofield primary ↵Sarah Boyce
keys. Thanks Joshua Goodwin for the report. Regression in 45ecd9acca9b36093e274f47b6877a5f79108d9e.
2023-12-06Replaced deprecated database type synonyms in Oracle backend.Mariusz Felisiak
2023-12-06Refs #34986 -- Added PyPy to tox.ini.Nick Pope
2023-12-06Refs #34986 -- Moved garbage_collect() helper to django.test.utils.Nick Pope
2023-12-06Refs #34986 -- Avoided implementation-specific unpickleable types.Nick Pope
The implementation of some core types differ between CPython and PyPy and this may affect the way that pickling works such that errors are raised in differing locations in the interpreter or not at all. Use our own custom non-pickleable type instead to avoid these quirks.
2023-12-06Fixed typo in tests/backends/postgresql/test_server_side_cursors.py.Nick Pope
2023-12-05Changed django.contrib.gis.geoip2 package to a module.Nick Pope
2023-12-05Inlined django.contrib.gis.geoip2.resources module.Nick Pope
2023-12-05Deprecated django.contrib.gis.geoip2.GeoIP2.open().Nick Pope
2023-12-05Added stub release notes for 4.2.9.Mariusz Felisiak
2023-12-05Updated expected release date for 5.0.1.Mariusz Felisiak
2023-12-04Added stub release notes for 5.0.1.Natalia
2023-12-04Updated translations from Transifex.Natalia
Forwardport of 8e1b820fa10d16664beb5d1ca2f5671891da1704 from stable/5.0.x.
2023-12-04 Finalized release notes for Django 5.0.Natalia
2023-12-04Fixed #34830 -- Added request to bad_request/csrf_failure view template ↵yushanfans2233
contexts.
2023-12-04Added release date for 4.2.8.Mariusz Felisiak
2023-12-03Removed unused CSS rules for related widget in RTL.Tom Carrick
2023-12-03Fixed #35002 -- Made UniqueConstraints with fields respect nulls_distinct.Peter Thomassen
Regression in 595a2abb58e04caa4d55fb2589bb80fb2a8fdfa1.
2023-12-01Fixed #35001 -- Fixed position of related widget action icons in admin for ↵Tom Carrick
some screen sizes.
2023-12-01Made GeoIP2.__del__() close all databases.Nick Pope
2023-12-01Improved wording in auth.models.User field docs.Adrien
Co-authored-by: Lily Foote <code@lilyf.org>
2023-12-01Refs #35004 -- Restored the direction of arrows in admin selector boxes for ↵Mariusz Felisiak
RTL languages on mobile screens. Regression in 57c1dd466ff0d41760049d6818e82be9d767c7da.
2023-12-01Deprecated django.contrib.gis.geoip2.GeoIP2.coords().Nick Pope
The `ordering` argument is undocumented and of limited use, so this is effectively the same as `GeoIP2.lon_lat()`.
2023-12-01Simplified coordinate retrieval routines for GeoIP2.Nick Pope
Also removed dead code checking for ``None`` as ``GeoIP2.city()` cannot return ``None``.
2023-12-01Refs #35003 -- Corrected "wide" form margins in admin for LTR languages.Tom Carrick
2023-11-30Fixed #34995 -- Improved position of related widget's add link on admin ↵Tom Carrick
pages on small screens. Regression in 1699f8b52ac15f687cc39088401c2641022c71cd. Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> Co-authored-by: Natalia Bidart <124304+nessita@users.noreply.github.com>
2023-11-30Refs #34995 -- Made Selenium tests more robust for admin_views and ↵Sarah Boyce
admin_widgets suites. Depending on screen sizes, the selenium tests that would "click" or interact with an element outside the scope of the visible window would produce test failures (raising ElementNotInteractableException in CI runs). This branch switches those to using ActionChains, which ensures that the click (or other interaction) is performed only after successfully completing the move to the relevant element. Co-authored-by: Tom Carrick <tom@carrick.eu>
2023-11-30Fixed #35003 -- Corrected margins in admin for RTL languages.Tom Carrick
2023-11-30Fixed #35006 -- Fixed migrations crash when altering Meta.db_table_comment ↵Mariusz Felisiak
on SQLite. Thanks Юрий for the report. Regression in 78f163a4fb3937aca2e71786fbdd51a0ef39629e.
2023-11-30Fixed #35004 -- Corrected the direction of arrows in admin selector boxes ↵Mariusz Felisiak
for RTL languages on small screens. Follow up to 12617fbd859b1244e91bcf182a2fdf356b388821.
2023-11-30Improved structure of Contributing Guide start page.Mark Walker
2023-11-29Refs #34986 -- Removed redundant CustomChoicesTests.test_timezone_unsupported().Nick Pope
This test relied on the behavior of subclassing `datetime.timezone` which is not permitted by the C-extension version of CPython's `datetime` module. This restriction isn't enforced by the pure Python version, nor by PyPy. See https://github.com/python/cpython/issues/112451 It's not critical, and doesn't test any Django behavior, so just remove it.
2023-11-29Removed unused GeoIP2.info property.Nick Pope
2023-11-29Updated conditions to retrieve primary keys in bulk_create() docs.KimSia Sim
2023-11-29Refs #25778 -- Updated some links and references to HTTPS.Adam Johnson
2023-11-28Removed hard-coded expected results in SeleniumTests.test_select_multiple test.nessita
This ensures that both tests, test_select() and test_select_multiple(), use analogous calculations for the expected amount of results, and for the iteration when pressing "arrow down" and waiting for the ajax call to complete.
2023-11-28Removed link to lawrence.com in contrib.sites docs.Adam Johnson
lawrence.com has since become a redirect to LJWorld.com, making the link pointless.
2023-11-28Refs #34380 -- Added FORMS_URLFIELD_ASSUME_HTTPS transitional setting.Mariusz Felisiak
This allows early adoption of the new default "https".
2023-11-28Refs #34822, Refs #34986 -- Fixed migrations serializer support for ↵Nick Pope
functools.lru_cache(). It turns out that `functools._lru_cache_wrapper` is only a class when CPython's _functools C module provides it, otherwise it is a function. PyPy also provides it as a function.
2023-11-28Refs #21442 -- Increased test coverage of requests.David Smith
2023-11-28Refs #34986 -- Fixed some test assertions for PyPy.Nick Pope
These failures were due to minor inconsistencies or implementation differences between CPython and PyPy.
2023-11-28Refs #34986 -- Added PyPy support to ↵Nick Pope
django.utils.autoreload.get_child_arguments(). It seems that `sys._xoptions` is also supported on PyPy.
2023-11-28Refs #34986 -- Fixed mocking in ↵Nick Pope
utils_tests.test_http.HttpDateProcessingTests.test_parsing_rfc850. Mocking in the `datetime` module can be tricky. In CPython the datetime C module is used, but PyPy uses a pure Python implementation. This caused issues with the prior approach to mocking `datetime.datetime`. See https://docs.python.org/3/library/unittest.mock-examples.html#partial-mocking
2023-11-28Fixed #34633 -- Made create() method of reverse many-to-one managers clear ↵Aman Pandey
prefetch_related() cache.
2023-11-27Fixed #34982 -- Fixed admin's read-only password widget and help texts ↵Tom Carrick
alignment for tablet screen size. Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com>
2023-11-27Fixed #34978, Refs #31331 -- Added backward incompatibility note about raw ↵Mariusz Felisiak
aggregations on MySQL. Thanks Matthew Somerville for the report.
2023-11-27Refs #34986 -- Added django.utils.version.PYPY.Nick Pope
2023-11-27Refs #34986 -- Avoided pickling error in DjangoUnicodeDecodeError.Nick Pope
By using the existing object reference instead of a custom one, pickling related issues when running the test suite in parallel can be avoided.