github typeddjango/django-stubs 1.13.2

latest releases: 5.1.1, 5.1.0, 5.0.4...
21 months ago

What's Changed

Mypy plugin fixes

  • Avoid index errors that cause Mypy to raise Internal Error by @jimmylai in #1317

Strings/translations

  • Enhance support for gettext_lazy in AdminSite and ModelAdmin by @rclement in #1296
  • Support lazy strings for form errors and ValidationError by @mschoettle in #1319
  • add support for send_mail subject using gettext_lazy by @mschoettle in #1304
  • Add FAQ entry regarding StrPromise to README by @mschoettle in #1320

GeoDjango

Decorators

  • Fix @classproperty decorator by @intgr in #1287
  • Improve types of django.contrib.admin.decorators by @flaeppe in #1267
  • Improve ModelAdmin and decorator hints and attributes, add tests by @intgr in #1292
  • Improve system check registry hints by @intgr in #1249
  • Fix override_settings decorator typing by @martinlehoux in #1322

Other type stubs changes

Housekeeping

CI

Dependency updates

New Contributors

Full Changelog: 1.13.1...1.13.2

Don't miss a new django-stubs release

NewReleases is sending notifications on new releases.