$npx skillfedfor your agent

django-deprecate-fields

This package allows deprecating model fields and allows removing them in a backwards compatible manner.

Worth itPyPI DatabaseReleased Jan 20262.8M downloads / moApache License 2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_deprecate_fields-0.2.3-py3-none-any.whl
v0.2.3 · released 2026-01-20 · 1 runtime deps: Django

Yes. This package solves a real operational problem—removing Django model fields safely across multiple deployments—with low install friction, active maintenance, and no security issues. It is most valuable for teams managing production Django applications where coordinated deployments are difficult or where you need to support older code during a transition period. If you rarely remove fields or always deploy atomically, the benefit is lower.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with a single runtime dependency on Django.
  • Actively maintained with a recent commit and no known vulnerabilities.

License · maintenance · safety

Apache License 2.0 (permissive) — Released under Apache License 2.0, a permissive license allowing commercial use with minimal restrictions.

last release 2026-01-20 (206 days) · last repo commit 2026-05-28 · 196 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,839,332 downloads/mo, #2,866 on PyPI

Verify before relying

pip install django-deprecate-fields

from django_deprecate_fields import deprecate_field
from django.db import models

class MyModel(models.Model):
    field1 = deprecate_field(models.CharField())
    field2 = models.CharField()
  • Whether the package works with Django versions released after 3.1, given classifiers only list up to 3.1
  • Whether Python 2.7 support is actively maintained or a legacy artifact
Same gist for agents: .md · .json

What it is and what it does

Django-deprecate-fields provides a decorator-based approach to safely remove model fields from a Django application without breaking existing code during the transition period. When you wrap a field with `deprecate_field()`, the package automatically converts it to nullable during the next migration, and any code accessing the field will receive None instead of raising an error. This allows you to deploy the deprecation marker, run migrations, then safely remove the field definition in a subsequent deployment—a three-step process that maintains backward compatibility across your application.

The package is designed for teams managing long-lived Django projects where fields need to be retired gradually. It handles the common Django commands (makemigrations, migrate, showmigrations) automatically, and supports custom migration commands via a settings parameter. With a single runtime dependency on Django and no known vulnerabilities, it integrates cleanly into existing projects.

Use it for

  • Mark a database column as deprecated in one release, allowing code to stop using it before physical removal in a later release.
  • Provide a default return value (via `return_instead` argument) when deprecated fields are accessed, easing the transition for legacy code.
  • Coordinate field removal across multiple services by using the three-step deprecation workflow without requiring simultaneous deployments.
  • Audit which parts of your codebase still reference deprecated fields by catching None returns or custom fallback values.
  • Support custom migration tools (e.g., pgmakemigrations) by configuring DEPRECATE_FIELD_CUSTOM_MIGRATION_COMMAND in settings.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

This package solves a real operational problem—removing Django model fields safely across multiple deployments—with low install friction, active maintenance, and no security issues. It is most valuable for teams managing production Django applications where coordinated deployments are difficult or where you need to support older code during a transition period. If you rarely remove fields or always deploy atomically, the benefit is lower.

Install

django-deprecate-fields on PyPI

Before you install

Low friction install with a single runtime dependency on Django. Actively maintained with a recent commit and no known vulnerabilities.

License in practice

Released under Apache License 2.0, a permissive license allowing commercial use with minimal restrictions.

Quickstart

pip install django-deprecate-fields

from django_deprecate_fields import deprecate_field
from django.db import models

class MyModel(models.Model):
    field1 = deprecate_field(models.CharField())
    field2 = models.CharField()

Verify before relying

  • Whether the package works with Django versions released after 3.1, given classifiers only list up to 3.1
  • Whether Python 2.7 support is actively maintained or a legacy artifact

Package facts

LicenseApache License 2.0 permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
Django
MaintenanceActively maintained 206 days since the last release
Last repo commit
First released
Downloads2,839,332 / month, #2,866 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 2.1Framework :: Django :: 2.2Framework :: Django :: 3.0Framework :: Django :: 3.1Intended Audience :: DevelopersProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7

Evidence: django_deprecate_fields-0.2.3-py3-none-any.whl

Tags

Capabilities
django model field deprecationsafely remove django fieldsbackward compatible field removaldjango migration field deprecationgradual field removal django
Topics
django-migrationsfield-deprecationbackward-compatibility
PyPI keywords
djangomigrationdeprecationdatabasebackwardcompatibility

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “django model field deprecation”

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also django-add-default-value · jsonfield · django-cleanup · django-migration-linter · legacy-api-wrap · django-hashid-field · fields · django-citext · django-choices-field · deprecation