ITADN
typeddjango/django-stubs

版本发布 8

6.0.3
? · 2026-04-18

## What's Changed * Remove patching of `reveal_type()` and `reveal_locals()` by @ngnpope in https://github.com/typeddjango/django-stubs/pull/3255 * Resolve `.values_list()` field types on annotated querysets by @federicobond in https://github.com/typeddjango/django-stubs/pull/3253 * Add `__eq__` to CaseInsensitiveMapping by @hauntsaninja in https://github.com/typeddjango/django-stubs/pull/3256 * Add an AI policy by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/3247 * Preserve NamedTuple row type when annotating values_list(named=True) querysets by @federicobond in https://github.com/typeddjango/django-stubs/pull/3261 * Use `TypedDictType` directly when merging typeddict by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/3262 * Prefetch related queryset incompatible type by @steele in https://github.com/typeddjango/django-stubs/pull/3263 * Fix `databases` type in `SimpleTestCase` to use `Literal["__all__"]` by @ahmedasar00 in https://github.com/typeddjango/django-stubs/pull/3264 * typing: Node methods return an instance of the subclass by @noamkush in https://github.com/typeddjango/django-stubs/pull/3265 * Fix row type lost when using `.annotate(...)` on custom bound `QuerySet` by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/3271 * Refine types in html.pyi: Remove Incomplete and Any by @01xnikhil in https://github.com/typeddjango/django-stubs/pull/3270 * Improve type precision in template backends by @emmanuel-ferdman in https://github.com/typeddjango/django-stubs/pull/3276 * Update dependency django to v6.0.4 [SECURITY] by @renovate[bot] in https://github.com/typeddjango/django-stubs/pull/3278 * Cache apt packages for GDAL in CI by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/3268 * Loosen ListFilter.choices() return type to allow custom filter templates by @alessio-b2c2 in https://github.com/typeddjango/django-stubs/pull/3180 * Use `ignoreDeps` to prevent Renovate from updating Python versions by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/3280 * Propagate `WithAnnotations` through custom `QuerySet` methods by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/3266 * Add debugging tip for yml tests in contributing guide by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/3284 * Widen `build_q_object_from_lookup_parameters` parameter type by @alessio-b2c2 in https://github.com/typeddjango/django-stubs/pull/3277 * Fix `ListFilter.used_parameters` and params types in admin filter stubs by @alessio-b2c2 in https://github.com/typeddjango/django-stubs/pull/3187 * Make LazyObject generic to improve `__deepcopy__` return type by @ahmedasar00 in https://github.com/typeddjango/django-stubs/pull/3275 * Widen `names` arg to `Query.names_to_path` to `Sequence[str]` by @joshuadavidthomas in https://github.com/typeddjango/django-stubs/pull/3285 * Improve type precision and add missing attrs across utils stubs by @emmanuel-ferdman in https://github.com/typeddjango/django-stubs/pull/3290 * Improve types in contrib.auth.views by @01xnikhil in https://github.com/typeddjango/django-stubs/pull/3294 * Propagate Subquery output field type through generics by @federicobond in https://github.com/typeddjango/django-stubs/pull/3297 * Type-check `(a)get_or_create` and `(a)update_or_create` kwargs by @federicobond in https://github.com/typeddjango/django-stubs/pull/3309 * Make Func generic over output_field by @federicobond in https://github.com/typeddjango/django-stubs/pull/3311 * Update mypy to 1.20.1 by @sobolevn in https://github.com/typeddjango/django-stubs/pull/3316 * Fix attname column by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/3318 ## New Contributors * @steele made their first contribution in https://github.com/typeddjango/django-stubs/pull/3263 * @alessio-b2c2 made their first contribution in https://github.com/typeddjango/django-stubs/pull/3180 **Full Changelog**: https://github.com/typeddjango/django-stubs/compare/6.0.2...6.0.3

5.2.8
? · 2025-12-01

## What's Changed * Run tests against the lowest supported django version by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2862 * fix: allow `django.shortcuts.resolve_url` to receive a str-promise by @alexei in https://github.com/typeddjango/django-stubs/pull/2869 * fix: add type declarations for some missing settings by @alexei in https://github.com/typeddjango/django-stubs/pull/2870 * fix: import all forms widgets by @alexei in https://github.com/typeddjango/django-stubs/pull/2871 * Update assertContains and assertNotContains signatures by @SebCorbin in https://github.com/typeddjango/django-stubs/pull/2880 * Update middleware types by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2884 * Remove `str` from enum label types when we know for sure the labels are lazy by @rchen152 in https://github.com/typeddjango/django-stubs/pull/2888 * Switch Dependabot to Renovate by @intgr in https://github.com/typeddjango/django-stubs/pull/2893 * CI: Only run branch tests on Renovate branches where it's needed by @intgr in https://github.com/typeddjango/django-stubs/pull/2899 * fix: in db.models make required_db_vendor str by @Tatsh in https://github.com/typeddjango/django-stubs/pull/2909 * Run pyrefly over test cases by @rchen152 in https://github.com/typeddjango/django-stubs/pull/2914 * Mypy 1.19 by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2919 ## New Contributors * @alexei made their first contribution in https://github.com/typeddjango/django-stubs/pull/2869 * @SebCorbin made their first contribution in https://github.com/typeddjango/django-stubs/pull/2880 * @rchen152 made their first contribution in https://github.com/typeddjango/django-stubs/pull/2888 * @renovate[bot] made their first contribution in https://github.com/typeddjango/django-stubs/pull/2895 **Full Changelog**: https://github.com/typeddjango/django-stubs/compare/5.2.7...5.2.8

5.2.6a1 (testing)5.2.6a1预发布
? · 2025-10-05

Testing updated release workflow. Using alpha version in case anything goes wrong -- so users won't be updated automatically.

5.2.5
? · 2025-09-12

## What's Changed * Fix regression that some places do not accept `_StrPromise` returned by `reverse_lazy` by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2814 * Fix regression of `.order_by` to accept any `Combinable` by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2816 **Full Changelog**: https://github.com/typeddjango/django-stubs/compare/5.2.4...5.2.5

5.2.4
? · 2025-09-12

## What's Changed * Fix `TestClient.get` regression by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2812 **Full Changelog**: https://github.com/typeddjango/django-stubs/compare/5.2.3...5.2.4

5.2.1
? · 2025-06-17

## What's Changed * Fix some `<type> is not present at runtime` errors by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2635 * Fix missing at runtime errors (second batch) by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2636 * Move method defined on `BaseManager` to `Manager` to follow runtime behavior by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2637 * Fix missing at runtime errors (batch 3) by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2639 * Add stubs for `django.template.autoreload` by @rafailmdzdv in https://github.com/typeddjango/django-stubs/pull/2638 * Allow permission methods to take any model instance as obj by @federicobond in https://github.com/typeddjango/django-stubs/pull/2640 * correct bound for `_UserType` by @asottile in https://github.com/typeddjango/django-stubs/pull/2645 * fix referencing `.value` of a Choices variable by @asottile in https://github.com/typeddjango/django-stubs/pull/2644 * Fixes to choices support in plugin by @ngnpope in https://github.com/typeddjango/django-stubs/pull/2646 * Use github permalink to blob view, not blame view by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2647 * add `null` keyword argument to `ManyToManyField` init by @lev-blit in https://github.com/typeddjango/django-stubs/pull/2648 * Run stubtest on 2 latest python versions by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2651 * Stronger type for `settings.AUTH_PASSWORD_VALIDATORS` by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2652 * Fix missing at runtime 3 by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2653 * Enable a few more ruff rules by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2655 * Update django gis backend by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2657 * Fix `django.http` errors by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2654 * Add `mysqlclient` deps to reveal mysql module stubtest errors by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2656 * Update `django.core.handlers` by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2660 * Fix a few errors related to the metaclass `MediaDefiningClass` by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2662 * Update django to 5.2.1 by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2664 * Add a test for missing generics in stubs by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2659 * Contribute to class by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2666 * Restore support for mypy v1.13 by @ngnpope in https://github.com/typeddjango/django-stubs/pull/2669 * Fix a crash on mypy master branch by @ngnpope in https://github.com/typeddjango/django-stubs/pull/2670 * Update _AsSqlType to allow tuple[str, tuple] by @jacobtylerwalls in https://github.com/typeddjango/django-stubs/pull/2673 * fix typing for get_auto_imports, get_namespace, and run_formatters by @BlaackWizard in https://github.com/typeddjango/django-stubs/pull/2674 * fix: django.contrib.staticfiles for 5.2 by @skv0zsneg in https://github.com/typeddjango/django-stubs/pull/2684 * Fix postgres OrderableAggMixin & BTreeIndex by @skv0zsneg in https://github.com/typeddjango/django-stubs/pull/2686 * Switch to pyproject.toml + PEP621 by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2688 * Fix some django52 by @skv0zsneg in https://github.com/typeddjango/django-stubs/pull/2691 * Use `uv` to manage dev dependencies by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2698 * Add tests for ClassVar-annotated Migration fields by @zyv in https://github.com/typeddjango/django-stubs/pull/2702 * Add support for mypy v1.16 by @ngnpope in https://github.com/typeddjango/django-stubs/pull/2703 * Weaken response argument types in django.utils.cache by @cjwatson in https://github.com/typeddjango/django-stubs/pull/2704 * Add stub for `django.db.models.expressions.Expression.identity` by @cjwatson in https://github.com/typeddjango/django-stubs/pull/2685 * change `assertFormError` form arg type to BaseForm by @marxide in https://github.com/typeddjango/django-stubs/pull/2705 * Updated the "LogEntryManager" class' "log_action" and "log_actions" methods by @ataylor32 in https://github.com/typeddjango/django-stubs/pull/2708 * Fix signature of `LogEntryManager.log_actions` by @youtux in https://github.com/typeddjango/django-stubs/pull/2710 * Add "django.contrib.auth.management.commands.createsuperuser" annotations by @brianhelba in https://github.com/typeddjango/django-stubs/pull/2701 ## New Contributors * @rafailmdzdv made their first contribution in https://github.com/typeddjango/django-stubs/pull/2638 * @lev-blit made their first contribution in https://github.com/typeddjango/django-stubs/pull/2648 * @BlaackWizard made their first contribution in https://github.com/typeddjango/django-stubs/pull/2674 * @skv0zsneg made their first contribution in https://github.com/typeddjango/django-stubs/pull/2684 * @cjwatson made their first contribution in https://github.com/typeddjango/django-stubs/pull/2704 * @marxide made their first contribution in https://github.com/typeddjango/django-stubs/pull/2705 * @ataylor32 made their first contribution in https://github.com/typeddjango/django-stubs/pull/2708 **Full Changelog**: https://github.com/typeddjango/django-stubs/compare/5.2.0...5.2.1

5.2.0
? · 2025-04-26

## Important changes - We now support Django@5.2 LTS release! - Partial Django support is moved to 5.0 from 4.2 - We now also run all checks in this repo under `mypy --strict` mode - Minimal `mypy` version is update to `1.13` ## What's Changed * fix `format_lazy` typing by @ashm-dev in https://github.com/typeddjango/django-stubs/pull/2504 * Update models's fields' `_Choices` type by @stianjensen in https://github.com/typeddjango/django-stubs/pull/2476 * fix: Add `context_data` attribute to _MonkeyPatchedW/ASGIResponse. by @PacificGilly in https://github.com/typeddjango/django-stubs/pull/2509 * Fix id and pk of AnonymousUser by @stickperson in https://github.com/typeddjango/django-stubs/pull/2515 * Add docs about "`type[Model]` does not have `objects` attribute" by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2519 * Update `db.migrations.operations` by @Viicos in https://github.com/typeddjango/django-stubs/pull/2349 * Add `select_format()` methods by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2525 * Tidy `django.conf.urls` by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2528 * Fix `Func.function` by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2529 * Add `ClassVar` annotations on mutable `ModelAdmin` types for `ruff` by @zyv in https://github.com/typeddjango/django-stubs/pull/2524 * Add `ClassVar` annotations on `Migration` class attributes by @zyv in https://github.com/typeddjango/django-stubs/pull/2530 * Remove insecure password hashers by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2537 * Update for Model.[a]save() signature change by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2535 * Update TestCase classes for Django 5.1 by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2540 * Improve admin decorators by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2538 * Update for template system checks change by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2536 * Remove ForeignObjectRel.is_hidden() by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2539 * Correct Field.slice_expression() 'length' argument name. by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2548 * Update django.urls for Django 5.1 by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2546 * Update django.db.models.options.Options for Django 5.1 by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2545 * Add admin is_collapsible() methods by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2541 * Update django.template for Django 5.1 by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2543 * Add new system checks from Django 5.1 by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2542 * Add full signatures to CheckConstraint.__init__ overloads by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2544 * Make Model.[a]save() keyword-only by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2550 * Add query_params argument to test tools from Django 5.1 by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2547 * fix #2552 by add ModelIterable to _need_generic by @lucemia in https://github.com/typeddjango/django-stubs/pull/2553 * Add window frame exclusion from Django 5.1 by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2554 * Improve process_view() methods by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2556 * Update core.files.storages for Django 5.1 by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2558 * Update contrib.auth for Django 5.1 by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2555 * Complete JSONObject by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2560 * Fix FieldCacheMixin.cache_name by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2562 * Use AbstractContextManager instead of `@contextmanager` by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2561 * Add ModelForm.declared_fields by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2557 * Update test.selenium for Django 5.1 by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2559 * Update database expressions for Django 5.1 by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2563 * fixed typing in contrib.auth.decorators by @Rusich90 in https://github.com/typeddjango/django-stubs/pull/2564 * Update `_Choices` type for forms by @mrgalopes in https://github.com/typeddjango/django-stubs/pull/2565 * Update some database backend attributes for Django 5.1 by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2567 * Update PostgreSQL backend `is_postgresql_*` properties for Django 5.1 by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2566 * Remove unused code from the plugin by @ngnpope in https://github.com/typeddjango/django-stubs/pull/2570 * Add `db_table_comment` to model meta by @ngnpope in https://github.com/typeddjango/django-stubs/pull/2571 * Fix `BaseModelAdmin.get_inlines()` return type by @MaestroXXXVIII in https://github.com/typeddjango/django-stubs/pull/2576 * Fix a few typos by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2579 * Document custom field typing by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2578 * Improve stubs for `flatten` and `flatten_fieldsets` by @ngnpope in https://github.com/typeddjango/django-stubs/pull/2572 * Improve typing of choices by @ngnpope in https://github.com/typeddjango/django-stubs/pull/2582 * Run tests in parallel by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2580 * Make GeneratedField parameter db_persist required by @JasonLovesDoggo in https://github.com/typeddjango/django-stubs/pull/2568 * Re-add explicit test cache disabling by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2589 * Ignore `__slotnames__` by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2584 * Update a bunch of stuff for Django 5.1 by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2585 * Add get_refs() to BaseExpression and WhereNode by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2586 * Update Django 4.2 LTS version to 4.2.20 by @intgr in https://github.com/typeddjango/django-stubs/pull/2592 * Allow tuples for some `TypedModelMeta` fields by @ngnpope in https://github.com/typeddjango/django-stubs/pull/2594 * Update `django.contrib.gis.geoip2` stubs by @ngnpope in https://github.com/typeddjango/django-stubs/pull/2593 * Update django to 5.2 by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2596 * Fix django.urls.base.reverse after 5.2 by @simwr872 in https://github.com/typeddjango/django-stubs/pull/2595 * Update `django.core.validators` for Django 5.2 by @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2598 * Update `django.test.client` and `django.utils` for Django 5.2 by @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2599 * Update `django.contrib.auth.backends` for Django 5.2 by @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2600 * Update `django.contrib.auth.models` for Django 5.2 by @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2601 * Allow `MutableMapping` for `Form.Initial` by @UnknownPlatypus in https://github.com/typeddjango/django-stubs/pull/2604 * Update `django.contrib.admin` for Django 5.2 by @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2607 * Update `django.db.models.sql` for Django 5.2 by @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2606 * Update `django.forms.widgets` for Django 5.2 by @federicobond in https://github.com/typeddjango/django-stubs/pull/2608 * create and re-use `TypeAlias`es and `TypeVar`s for "user" and "any user" by @terencehonles in https://github.com/typeddjango/django-stubs/pull/2384 * Update `django.contrib` for Django 5.2 by @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2611 * Add stub for `get_select2_language` from `django.contrib.admin.widgets` by @michalpokusa in https://github.com/typeddjango/django-stubs/pull/2612 * Update `django.core.management.commands` for Django 5.2 by @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2613 * Restrict setuptools to `<79.0.0` for `SETUPTOOLS_ENABLE_FEATURES=legacy-editable` to work by @michalpokusa in https://github.com/typeddjango/django-stubs/pull/2617 * Add EmailMultiAlternatives.body_contains() by @cuu508 in https://github.com/typeddjango/django-stubs/pull/2618 * Add HttpResponse.text by @cuu508 in https://github.com/typeddjango/django-stubs/pull/2622 * Allow tuples for some `Options` fields by @ngnpope in https://github.com/typeddjango/django-stubs/pull/2627 * Add `__all__` by @donBarbos in https://github.com/typeddjango/django-stubs/pull/2624 * Fix some django 5.2 new missing parameters by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2629 * [5.2] Improve `django.http.request.MediaType` by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2631 * [5.2] Fix new errors in `django.http` module by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2632 * [5.2] Fix `django.template.library` by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2633 * Update `django.core.serializers` for Django 5.2 by @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2614 * Update contrib.gis for Django 5.1 by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2587 * Update some field attributes for Django 5.1 by @adamchainz in https://github.com/typeddjango/django-stubs/pull/2583 ## New Contributors * @stianjensen made their first contribution in https://github.com/typeddjango/django-stubs/pull/2476 * @PacificGilly made their first contribution in https://github.com/typeddjango/django-stubs/pull/2509 * @stickperson made their first contribution in https://github.com/typeddjango/django-stubs/pull/2515 * @zyv made their first contribution in https://github.com/typeddjango/django-stubs/pull/2524 * @lucemia made their first contribution in https://github.com/typeddjango/django-stubs/pull/2553 * @Rusich90 made their first contribution in https://github.com/typeddjango/django-stubs/pull/2564 * @mrgalopes made their first contribution in https://github.com/typeddjango/django-stubs/pull/2565 * @MaestroXXXVIII made their first contribution in https://github.com/typeddjango/django-stubs/pull/2576 * @JasonLovesDoggo made their first contribution in https://github.com/typeddjango/django-stubs/pull/2568 * @simwr872 made their first contribution in https://github.com/typeddjango/django-stubs/pull/2595 * @michalpokusa made their first contribution in https://github.com/typeddjango/django-stubs/pull/2612 * @donBarbos made their first contribution in https://github.com/typeddjango/django-stubs/pull/2624 **Full Changelog**: https://github.com/typeddjango/django-stubs/compare/5.1.3...5.2.0

Version 5.1.25.1.2
? · 2025-01-14

## What's Changed * Update enums to reflect typing spec changes by @hauntsaninja in https://github.com/typeddjango/django-stubs/pull/2426 * Document compatibility considerations by @khink in https://github.com/typeddjango/django-stubs/pull/2430 * fix `.values_list` returns incorrect type for field with same name when selected from related model by @Niicck in https://github.com/typeddjango/django-stubs/pull/2431 * Bump django to 5.1.3 by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2436 * Fix typing of related manager methods by @ngnpope in https://github.com/typeddjango/django-stubs/pull/2439 * Fix signature of `ModelAdmin.construct_change_message` by @youtux in https://github.com/typeddjango/django-stubs/pull/2444 * Update django to 5.1.4, drop black by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2455 * Extend _AllLimitChoicesTo by @H4rryK4ne in https://github.com/typeddjango/django-stubs/pull/2456 * Marking default_error_messages as a ClassVar by @delfick in https://github.com/typeddjango/django-stubs/pull/2457 * Add deprecated decorators for multiple classes and methods by @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2458 * Update `contrib.admin.options.ModelAdmin` by @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2422 * Update `contrib.gis.gdal.geometries` by @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2460 * base.pyi: use base class HttpResponseBase by @dnet in https://github.com/typeddjango/django-stubs/pull/2459 * Update `contrib.admin.models.LogEntryManager` by @JaeHyuckSa in https://github.com/typeddjango/django-stubs/pull/2423 * Update mypy to 1.14 by @sobolevn in https://github.com/typeddjango/django-stubs/pull/2468 * Add py.typed file for pylance support by @ashwanthbalakrishnan5 in https://github.com/typeddjango/django-stubs/pull/2470 * Fix Signal._live_receivers typing by @mdalp in https://github.com/typeddjango/django-stubs/pull/2475 * Add type-checking to Manager.acreate by @vitosamson in https://github.com/typeddjango/django-stubs/pull/2477 ## New Contributors * @hauntsaninja made their first contribution in https://github.com/typeddjango/django-stubs/pull/2426 * @khink made their first contribution in https://github.com/typeddjango/django-stubs/pull/2430 * @Niicck made their first contribution in https://github.com/typeddjango/django-stubs/pull/2431 * @youtux made their first contribution in https://github.com/typeddjango/django-stubs/pull/2444 * @H4rryK4ne made their first contribution in https://github.com/typeddjango/django-stubs/pull/2456 * @dnet made their first contribution in https://github.com/typeddjango/django-stubs/pull/2459 * @ashwanthbalakrishnan5 made their first contribution in https://github.com/typeddjango/django-stubs/pull/2470 * @mdalp made their first contribution in https://github.com/typeddjango/django-stubs/pull/2475 * @vitosamson made their first contribution in https://github.com/typeddjango/django-stubs/pull/2477 **Full Changelog**: https://github.com/typeddjango/django-stubs/compare/5.1.1...5.1.2