---
title: "django 6.1 Breaking Changes on PyPI | Since.dev"
description: "What each django release removed, renamed or changed: 438 breaking changes in 20 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/django
last_updated: 2026-12-04
---

# django breaking changes

django 6.1 (August 5, 2026) is its newest release with breaking changes, 61 of them. The first: Signature changed django.conf.LazySettings.\_\_dir\_\_. Every breaking API change we have recorded in django on PyPI: 438 breaking changes in 20 versions. Below, its 20 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `6.1.4`, released December 2, 2026. [Source repository](https://github.com/django/django)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [5.2.17](#v-5-2-17) to [6.1](#v-6-1): 155 breaking changes in 3 versions.
- From [4.0](#v-4-0) to [6.1](#v-6-1): 353 breaking changes in 19 versions.

## django 6.1 breaking changes

django 6.1, released August 5, 2026: 61 breaking changes.

- **Signature changed** `django.conf.LazySettings.__dir__`  

Was \_\_dir\_\_; now def \_\_dir\_\_(self). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.admin.action`  

Was def action(function=None, \*, permissions=None, description=None); now def action(function=None, \*, permissions=None, description=None, description_plural=None, location=ActionLocation.CHANGE_LIST). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.admin.ModelAdmin.get_action`  

Was def get_action(self, action); now def get_action(self, action, action_location=ActionLocation.CHANGE_LIST). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.admin.ModelAdmin.get_action_choices`  

Was def get_action_choices(self, request, default_choices=models.BLANK_CHOICE_DASH); now def get_action_choices(self, request, default_choices=None, action_location=ActionLocation.CHANGE_LIST). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.admin.ModelAdmin.get_actions`  

Was def get_actions(self, request); now def get_actions(self, request, action_location=ActionLocation.CHANGE_LIST). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.admin.ModelAdmin.response_action`  

Was def response_action(self, request, queryset); now def response_action(self, request, queryset, action_location=ActionLocation.CHANGE_LIST). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.admin.options.NestedObjects.__init__`  

Was def \_\_init\_\_(self, \*args, \*\*kwargs); now def \_\_init\_\_(self, \*args, force_collection=True, \*\*kwargs). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.admin.options.NestedObjects.can_fast_delete`  

Was def can_fast_delete(self, \*args, \*\*kwargs); now def can_fast_delete(self, objs, from_field=None). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.admin.templatetags.admin_list.InclusionAdminNode.__init__`  

Was def \_\_init\_\_(self, parser, token, func, template_name, takes_context=True); now def \_\_init\_\_(self, name, parser, token, func, template_name, takes_context=True). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.admin.templatetags.base.parse_bits`  

Was def parse_bits(parser, bits, params, varargs, varkw, defaults, kwonly, kwonly_defaults, takes_context, name); now def parse_bits(parser, bits, params, varargs, varkw, defaults, kwonly, kwonly_defaults, name). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.admin.utils.Collector.__init__`  

Was def \_\_init\_\_(self, using, origin=None); now def \_\_init\_\_(self, using, origin=None, force_collection=False). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.gis.db.models.functions.Value`  

Was class Value(SQLiteNumericMixin, Expression); now class Value(Expression). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.postgres.aggregates.ArrayAgg`  

Was class ArrayAgg(\_DeprecatedOrdering, Aggregate); now class ArrayAgg(Aggregate). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.postgres.aggregates.ArrayAgg.__init__`  

Was def \_\_init\_\_(self, \*expressions, ordering=(), order_by=(), \*\*extra); now def \_\_init\_\_(self, \*expressions, distinct=False, filter=None, default=None, order_by=None, \*\*extra). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.postgres.aggregates.BitAnd`  

Was class BitAnd(Aggregate); now class BitAnd(\_BitAnd). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.postgres.aggregates.BitAnd.__init__`  

Was def \_\_init\_\_(self, \*expressions, distinct=False, filter=None, default=None, order_by=None, \*\*extra); now def \_\_init\_\_(self, expression, \*\*extra). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.postgres.aggregates.BitOr`  

Was class BitOr(Aggregate); now class BitOr(\_BitOr). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.postgres.aggregates.BitOr.__init__`  

Was def \_\_init\_\_(self, \*expressions, distinct=False, filter=None, default=None, order_by=None, \*\*extra); now def \_\_init\_\_(self, expression, \*\*extra). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.postgres.aggregates.BitXor`  

Was class BitXor(Aggregate); now class BitXor(\_BitXor). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.postgres.aggregates.BitXor.__init__`  

Was def \_\_init\_\_(self, \*expressions, distinct=False, filter=None, default=None, order_by=None, \*\*extra); now def \_\_init\_\_(self, expression, \*\*extra). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.postgres.aggregates.JSONBAgg`  

Was class JSONBAgg(\_DeprecatedOrdering, Aggregate); now class JSONBAgg(Aggregate). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.postgres.aggregates.JSONBAgg.__init__`  

Was def \_\_init\_\_(self, \*expressions, ordering=(), order_by=(), \*\*extra); now def \_\_init\_\_(self, \*expressions, distinct=False, filter=None, default=None, order_by=None, \*\*extra). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.postgres.aggregates.mixins.OrderableAggMixin`  

Was class OrderableAggMixin(\_DeprecatedOrdering); now class OrderableAggMixin. [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.postgres.aggregates.StringAgg`  

Was class StringAgg(\_DeprecatedOrdering, \_StringAgg); now class StringAgg(\_StringAgg). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.postgres.operations.OperationCategory`  

Was class OperationCategory(str, enum.Enum); now class OperationCategory(StrEnum). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.postgres.search.Field.get_choices`  

Was def get_choices(self, include_blank=True, blank_choice=BLANK_CHOICE_DASH, limit_choices_to=None, ordering=()); now def get_choices(self, include_blank=True, blank_choice=None, limit_choices_to=None, ordering=()). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.contrib.postgres.search.Value`  

Was class Value(SQLiteNumericMixin, Expression); now class Value(Expression). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.backends.base.operations.BaseDatabaseOperations.binary_placeholder_sql`  

Was def binary_placeholder_sql(self, value); now def binary_placeholder_sql(self, value, compiler). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.backends.mysql.base.DatabaseFeatures.can_introspect_check_constraints`  

Was def can_introspect_check_constraints(self); now can_introspect_check_constraints. [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.backends.mysql.base.DatabaseFeatures.supports_column_check_constraints`  

Was def supports_column_check_constraints(self); now supports_column_check_constraints. [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.backends.mysql.base.DatabaseFeatures.supports_expression_defaults`  

Was def supports_expression_defaults(self); now supports_expression_defaults. [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.backends.mysql.base.DatabaseFeatures.supports_select_intersection`  

Was def supports_select_intersection(self); now supports_select_intersection. [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.backends.mysql.compiler.SQLInsertCompiler.field_as_sql`  

Was def field_as_sql(self, field, get_placeholder, val); now def field_as_sql(self, field, get_placeholder_sql, val). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.backends.oracle.base.DatabaseFeatures.supports_json_negative_indexing`  

Was supports_json_negative_indexing; now def supports_json_negative_indexing(self). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.backends.oracle.base.DatabaseFeatures.supports_stored_generated_columns`  

Was supports_stored_generated_columns; now def supports_stored_generated_columns(self). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.backends.postgresql.base.DatabaseFeatures.max_query_params`  

Was max_query_params; now def max_query_params(self). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.backends.postgresql.compiler.SQLCompiler`  

Was class SQLCompiler(BaseSQLCompiler); now class SQLCompiler. [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.backends.postgresql.psycopg_any.BaseTzLoader`  

Was class BaseTzLoader(TimestamptzLoader); now class BaseTzLoader(adapt.Loader). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.backends.sqlite3.base.DatabaseFeatures.can_return_columns_from_insert`  

Was def can_return_columns_from_insert(self); now can_return_columns_from_insert. [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.migrations.operations.base.OperationCategory`  

Was class OperationCategory(str, enum.Enum); now class OperationCategory(StrEnum). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.migrations.operations.fields.OperationCategory`  

Was class OperationCategory(str, enum.Enum); now class OperationCategory(StrEnum). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.migrations.operations.models.OperationCategory`  

Was class OperationCategory(str, enum.Enum); now class OperationCategory(StrEnum). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.migrations.operations.special.OperationCategory`  

Was class OperationCategory(str, enum.Enum); now class OperationCategory(StrEnum). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.models.constraints.UniqueConstraint.__init__`  

Was def \_\_init\_\_(self, \*expressions, fields=(), name=None, condition=None, deferrable=None, include=None, opclasses=(), nulls_distinct=None, violation_error_code=None, violation_error_message=None); now def \_\_init\_\_(self, \*expressions... [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.models.fields.related_descriptors.ForwardManyToOneDescriptor.get_queryset`  

Was def get_queryset(self, \*\*hints); now def get_queryset(self, \*, instance). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.models.fields.related_descriptors.ReverseOneToOneDescriptor.get_queryset`  

Was def get_queryset(self, \*\*hints); now def get_queryset(self, \*, instance). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.models.ForeignObjectRel.get_choices`  

Was def get_choices(self, include_blank=True, blank_choice=BLANK_CHOICE_DASH, limit_choices_to=None, ordering=()); now def get_choices(self, include_blank=True, blank_choice=None, limit_choices_to=None, ordering=()). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.models.Model.from_db`  

Was @classmethod def from_db(cls, db, field_names, values); now @classmethod def from_db(cls, db, field_names, values, \*, fetch_mode=None). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.models.query.get_related_populators`  

Was def get_related_populators(klass_info, select, db); now def get_related_populators(klass_info, select, db, fetch_mode). [pypi.org](https://pypi.org/project/Django/6.1/)
- **Signature changed** `django.db.models.query.RawQuerySet.__init__`  

Was def \_\_init\_\_(self, raw_query, model=None, query=None, params=(), translations=None, using=None, hints=None); now def \_\_init\_\_(self, raw_query, model=None, query=None, params=(), translations=None, using=None, hints=None... [pypi.org](https://pypi.org/project/Django/6.1/)

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

## django 6.0.8 breaking changes

django 6.0.8, released August 4, 2026: 2 breaking changes.

- **Signature changed** `django.contrib.gis.db.models.functions.GEOSGeometry.__init__`  

Was def \_\_init\_\_(self, geo_input, srid=None); now def \_\_init\_\_(self, geo_input, srid=None, \*, max_geom_collections=MAX_GEOM_COLLECTIONS). [pypi.org](https://pypi.org/project/Django/6.0.8/)
- **Signature changed** `django.contrib.gis.db.models.GeometryField.__init__`  

Was def \_\_init\_\_(self, verbose_name=None, dim=2, geography=False, \*, extent=(-180.0, -90.0, 180.0, 90.0), tolerance=0.05, \*\*kwargs); now def \_\_init\_\_(self, verbose_name=None, dim=2, geography=False, \*, extent=(-180.0, -90.0, 180.0, 90.0)... [pypi.org](https://pypi.org/project/Django/6.0.8/)

## django 6.0 breaking changes

django 6.0, released December 3, 2025: 92 breaking changes.

- **Signature changed** `django.contrib.admin.ModelAdmin.lookup_allowed`  

Was def lookup_allowed(self, lookup, value, request=None); now def lookup_allowed(self, lookup, value, request). [pypi.org](https://pypi.org/project/Django/6.0/)
- **Signature changed** `django.contrib.admin.options.BaseModelAdmin.lookup_allowed`  

Was def lookup_allowed(self, lookup, value, request=None); now def lookup_allowed(self, lookup, value, request). [pypi.org](https://pypi.org/project/Django/6.0/)
- **Signature changed** `django.contrib.admin.options.Paginator`  

Was class Paginator; now class Paginator(BasePaginator). [pypi.org](https://pypi.org/project/Django/6.0/)
- **Signature changed** `django.contrib.admin.widgets.BaseAdminDateWidget`  

Was class BaseAdminDateWidget(forms.DateInput); now class BaseAdminDateWidget(DateTimeWidgetContextMixin, forms.DateInput). [pypi.org](https://pypi.org/project/Django/6.0/)
- **Signature changed** `django.contrib.admin.widgets.BaseAdminTimeWidget`  

Was class BaseAdminTimeWidget(forms.TimeInput); now class BaseAdminTimeWidget(DateTimeWidgetContextMixin, forms.TimeInput). [pypi.org](https://pypi.org/project/Django/6.0/)
- **Signature changed** `django.contrib.auth.apps.check_models_permissions`  

Was def check_models_permissions(app_configs=None, \*\*kwargs); now def check_models_permissions(app_configs, \*\*kwargs). [pypi.org](https://pypi.org/project/Django/6.0/)
- **Signature changed** `django.contrib.auth.apps.check_user_model`  

Was def check_user_model(app_configs=None, \*\*kwargs); now def check_user_model(app_configs, \*\*kwargs). [pypi.org](https://pypi.org/project/Django/6.0/)
- **Signature changed** `django.contrib.auth.checks.check_models_permissions`  

Was def check_models_permissions(app_configs=None, \*\*kwargs); now def check_models_permissions(app_configs, \*\*kwargs). [pypi.org](https://pypi.org/project/Django/6.0/)
- **Signature changed** `django.contrib.auth.checks.check_user_model`  

Was def check_user_model(app_configs=None, \*\*kwargs); now def check_user_model(app_configs, \*\*kwargs). [pypi.org](https://pypi.org/project/Django/6.0/)
- **Signature changed** `django.contrib.auth.forms.EmailMultiAlternatives.__init__`  

Was def \_\_init\_\_(self, subject='', body='', from_email=None, to=None, bcc=None, connection=None, attachments=None, headers=None, alternatives=None, cc=None, reply_to=None); now def \_\_init\_\_(self, subject='', body='', from_email=None... [pypi.org](https://pypi.org/project/Django/6.0/)

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

## django 5.2.17 breaking changes

django 5.2.17, released August 4, 2026: 2 breaking changes.

- **Signature changed** `django.contrib.gis.db.models.fields.GEOSGeometry.__init__`  

Was def \_\_init\_\_(self, geo_input, srid=None); now def \_\_init\_\_(self, geo_input, srid=None, \*, max_geom_collections=MAX_GEOM_COLLECTIONS). [pypi.org](https://pypi.org/project/Django/5.2.17/)
- **Signature changed** `django.contrib.gis.db.models.GeometryField.__init__`  

Was def \_\_init\_\_(self, verbose_name=None, dim=2, geography=False, \*, extent=(-180.0, -90.0, 180.0, 90.0), tolerance=0.05, \*\*kwargs); now def \_\_init\_\_(self, verbose_name=None, dim=2, geography=False, \*, extent=(-180.0, -90.0, 180.0, 90.0)... [pypi.org](https://pypi.org/project/Django/5.2.17/)

## django 5.2.9 breaking changes

django 5.2.9, released December 2, 2025: 1 breaking change.

- **Signature changed** `django.db.backends.postgresql.compiler.SQLCompiler`  

Was class SQLCompiler; now class SQLCompiler(BaseSQLCompiler). [pypi.org](https://pypi.org/project/Django/5.2.9/)

## django 5.2.2 breaking changes

django 5.2.2, released June 4, 2025: 3 breaking changes.

- **Signature changed** `django.contrib.postgres.aggregates.ArrayAgg.resolve_expression`  

Was def resolve_expression(self, \*args, \*\*kwargs); now def resolve_expression(self, query=None, allow_joins=True, reuse=None, summarize=False, for_save=False). [pypi.org](https://pypi.org/project/Django/5.2.2/)
- **Signature changed** `django.contrib.postgres.aggregates.JSONBAgg.resolve_expression`  

Was def resolve_expression(self, \*args, \*\*kwargs); now def resolve_expression(self, query=None, allow_joins=True, reuse=None, summarize=False, for_save=False). [pypi.org](https://pypi.org/project/Django/5.2.2/)
- **Signature changed** `django.contrib.postgres.aggregates.StringAgg.resolve_expression`  

Was def resolve_expression(self, \*args, \*\*kwargs); now def resolve_expression(self, query=None, allow_joins=True, reuse=None, summarize=False, for_save=False). [pypi.org](https://pypi.org/project/Django/5.2.2/)

## Older versions

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

### django 5.2 breaking changes

django 5.2, released April 2, 2025: 51 breaking changes.

- **Signature changed** `django.conf.RemovedInDjango60Warning`  

Was class RemovedInDjango60Warning(PendingDeprecationWarning); now class RemovedInDjango60Warning(DeprecationWarning). [pypi.org](https://pypi.org/project/Django/5.2/)
- **Signature changed** `django.contrib.admin.helpers.display_for_field`  

Was def display_for_field(value, field, empty_value_display); now def display_for_field(value, field, empty_value_display, avoid_link=False). [pypi.org](https://pypi.org/project/Django/5.2/)

And 49 more in this version.

### django 5.1.8 breaking changes

django 5.1.8, released April 2, 2025: 1 breaking change.

- **Signature changed** `django.contrib.admin.models.LogEntryManager.log_actions`  

Was def log_actions(self, user_id, queryset, action_flag, change_message=''); now def log_actions(self, user_id, queryset, action_flag, change_message='', \*, single_object=False). [pypi.org](https://pypi.org/project/Django/5.1.8/)

### django 5.1.7 breaking changes

django 5.1.7, released March 6, 2025: 1 breaking change.

- **Signature changed** `django.contrib.admin.models.LogEntryManager.log_actions`  

Was def log_actions(self, user_id, queryset, action_flag, change_message='', \*, single_object=False); now def log_actions(self, user_id, queryset, action_flag, change_message=''). [pypi.org](https://pypi.org/project/Django/5.1.7/)

### django 5.1.1 breaking changes

django 5.1.1, released September 3, 2024: 3 breaking changes.

- **Signature changed** `django.contrib.admin.forms.PasswordChangeForm.validate_passwords`  

Was def validate_passwords(self, password1_field_name='password1', password2_field_name='password2', usable_password_field_name='usable_password'); now def validate_passwords(self, password1_field_name='password1'... [pypi.org](https://pypi.org/project/Django/5.1.1/)
- **Signature changed** `django.db.models.ExpressionList.__init__`  

Was def \_\_init\_\_(self, \*expressions, \*\*extra); now def \_\_init\_\_(self, \*expressions, output_field=None, \*\*extra). [pypi.org](https://pypi.org/project/Django/5.1.1/)

And 1 more in this version.

### django 5.1 breaking changes

django 5.1, released August 7, 2024: 30 breaking changes.

- **Signature changed** `django.contrib.admin.models.ContentType.get_object_for_this_type`  

Was def get_object_for_this_type(self, \*\*kwargs); now def get_object_for_this_type(self, using=None, \*\*kwargs). [pypi.org](https://pypi.org/project/Django/5.1/)
- **Signature changed** `django.contrib.gis.db.models.functions.FromWKB.__init__`  

Was def \_\_init\_\_(self, \*expressions, \*\*extra); now def \_\_init\_\_(self, expression, srid=0, \*\*extra). [pypi.org](https://pypi.org/project/Django/5.1/)

And 28 more in this version.

### django 5.0.8 breaking changes

django 5.0.8, released August 6, 2024: 1 breaking change.

- **Signature changed** `django.db.models.base.DatabaseDefault.__init__`  

Was def \_\_init\_\_(self, output_field=None); now def \_\_init\_\_(self, expression, output_field=None). [pypi.org](https://pypi.org/project/Django/5.0.8/)

### django 5.0.6 breaking changes

django 5.0.6, released May 7, 2024: 2 breaking changes.

- **Signature changed** `django.contrib.contenttypes.prefetch.GenericPrefetch.__init__`  

Was def \_\_init\_\_(self, lookup, querysets=None, to_attr=None); now def \_\_init\_\_(self, lookup, querysets, to_attr=None). [pypi.org](https://pypi.org/project/Django/5.0.6/)
- **Signature changed** `django.db.backends.oracle.base.DatabaseFeatures.django_test_skips`  

Was django_test_skips; now def django_test_skips(self). [pypi.org](https://pypi.org/project/Django/5.0.6/)

### django 5.0.1 breaking changes

django 5.0.1, released January 2, 2024: 2 breaking changes.

- **Signature changed** `django.db.backends.oracle.base.DatabaseFeatures.supports_boolean_expr_in_select_clause`  

Was supports_boolean_expr_in_select_clause; now def supports_boolean_expr_in_select_clause(self). [pypi.org](https://pypi.org/project/Django/5.0.1/)
- **Signature changed** `django.db.backends.oracle.base.FormatStylePlaceholderCursor.__init__`  

Was def \_\_init\_\_(self, connection); now def \_\_init\_\_(self, connection, database). [pypi.org](https://pypi.org/project/Django/5.0.1/)

### django 5.0 breaking changes

django 5.0, released December 4, 2023: 94 breaking changes.

- **Signature changed** `django.apps.config.cached_property.__init__`  

Was def \_\_init\_\_(self, func, name=None); now def \_\_init\_\_(self, func). [pypi.org](https://pypi.org/project/Django/5.0/)
- **Signature changed** `django.conf.RemovedInDjango51Warning`  

Was class RemovedInDjango51Warning(PendingDeprecationWarning); now class RemovedInDjango51Warning(DeprecationWarning). [pypi.org](https://pypi.org/project/Django/5.0/)

And 92 more in this version.

### django 4.2.19 breaking changes

django 4.2.19, released February 5, 2025: 2 breaking changes.

- **Signature changed** `django.core.validators.is_valid_ipv6_address`  

Was def is_valid_ipv6_address(ip_str); now def is_valid_ipv6_address(ip_addr). [pypi.org](https://pypi.org/project/Django/4.2.19/)
- **Signature changed** `django.utils.ipv6.is_valid_ipv6_address`  

Was def is_valid_ipv6_address(ip_str); now def is_valid_ipv6_address(ip_addr). [pypi.org](https://pypi.org/project/Django/4.2.19/)

### django 4.2.18 breaking changes

django 4.2.18, released January 14, 2025: 1 breaking change.

- **Signature changed** `django.utils.ipv6.clean_ipv6_address`  

Was def clean_ipv6_address(ip_str, unpack_ipv4=False, error_message=\_('This is not a valid IPv6 address.')); now def clean_ipv6_address(ip_str, unpack_ipv4=False, error_message=\_('This is not a valid IPv6 address.')... [pypi.org](https://pypi.org/project/Django/4.2.18/)

### django 4.2.8 breaking changes

django 4.2.8, released December 4, 2023: 2 breaking changes.

- **Signature changed** `django.contrib.postgres.lookups.Query.resolve_lookup_value`  

Was def resolve_lookup_value(self, value, can_reuse, allow_joins); now def resolve_lookup_value(self, value, can_reuse, allow_joins, summarize=False). [pypi.org](https://pypi.org/project/Django/4.2.8/)
- **Signature changed** `django.db.backends.mysql.base.DatabaseFeatures.allows_group_by_selected_pks`  

Was allows_group_by_selected_pks; now def allows_group_by_selected_pks(self). [pypi.org](https://pypi.org/project/Django/4.2.8/)

### django 4.2.3 breaking changes

django 4.2.3, released July 3, 2023: 2 breaking changes.

- **Signature changed** `django.contrib.admin.widgets.AdminDateWidget`  

Was class AdminDateWidget(forms.DateInput); now class AdminDateWidget(BaseAdminDateWidget). [pypi.org](https://pypi.org/project/Django/4.2.3/)
- **Signature changed** `django.contrib.admin.widgets.AdminTimeWidget`  

Was class AdminTimeWidget(forms.TimeInput); now class AdminTimeWidget(BaseAdminTimeWidget). [pypi.org](https://pypi.org/project/Django/4.2.3/)

### django 4.0 breaking changes

django 4.0, released December 7, 2021: 85 breaking changes.

- **Signature changed** `django.apps.config.RemovedInDjango41Warning`  

Was class RemovedInDjango41Warning(PendingDeprecationWarning); now class RemovedInDjango41Warning(DeprecationWarning). [pypi.org](https://pypi.org/project/Django/4.0/)
- **Signature changed** `django.contrib.admin.ModelAdmin.log_addition`  

Was def log_addition(self, request, object, message); now def log_addition(self, request, obj, message). [pypi.org](https://pypi.org/project/Django/4.0/)

And 83 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.
