# django-waffle/django-waffle

A feature flipper for Django

Repository: https://github.com/django-waffle/django-waffle
Canonical: https://ross.abutalabs.com/products/django-waffle
Homepage: https://waffle.readthedocs.io
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: feature-flags
Last push: 2026-06-07T04:47:15+00:00

## Health v2 (maintenance only)
Score: 62/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 86, release rhythm 8, longevity 100
- inputs: {"age_days": 5701, "days_push": 87, "days_rel": 447, "gap_med": 208, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1254, forks 263 (observed 2026-08-28T04:04:08.821048+00:00)

## What it is
Django Waffle is a feature flag (feature flipper) library for Django that lets you define conditions under which a flag is active. It integrates with Django views, templates, and middleware to enable gradual rollouts and experimentation.

## Use cases
- toggle features on and off in a django app without deploys
- roll out a new feature to a percentage of users
- run a/b tests on django views and templates
- enable features only for specific users or groups
- manage experimental feature switches in django

## When to choose
- you run a django application and need feature flags
- you want percentage-based or user-targeted feature rollouts
- you need flags usable in templates, views, and middleware

## When to avoid
- your project is not django-based
- you need a language-agnostic or hosted feature flag service
- you need advanced experimentation analytics out of the box

## Facets
- artifact type: library
- maturity: stable
- function: feature-flags, middleware, web-framework
- domain: web-development, backend, developer-tools
- platform: python
- tags: django, feature-flipper, a-b-testing, flags, switches, web-server

## Member repositories
- django-waffle/django-waffle (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:08.821048+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:07:23.873305+00:00, confidence not recorded.
  - readme: https://github.com/django-waffle/django-waffle (fetched 2026-08-28T04:04:08.821048+00:00, sha bb8a1a825158)
  - registry_pypi: https://pypi.org/pypi/django-waffle/json (fetched 2026-08-29T12:18:36.048334+00:00, sha d9dec91d193e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
