Refs #35359 -- Fixed OperationTests.test_add_generate_field() test on PostgreSQL. Concat() in Django 5.0 is not immutable on PostgreSQL and cannot be used in GeneratedField, see 6364b6ee107...
https://code.djangoproject.com/changeset/ac9e18f1c4f17d956d203779df1b22faeffa670f
Fixed #35427 -- Corrected help text for makemessages --extension in docs/ref/django-admin.txt. Backport of 32d163e680817e202e0def3fbb70d2450b02cffd from main.
https://code.djangoproject.com/changeset/59c3f8a539dcea6845ace20f2b5212f7378948ba
fixed: In 32d163e6 : Fixed #35427 -- Corrected help text for makemessages --extension in docs/ref/django-admin.txt.
Fixed #35427 -- Corrected help text for makemessages --extension in docs/ref/django-admin.txt.
https://code.djangoproject.com/changeset/32d163e680817e202e0def3fbb70d2450b02cffd
Refs #31224 -- Fixed typo in django/test/client.py.
https://code.djangoproject.com/changeset/3614ce2b7cf2dae686728f9cc56cde02272f1784
Many management commands take a --database option to select which database to operate on. Currently, this is unvalidated, causing crashes when a bad name is typed: $ ./manage.py migrate --da...
Following this forum thread on password hashers iterations/parameters , it was agreed that the current parallelism parameter for ScryptPasswordHasher should be increased to 5. Alternatively w...
Refs #35422 -- Fixed typo in docs/releases/5.0.5.txt. Backport of e72049aa6302411d8cdf2e798e15fa38e76b92fc from main.
https://code.djangoproject.com/changeset/e18e9315a3e8b295cf3763b07cc3b4c3beffca32
Refs #35422 -- Fixed typo in docs/releases/5.0.5.txt.
https://code.djangoproject.com/changeset/e72049aa6302411d8cdf2e798e15fa38e76b92fc
needsinfo
The documentation of the extension argument of the makemessages management command is not correct: Specifies a list of file extensions to examine (default: ``html``, ``txt``, ``py`` ...
Original issue: https://code.djangoproject.com/ticket/33651 Source: https://github.com/django/django/blob/91a4b9a8ec2237434f06866f39c7977e889aeae6/django/contrib/contenttypes/prefetch.py#L...
With this model, class WithDefault(models.Model): id = models.UUIDField(primary_key=True, default=uuid.uuid4) message = models.CharField(null=True) the first IntegrityEr...
needsinfo: It is currently not clear whether the bug is on Postgres side or not. Until this is clear, we can keep the ticket in the "needsinfo" state as it best represents it's current status....
Fixed #35422 -- Fixed migrations crash when altering GeneratedField referencing rename field. Thanks Sarah Boyce for the report and Simon Charette for the implementation idea. Backport o...
https://code.djangoproject.com/changeset/c544f1a2237fd18a1e00fef8cbcd1cf7eccd5eb9
fixed: In 91a4b9a8 : Fixed #35422 -- Fixed migrations crash when altering GeneratedField referencing rename field. Thanks Sarah Boyce for the report and Simon Charette for the implementa...
Fixed #35422 -- Fixed migrations crash when altering GeneratedField referencing rename field. Thanks Sarah Boyce for the report and Simon Charette for the implementation idea.
https://code.djangoproject.com/changeset/91a4b9a8ec2237434f06866f39c7977e889aeae6
We have a project with a large number of migrations that began failing during migrate/makemigrations due to order_with_respect_to having been removed, and an explicit _order field added. The his...
Fixed #35359 -- Fixed migration operations ordering when adding fields referenced by GeneratedField.expression. Thank you to Simon Charette for the review. Backport of 9aeb38c296c69532c7...
https://code.djangoproject.com/changeset/24f54c3b09ab4f19bfc11c5d7ba80985ed870103
Refs #34007 , Refs #35359 -- Added Q.referenced_based_fields property. Thank you to Mariusz Felisiak and Natalia Bidart for the reviews. Backport of 97d48cd3c6f409584b5cc19fbddfca917bae7...
https://code.djangoproject.com/changeset/fa202d5cb1f16b9bbfd9da72eb03125fabc34bb8
fixed: In 9aeb38c2 : Fixed #35359 -- Fixed migration operations ordering when adding fields referenced by GeneratedField.expression. Thank you to Simon Charette for the review.
Fixed #35359 -- Fixed migration operations ordering when adding fields referenced by GeneratedField.expression. Thank you to Simon Charette for the review.
https://code.djangoproject.com/changeset/9aeb38c296c69532c7e64b5e3d706a5eb17b3f12
Refs #34007 , Refs #35359 -- Added Q.referenced_based_fields property. Thank you to Mariusz Felisiak and Natalia Bidart for the reviews.
https://code.djangoproject.com/changeset/97d48cd3c6f409584b5cc19fbddfca917bae78fd
In any Django Admin change_list pages, when including a search_fields attribute, the search bar does not indicate which fields are searchable. This can easily be confused with attributes on the ...
Given a model (migrated) on SQLite class Foo(models.Model): name = models.CharField(max_length=10) lower_name = models.GeneratedField( expression=Lower("nam...
Added a high contrast mode to screenshot cases. Thank you to Sarah Abderemane and Nick Pope for the reviews.
https://code.djangoproject.com/changeset/39828fa7786a805f7a542abb929f352d3c5b722c
duplicate: Hi Baptiste, I am not very knowledgeable in RSS feeds, but this feels related to #12978 and certainly the "motivation" behind it feels very similar. I'm going to mark this as a du...
Clarified when ImageField attributes are set.
https://code.djangoproject.com/changeset/914bf6917157923783ad2ea4c8a60115738a203c
Fixed rendering XOR section in docs.
https://code.djangoproject.com/changeset/160c0ab13ac0378166f3e421884fc3c460dbca1b
Refs #29280 -- Moved release note about transaction_mode to "Database backends" section.
https://code.djangoproject.com/changeset/9d5c02446e5947fbeb74dda1b6b246fd8268009d
wontfix: Thank you for your report. I don't think that Django can commit to providing abstractions for all Postgres extensions out there, the good news though is that it provides a tons of e...
Hi everyone, I'm one of the makers of ParadeDB. We create the Postgres extension pg_search (formerly known as pg_bm25), which adds Elasticsearch-level full-text search to Postgres. You can rea...
wontfix: Thanks for the ticket though all feature requests must be a result of a forum thread showing consensus for support: https://code.djangoproject.com/wiki/DevelopersMailingList#BeenWONTF...
Inspired by a blog post I read recently I wanted to see how feasible it would be to add an RSS stylesheet to the feeds that Django's syndication framework generates. In XML, that means addin...
For performing efficient inserts based on existing data, it would be great if Django could offer support for the ANSI SQL INSERT INTO ... SELECT FROM ..., perhaps something along the lines of th...
In https://code.djangoproject.com/ticket/28358#comment:13 it was reported that running tests with Django, PyPy and Coverage would fail with a ValueError: site must subclass AdminSite exception...
needsinfo: Hi LouisB12345, this looks a little unusual to me as you have a sync view calling an async function. Maybe because of the context switching between sync and async it's waiting for...
In InclusionNode.render Django creates a new_context from two existing contexts (context and _dict) by calling new_context = context.new(_dict). These can both be instances of RequestContext...
duplicate: Thank you for verifying - duplicate of #22997 .
Create a model with a primary_key field and makemigrations and migrate from django.db import models class MySimpleModel(models.Model): some_pk = models.IntegerField(primary_ke...
This bug took a few days to work out and was extremely annoying. I'm running Django under ASGI and im using was trying to use to stream a on-the-fly zip-file using the StreamingHttpResponse, no...
Refs #32819 -- Avoided adding 'aria-describedby' to hidden inputs. Hidden elements are not visible for both accessibility tools and browsers presentation layer. This change therefore only re...
https://code.djangoproject.com/changeset/c187f5f9242b681abaa199173e02066997439425
needsinfo: Hi 설원준(Wonjoon Seol)/Dispatch squad 👋 I can see you are using pytest, which is an external dependency, there's a good chance you are using others. I need to be able to re...
Currently, there is an inconsistency between Django's asynchronous AsyncClient and its synchronous counterpart Client regarding the handling of default headers. While the synchronous Client corr...
On these example queries on DateTimeFields: TestModel.objects.filter(created_at__gt__foo='2024-01-01') TestModel.objects.filter(created_at__gt__='2024-01-01') # I'm a bit surprised this...
fixed: In 85c154d : Fixed #35412 -- Dropped support for SQLite < 3.31.
Fixed #35412 -- Dropped support for SQLite < 3.31.
https://code.djangoproject.com/changeset/85c154da2f07485a1cdc4d886eee4c1a1ef56137
duplicate: Hi ilar 👋 thank you for the report and screenshots. Was able to replicate the issue and confirmed is was introduced in 729266c6f29c7a0677b24926a86a767ef3078b26 , this has been f...
SQLite 3.28+ supports EXCLUSION and fixed distances in window expressions. SQLite 3.30.1+ supports SQL 2003 FILTER (WHERE ...) in aggregate expressions. SQLite 3.31+ supports virtual fields. ...
Added minimum SQLite version for Python 3.10. (diff )
https://code.djangoproject.com/wiki/SupportedDatabaseVersions?version=32