django-waffle
A feature flipper for Django.
Decision gist · record as of 2026-08-14
Yes. Django Waffle is a mature, well-maintained feature flag solution with low install friction, no security vulnerabilities, and a permissive license. It's the standard choice for Django projects needing runtime feature control. Install it if you need to decouple feature rollout from deployment.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django to be installed and configured; feature flags must be defined in Django admin or via code.
- Low install friction with a single Django dependency.
- The project is actively maintained with recent commits, 1243 GitHub stars, and a long history since 2011, indicating stable, well-established code.
License · maintenance · safety
BSD (permissive) — BSD license is permissive, allowing commercial and private use with minimal restrictions—no compliance burden for most projects.
last release 2025-06-12 (428 days) · last repo commit 2026-06-07 · 1,243 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,966,503 downloads/mo, #3,404 on PyPI
Alternatives
Verify before relying
pip install django-waffle
from waffle.decorators import flag_is_active
if flag_is_active(request, 'my_feature'):
# Feature is enabled for this request- Whether the package supports real-time flag updates without restarting the application.
- How flag evaluation performance scales with a large number of flags in production.
- Whether there are built-in integrations with external flag management services.
What it is and what it does
Django Waffle is a feature flag library for Django that lets you control feature availability at runtime without code changes. You define conditions (user-based, percentage-based, date-based, etc.) for when a flag should be active, then check those flags in your views, templates, or code to conditionally enable or disable functionality. It integrates directly into Django's admin interface and database, making it straightforward to toggle features on and off for testing, gradual rollouts, or A/B experiments.
The package is production-stable, actively maintained, and widely used (1.9M+ monthly downloads). It requires only Django as a runtime dependency and supports current Python versions (3.9+) and recent Django versions (4.2 through 5.2). With no known security vulnerabilities and a permissive BSD license, it's a low-friction addition to any Django project.
Use it for
- Gradually roll out new features to a percentage of users without redeploying the application.
- Run A/B tests by enabling features for specific user groups or cohorts.
- Disable problematic features in production quickly without a code release.
- Test experimental functionality in staging or production with feature flags before full release.
- Manage feature availability across multiple environments with different flag configurations.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Django Waffle is a mature, well-maintained feature flag solution with low install friction, no security vulnerabilities, and a permissive license. It's the standard choice for Django projects needing runtime feature control. Install it if you need to decouple feature rollout from deployment.
Install
django-waffle on PyPI
Before you install
Low install friction with a single Django dependency. The project is actively maintained with recent commits, 1243 GitHub stars, and a long history since 2011, indicating stable, well-established code.
Requires Django to be installed and configured; feature flags must be defined in Django admin or via code.
License in practice
BSD license is permissive, allowing commercial and private use with minimal restrictions—no compliance burden for most projects.
Quickstart
pip install django-waffle
from waffle.decorators import flag_is_active
if flag_is_active(request, 'my_feature'):
# Feature is enabled for this request
Verify before relying
- Whether the package supports real-time flag updates without restarting the application.
- How flag evaluation performance scales with a large number of flags in production.
- Whether there are built-in integrations with external flag management services.
Package facts
| License | BSD permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagedjango |
| Maintenance | Actively maintained 428 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,966,503 / month, #3,404 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.0Framework :: Django :: 5.1Framework :: Django :: 5.2Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: django_waffle-5.0.0-py3-none-any.whl
Tags
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 feature flipper”
- django-waffleDjango Waffle provides feature flags (toggles) for Django…
- django-flagsDjango-Flags provides a feature flag system for Django projects,…
- edx-togglesProvides Django-integrated feature toggle management, allowing you to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
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.
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.
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.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
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…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also django-flags · edx-toggles · FeatureManagement · django-settings-holder · django-signal-webhooks · django-lifecycle · django-viewflow · django-taggit · django-dirtyfields · django-unfold