$npx skillfedfor your agent

django-add-default-value

This django Migration Operation can be used to transfer a fields default value to the database scheme.

With conditionsPyPI Python ModulesReleased Feb 2022326.4K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_add_default_value-0.10.0-py3-none-any.whl
v0.10.0 · released 2022-02-02 · 1 runtime deps: Django

Yes, if you are on Django 1.11–3.2 and need to set database-level defaults during migrations. No, if you are on a newer Django version—the package is dormant and has not been tested or updated for Django 4.0+. Check your Django version against the classifiers before installing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a single Django dependency.
  • Maintenance is dormant—last release was 2022-02-02 and no commits since 2024-03-20—so expect no active support or updates for newer Django versions.

License · maintenance · safety

Apache-2.0 (permissive) — Released under Apache 2.0 (permissive), so you can use, modify, and distribute it freely in commercial and private projects without restriction.

last release 2022-02-02 (1654 days) · last repo commit 2024-03-20 · 138 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 326,397 downloads/mo, #7,577 on PyPI

Verify before relying

pip install django-add-default-value

In your migration file:
from django_add_default_value import AddDefaultValue

operations = [
    migrations.AddField(...),
    AddDefaultValue(
        model_name='my_model',
        name='my_field',
        value='my_default'
    )
]
  • Whether the package works with Django versions released after 2022 (classifiers list only up to 3.2)
  • Current test coverage and whether MSSQL support has been validated since the 'currently not tested' note
Same gist for agents: .md · .json

What it is and what it does

django-add-default-value is a Django migration operation that lets you set default values at the database level when adding new fields to existing tables. Instead of relying on Django's ORM default (which only applies to new rows created through Django), this operation runs a SQL ALTER TABLE statement to set the default in the schema itself, ensuring backward compatibility and consistency across all database access patterns.

You use it by adding an AddDefaultValue operation to your migration file after the AddField operation. It supports MySQL, PostgreSQL, CockroachDB, and MSSQL. The package has been dormant since early 2022, so while it remains functional for the Django versions it was tested against, there is no active maintenance or support for newer Django releases.

Use it for

  • Adding a required field with a default value to an existing Django model without breaking existing code or database queries
  • Ensuring database-level consistency when a field default must apply to all rows, not just those created through Django ORM
  • Migrating legacy schemas where the database itself needs to enforce default values independent of application logic
  • Handling backward compatibility in production deployments where you need to add a column with a safe default without downtime

Worth the install?

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

With conditions

Yes, if you are on Django 1.11–3.2 and need to set database-level defaults during migrations.

No, if you are on a newer Django version—the package is dormant and has not been tested or updated for Django 4.0+. Check your Django version against the classifiers before installing.

Install

django-add-default-value on PyPI

Before you install

Low install friction with a single Django dependency. Maintenance is dormant—last release was 2022-02-02 and no commits since 2024-03-20—so expect no active support or updates for newer Django versions.

License in practice

Released under Apache 2.0 (permissive), so you can use, modify, and distribute it freely in commercial and private projects without restriction.

Quickstart

pip install django-add-default-value

In your migration file:
from django_add_default_value import AddDefaultValue

operations = [
    migrations.AddField(...),
    AddDefaultValue(
        model_name='my_model',
        name='my_field',
        value='my_default'
    )
]

Verify before relying

  • Whether the package works with Django versions released after 2022 (classifiers list only up to 3.2)
  • Current test coverage and whether MSSQL support has been validated since the 'currently not tested' note

Package facts

LicenseApache-2.0 permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
Django
MaintenanceDormant 1,654 days since the last release
Last repo commit
First released
Downloads326,397 / month, #7,577 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 :: 1.11Framework :: Django :: 2.0Framework :: Django :: 2.1Framework :: Django :: 2.2Framework :: Django :: 3.0Framework :: Django :: 3.1Framework :: Django :: 3.2Intended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Evidence: django_add_default_value-0.10.0-py3-none-any.whl

Tags

Capabilities
django migration default valuedatabase schema default columndjango add field with defaultbackward compatible django migrationsdjango field default to database
Topics
django-migrationsschema-management
PyPI keywords
djangomigrationdefaultdatabase backward compatibility

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 migration default value”

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

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also django-deprecate-fields · django-syzygy · django-safemigrate · django-concurrency · django-citext · django-migration-linter · django-soft-delete · django-sequences · django-linear-migrations · swapper