Open
Conversation
Contributor
Author
|
brianhelba
requested changes
Mar 18, 2026
Collaborator
brianhelba
left a comment
There was a problem hiding this comment.
Broken, pending python/typeshed#15524
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==5.2.9→==6.0.1==5.2.9→==6.0.1Release Notes
typeddjango/django-stubs (django-stubs)
v6.0.1Compare Source
What's Changed
serve()return type to includeHttpResponseby @emmanuel-ferdman in #3199Metaclass stubs for auth and session models by @emmanuel-ferdman in #3200.order_byvalidation for abstract models by @UnknownPlatypus in #3197Full Changelog: typeddjango/django-stubs@6.0.0...6.0.1
v6.0.0Compare Source
This version add stubs coverage to all known Django 6.0 functionality. If you find anything missing, please open an issue.
Besides Django 6.0 updates, there is an even larger number of other improvements.
Many thanks to everyone who helped out, the amount of contributions has been amazing!
There is a crash bug in the mypy plugin, when checking code that uses
QuerySet.order_by()with abstract models. Please follow #3184Django 6.0 stubs updates
databases=parameter tocheck_generic_foreign_keys,check_model_name_lengthsby @Tosinibikunle in #2951__del__methods by @UnknownPlatypus in #2974SetPasswordMixin.__class_getitem__by @sobolevn in #2985main/django/contrib/auth/admin.pyby @sobolevn in #2986ForminDeleteViewtype parameters by @emmanuel-ferdman in #2996FileFieldandImageFieldinstance access return types by @emmanuel-ferdman in #2997Other stubs improvements
SessionBasedict method signatures by @emmanuel-ferdman in #3020LimitedStreamstub signatures by @emmanuel-ferdman in #3022IO[bytes]with_PostDataProtocolto fixHttpRequestcompatibility by @Skyiesac in #3167ResponseHeaderscan take any mapping, not justdictby @sobolevn in #3014formfield_callbackto returnNoneby @emmanuel-ferdman in #3021response_gone_classby @UnknownPlatypus in #3061get_violation_error_messageto return dictionaries by @meunomemauricio in #3065SubqueryandExiststo accept subquery inputs by @emmanuel-ferdman in #3103AdminSeleniumTestCase.assertCountSeleniumElementsby @DeXtAr47-oss in #3117BaseDatabaseFeatures.rounds_to_evenby @JaeHyuckSa in #3128django.db.models.fields.tuple_lookups moduleby @JaeHyuckSa in #3131ForeignKey.cast_db_typemethod by @JaeHyuckSa in #3126BaseDatabaseFeatures.supports_tuple_lookupsby @JaeHyuckSa in #3129Q.identitycached_propertyby @JaeHyuckSa in #3127BaseDatabaseSchemaEditor.sql_pk_constraintby @JaeHyuckSa in #3130MySQLGISSchemaEditor.__init__by @JaeHyuckSa in #3139django.utils.datastructures.ImmutableListby @ngnpope in #3155django.db.models.expressions.Windowby @ngnpope in #3170value_to_stringreturn types for JSONField and RangeField by @emmanuel-ferdman in #3188allowed_defaultin expression classes by @ahmedasar00 in #3186Plugin updates
NotUpdatedexception by @ngnpope in #3046Prefetch+to_attrand multiple levels by @UnknownPlatypus in #3151update_fieldsandunique_fieldsofbulk_createby @UnknownPlatypus in #3150earliest/latest/orderbyby @UnknownPlatypus in #3158only/deferby @UnknownPlatypus in #3165Housekeeping
_PropertyDescriptorusage inresponse.pyiby @sobolevn in #3086django.utils.inspectstubtest errors on Python 3.14+ by @ngnpope in #3152explicit-overrideand--disallow-subclassing-anyby @ngnpope in #3172django-modern-restto the README by @sobolevn in #3183New Contributors
Full Changelog: typeddjango/django-stubs@5.2.9...6.0.0
Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, only on Monday ( * 0-3 * * 1 ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.