---
title: "djangorestframework 3.18.2 Breaking Changes on PyPI"
description: "What each djangorestframework release removed, renamed or changed: 350 breaking changes in 11 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/djangorestframework
last_updated: 2026-12-04
---

# djangorestframework breaking changes

djangorestframework 3.18.2 (October 6, 2026) is its newest release with breaking changes, 6 of them. The first: Removed rest_framework.authtoken.admin.Token. Every breaking API change we have recorded in djangorestframework on PyPI: 350 breaking changes in 11 versions. Below, its 11 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.18.3`, released October 6, 2026. [Source repository](https://github.com/encode/django-rest-framework)

Its 3.17.0 release drops [Python 3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.4.0](#v-0-4-0) to [3.18.2](#v-3-18-2): 347 breaking changes in 10 versions.

## djangorestframework 3.18.2 breaking changes

djangorestframework 3.18.2, released October 6, 2026: 6 breaking changes.

- **Removed** `rest_framework.authtoken.admin.Token`  

rest_framework.authtoken.admin.Token was removed in djangorestframework 3.18.2 [pypi.org](https://pypi.org/project/djangorestframework/3.18.2/)
- **Removed** `rest_framework.authtoken.admin.TokenAdmin.delete_model`  

TokenAdmin.delete_model was removed in djangorestframework 3.18.2 [pypi.org](https://pypi.org/project/djangorestframework/3.18.2/)
- **Removed** `rest_framework.negotiation.order_by_precedence`  

rest_framework.negotiation.order_by_precedence was removed in djangorestframework 3.18.2 [pypi.org](https://pypi.org/project/djangorestframework/3.18.2/)
- **Behavior changed**  

Requests using non-text encoding charsets are now refused. Code that relied on accepting them must change. [github.com](https://github.com/encode/django-rest-framework/releases/tag/3.18.2)
- **Behavior changed**  

Large Accept headers are now handled differently to guard against abuse. Code that sends very large Accept headers may see different responses. [github.com](https://github.com/encode/django-rest-framework/releases/tag/3.18.2)
- **Behavior changed** `TokenProxy`  

Deleting a TokenProxy now actually deletes the token. Code that deleted proxies expecting the token to remain must change. [github.com](https://github.com/encode/django-rest-framework/releases/tag/3.18.2)

## djangorestframework 3.18.1 breaking changes

djangorestframework 3.18.1, released September 7, 2026: 1 breaking change.

- **Behavior changed** `FloatField`  

FloatField previously accepted nan and inf values and now rejects them. Code that relies on accepting these values must handle the validation error. [github.com](https://github.com/encode/django-rest-framework/releases/tag/3.18.1)

## djangorestframework 3.18.0 breaking changes

djangorestframework 3.18.0, released August 7, 2026: 7 breaking changes.

- **Removed**  

Django 4.2, 5.0 and 5.1 are no longer supported by this release. Upgrade Django to a supported version before upgrading. [github.com](https://github.com/encode/django-rest-framework/releases/tag/3.18.0)
- **Removed** `rest_framework.compat.get_referenced_base_fields_from_q`  

rest_framework.compat.get_referenced_base_fields_from_q was removed in djangorestframework 3.18.0 [pypi.org](https://pypi.org/project/djangorestframework/3.18.0/)
- **Removed** `rest_framework.fields.ip_address_validators`  

rest_framework.fields.ip_address_validators was removed in djangorestframework 3.18.0 [pypi.org](https://pypi.org/project/djangorestframework/3.18.0/)
- **Removed** `rest_framework.serializers.get_referenced_base_fields_from_q`  

rest_framework.serializers.get_referenced_base_fields_from_q was removed in djangorestframework 3.18.0 [pypi.org](https://pypi.org/project/djangorestframework/3.18.0/)
- **Behavior changed**  

Validation errors for serializers with many=True are returned in dict format instead of the previous list format. Update code that reads these errors. [github.com](https://github.com/encode/django-rest-framework/releases/tag/3.18.0)
- **Signature changed** `rest_framework.serializers.UniqueTogetherValidator.__init__`  

Was def \_\_init\_\_(self, queryset, fields, message=None, condition_fields=None, condition=None, code=None); now def \_\_init\_\_(self, queryset, fields, message=None, condition_fields=None, condition=None, code=None, nulls_distinct=None). [pypi.org](https://pypi.org/project/djangorestframework/3.18.0/)
- **Signature changed** `rest_framework.utils.html.parse_html_dict`  

Was def parse_html_dict(dictionary, prefix=''); now def parse_html_dict(dictionary, prefix='', default=NOT_PROVIDED). [pypi.org](https://pypi.org/project/djangorestframework/3.18.0/)

## djangorestframework 3.17.2 breaking changes

djangorestframework 3.17.2, released August 5, 2026: 1 breaking change.

- **Behavior changed** `request.data`  

Request bodies larger than DATA_UPLOAD_MAX_MEMORY_SIZE are now rejected when parsing request.data, so code that relied on larger uploads may fail. Raise the setting if large payloads must be accepted. [github.com](https://github.com/encode/django-rest-framework/releases/tag/3.17.2)

## djangorestframework 3.17.0 breaking changes

djangorestframework 3.17.0, released March 18, 2026: 54 breaking changes.

- **Removed**  

The release no longer supports Python 3.9. Users on Python 3.9 must upgrade Python before upgrading this package. [github.com](https://github.com/encode/django-rest-framework/releases/tag/3.17.0)
- **Removed**  

The release removes the previously deprecated coreapi support. Code that relies on coreapi will no longer work. [github.com](https://github.com/encode/django-rest-framework/releases/tag/3.17.0)
- **Removed** `rest_framework.authtoken.views.coreapi`  

rest_framework.authtoken.views.coreapi was removed in djangorestframework 3.17.0 [pypi.org](https://pypi.org/project/djangorestframework/3.17.0/)
- **Removed** `rest_framework.authtoken.views.coreapi_schema`  

rest_framework.authtoken.views.coreapi_schema was removed in djangorestframework 3.17.0 [pypi.org](https://pypi.org/project/djangorestframework/3.17.0/)
- **Removed** `rest_framework.authtoken.views.coreschema`  

rest_framework.authtoken.views.coreschema was removed in djangorestframework 3.17.0 [pypi.org](https://pypi.org/project/djangorestframework/3.17.0/)
- **Removed** `rest_framework.authtoken.views.ManualSchema`  

rest_framework.authtoken.views.ManualSchema was removed in djangorestframework 3.17.0 [pypi.org](https://pypi.org/project/djangorestframework/3.17.0/)
- **Removed** `rest_framework.documentation`  

rest_framework.documentation was removed in djangorestframework 3.17.0 [pypi.org](https://pypi.org/project/djangorestframework/3.17.0/)
- **Removed** `rest_framework.filters.BaseFilterBackend.get_schema_fields`  

BaseFilterBackend.get_schema_fields was removed in djangorestframework 3.17.0 [pypi.org](https://pypi.org/project/djangorestframework/3.17.0/)
- **Removed** `rest_framework.filters.coreapi`  

rest_framework.filters.coreapi was removed in djangorestframework 3.17.0 [pypi.org](https://pypi.org/project/djangorestframework/3.17.0/)
- **Removed** `rest_framework.filters.coreschema`  

rest_framework.filters.coreschema was removed in djangorestframework 3.17.0 [pypi.org](https://pypi.org/project/djangorestframework/3.17.0/)

And 44 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## djangorestframework 3.16.1 breaking changes

djangorestframework 3.16.1, released August 6, 2025: 1 breaking change.

- **Removed** `rest_framework.templatetags.rest_framework.break_long_headers`  

rest_framework.templatetags.rest_framework.break_long_headers was removed in djangorestframework 3.16.1 [pypi.org](https://pypi.org/project/djangorestframework/3.16.1/)

## Older versions

5 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### djangorestframework 3.16.0 breaking changes

djangorestframework 3.16.0, released March 28, 2025: 10 breaking changes.

- **Removed**  

Python 3.8 is no longer supported. Users on Python 3.8 must upgrade their interpreter to keep using this release. [github.com](https://github.com/encode/django-rest-framework/releases/tag/3.16.0)
- **Removed** `AutoSchema._get_reference`  

The deprecated AutoSchema.\_get_reference method was removed in this release. Code calling it must stop using it. [github.com](https://github.com/encode/django-rest-framework/releases/tag/3.16.0)

And 8 more in this version.

### djangorestframework 3.15.2 breaking changes

djangorestframework 3.15.2, released June 19, 2024: 10 breaking changes.

- **Removed** `rest_framework.default_app_config`  

rest_framework.default_app_config was removed in djangorestframework 3.15.2 [pypi.org](https://pypi.org/project/djangorestframework/3.15.2/)
- **Removed** `rest_framework.fields.logger`  

rest_framework.fields.logger was removed in djangorestframework 3.15.2 [pypi.org](https://pypi.org/project/djangorestframework/3.15.2/)

And 8 more in this version.

### djangorestframework 3.15.1 breaking changes

djangorestframework 3.15.1, released March 22, 2024: 10 breaking changes.

- **Removed** `rest_framework.authtoken.admin.TokenAdmin.autocomplete_fields`  

TokenAdmin.autocomplete_fields was removed in djangorestframework 3.15.1 [pypi.org](https://pypi.org/project/djangorestframework/3.15.1/)
- **Removed** `rest_framework.exceptions.ValidationError.default_params`  

ValidationError.default_params was removed in djangorestframework 3.15.1 [pypi.org](https://pypi.org/project/djangorestframework/3.15.1/)

And 8 more in this version.

### djangorestframework 3.0.0 breaking changes

djangorestframework 3.0.0, released December 1, 2014: 247 breaking changes.

- **Removed** `rest_framework.authtoken.views.ObtainAuthToken.model`  

ObtainAuthToken.model was removed in djangorestframework 3.0.0 [pypi.org](https://pypi.org/project/djangorestframework/3.0.0/)
- **Removed** `rest_framework.authtoken.views.ObtainAuthToken.serializer_class`  

ObtainAuthToken.serializer_class was removed in djangorestframework 3.0.0 [pypi.org](https://pypi.org/project/djangorestframework/3.0.0/)

And 245 more in this version.

### djangorestframework 0.4.0 breaking changes

djangorestframework 0.4.0, released August 29, 2012: 3 breaking changes.

- **Signature changed** `djangorestframework.resources.Serializer.get_related_serializer`  

Was def get_related_serializer(self, key); now def get_related_serializer(self, info). [pypi.org](https://pypi.org/project/djangorestframework/0.4.0/)
- **Signature changed** `djangorestframework.resources.Serializer.serialize`  

Was def serialize(self, obj); now def serialize(self, obj, request=None). [pypi.org](https://pypi.org/project/djangorestframework/0.4.0/)

And 1 more in this version.

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
