You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Comments on columns and tables: django.db.models.Field.db_comment, django.db.models.Options.db_table_comment & django.db.migrations.opertions.AlterModelTableComment
New storage django.core.files.storage.InMemoryStorage
Custom file storages and related changes
New django.contrib.auth.forms.BaseUserCreationForm
This is done in the same style as #1493, reading release notes.
Also, I marked with (?) the few new features that I’m unsure if they mean any update in this project or not.
I’ll try to go through it in details in the next few days and correct it.
Finally, I’ll try to go through the list to mark what’s already done.
This is a tracking issue for changes that are needed for Django 4.2, based on release notes.
django.db.backends.postgresql.psycopg_any
)Field
instancesdjango.contrib.postgres
arrayfield.overlap
lookup now supportsvalues
andvalues_list
django.db.models.query.QuerySet.prefetch_related
now supportsPrefetch
objects with sliced querysetsdjango.contrib.postgres.TrigramStrictWordSimilarity
andTrigramStrictWordDistance
(and lookup?) (Various fixes for Django 4.2 #1536)encoder
parameter fordjango.utils.html.json_script
(Various fixes for Django 4.2 #1536)django.forms.ModelForm
now accepts the newMeta
optionformfield_callback
to customize form fields. (Various fixes for Django 4.2 #1536)django.forms.models.modelform_factory
respectsformfield_callback
attribute (Various fixes for Django 4.2 #1536)KT
expression fordjango.db.models.JSONField
(Various fixes for Django 4.2 #1536)F
expression that outputBooleanField
can now be negated (Various fixes for Django 4.2 #1536)django.contrib.gis.gdal.GDALRaster
now supportspathlib.Path
(Implement GDAL-related updates in Django 4.2 #1525)django.contrib.gis.models.functions.IsEmpty
expression (and lookup?) (Implement GDAL-related updates in Django 4.2 #1525)django.contrib.gis.models.functions.FromWKB
andFromWKT
functions (Implement GDAL-related updates in Django 4.2 #1525)django.test.RequestFactory
,AsyncRequestFactory
,Client
, andAsyncClient
classes now support theheaders
parameter (Add new headers parameter to test classes #1529)django.db.models.Field.db_comment
,django.db.models.Options.db_table_comment
&django.db.migrations.opertions.AlterModelTableComment
django.core.files.storage.InMemoryStorage
django.contrib.auth.forms.BaseUserCreationForm
django.contrib.sitemaps.Sitemap.get_languages_for_item()
(Add new method to Sitemap #1527)django.contrib.staticfiles.storage.ManifestStaticFilesStorage.manifest_hash
andsupport_js_module_import_aggregation
(Add ManifestStaticFilesStorage new parameters #1528)robust
argument fordjango.db.transaction.on_commit
.Model
:adelete
,arefresh_from_db
,asave
aadd
,aclear
,aremove
,aset
StreamingHttpResponse
now supports async iterators when Django is served via ASGIdjango.utils.http.content_disposition_header
DatabaseFeatures.allows_group_by_pk
(Implement Django 4.2 deprecations #1523)django.http.multipartparser.parse_header
(Implement Django 4.2 deprecations #1523)alias
argument forExpression.get_group_by_cols()
is removed. (Implement Django 4.2 deprecations #1523)negated
parameter of theExists
expression is removed. (Implement Django 4.2 deprecations #1523)is_summary
argument of the undocumentedQuery.add_annotation()
method is removed. (Implement Django 4.2 deprecations #1523)The text was updated successfully, but these errors were encountered: