Download Latest Version v3.16.1 source code.tar.gz (10.3 MB)
Email in envelope

Get an email when there's a new version of Django REST framework

Home / 3.16.1
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-08-06 4.9 kB
v3.16.1 source code.tar.gz 2025-08-06 10.3 MB
v3.16.1 source code.zip 2025-08-06 10.8 MB
Totals: 3 Items   21.2 MB 1

This release fixes a few bugs, clean-up some old code paths for unsupported Python versions and improve translations.

Minor changes

  • Cleanup optional backports.zoneinfo dependency and conditions on unsupported Python 3.8 and lower in #9681. Python versions prior to 3.9 were already unsupported so this isn't considered as a breaking change.

Bug fixes

  • Fix regression in unique_together validation with SerializerMethodField in #9712
  • Fix UniqueTogetherValidator to handle fields with source attribute in #9688
  • Drop HTML line breaks on long headers in browsable API in #9438

Translations

  • Add Kazakh locale support in #9713
  • Update translations for Korean translations in #9571
  • Update German translations in #9676
  • Update Chinese translations in #9675
  • Update Arabic translations-sal in #9595
  • Update Persian translations in #9576
  • Update Spanish translations in #9701
  • Update Turkish Translations in #9749
  • Fix some typos in Brazilian Portuguese translations in #9673

Documentation

  • Removed reference to GitHub Issues and Discussions in #9660
  • Add drf-restwind and update outdated images in browsable-api.md in #9680
  • Updated funding page to represent current scope in #9686
  • Fix broken Heroku JSON Schema link in #9693
  • Update Django documentation links to use stable version in #9698
  • Expand docs on unique constraints cause 'required=True' in #9725
  • Revert extension back from djangorestframework-guardian2 to djangorestframework-guardian in #9734
  • Add note to tutorial about required request in serializer context when using HyperlinkedModelSerializer in #9732

Internal changes

  • Update GitHub Actions to use Ubuntu 24.04 for testing in #9677
  • Update test matrix to use Django 5.2 stable version in #9679
  • Add pyupgrade to pre-commit hooks in #9682
  • Fix test with Django 5 when pytz is available in #9715

New Contributors

  • @araggohnxd made their first contribution in #9673
  • @mbeijen made their first contribution in #9660
  • @stefan6419846 made their first contribution in #9676
  • @ren000thomas made their first contribution in #9675
  • @ulgens made their first contribution in #9682
  • @bukh-sal made their first contribution in #9595
  • @rezatn0934 made their first contribution in #9576
  • @Rohit10jr made their first contribution in #9693
  • @kushibayev made their first contribution in #9713
  • @alihassancods made their first contribution in #9732
  • @kulikjak made their first contribution in #9715
  • @Natgho made their first contribution in #9749

Full Changelog: https://github.com/encode/django-rest-framework/compare/3.16.0...3.16.1

Source: README.md, updated 2025-08-06