{"id":14065057,"url":"https://github.com/cfpb/django-flags","last_synced_at":"2025-05-14T22:08:58.208Z","repository":{"id":39614586,"uuid":"137590135","full_name":"cfpb/django-flags","owner":"cfpb","description":"Feature flags for Django projects","archived":false,"fork":false,"pushed_at":"2025-05-01T13:18:06.000Z","size":7239,"stargazers_count":277,"open_issues_count":14,"forks_count":41,"subscribers_count":25,"default_branch":"main","last_synced_at":"2025-05-01T13:46:55.272Z","etag":null,"topics":["django","feature-flags","feature-flipper","feature-toggles","hacktoberfest","python"],"latest_commit_sha":null,"homepage":"https://cfpb.github.io/django-flags/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cfpb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-16T15:23:55.000Z","updated_at":"2025-05-01T13:17:17.000Z","dependencies_parsed_at":"2024-03-19T14:30:49.567Z","dependency_job_id":"824c941b-d780-40d6-90c9-c8b0108cc6ea","html_url":"https://github.com/cfpb/django-flags","commit_stats":{"total_commits":283,"total_committers":26,"mean_commits":"10.884615384615385","dds":0.2791519434628975,"last_synced_commit":"86ee7d9d7d169c5f66e3159843b2cec63a875ae6"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfpb%2Fdjango-flags","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfpb%2Fdjango-flags/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfpb%2Fdjango-flags/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cfpb%2Fdjango-flags/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cfpb","download_url":"https://codeload.github.com/cfpb/django-flags/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254235700,"owners_count":22036964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","feature-flags","feature-flipper","feature-toggles","hacktoberfest","python"],"created_at":"2024-08-13T07:04:15.932Z","updated_at":"2025-05-14T22:08:53.196Z","avatar_url":"https://github.com/cfpb.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Django-Flags\n\n[![Build Status](https://github.com/cfpb/django-flags/workflows/test/badge.svg)](https://github.com/cfpb/django-flags/actions)\n[![Ethical open source](https://img.shields.io/badge/ethical-open-%23bb8c3c?labelColor=393162)](https://ethicalsource.dev/principles/)\n\nFeature flags allow you to toggle functionality in both Django code and the Django templates based on configurable conditions. Flags can be useful for staging feature deployments, for A/B testing, or for any time you need an on/off switch for blocks of code. The toggle can be by date, user, URL value, or a number of [other conditions](https://cfpb.github.io/django-flags/conditions/), editable in the admin or in definable in settings.\n\n- [Dependencies](#dependencies)\n- [Installation](#installation)\n- [Documentation](#documentation)\n- [Getting help](#getting-help)\n- [Getting involved](#getting-involved)\n- [Licensing](#licensing)\n- [Credits and references](#credits-and-references)\n\n## Dependencies\n\n- Python 3.8+\n- Django 4.2+\n\n## Installation\n\n1. Install Django-Flags:\n\n```shell\npip install django-flags\n```\n\n2. Add `flags` as an installed app in your Django `settings.py`:\n\n ```python\n INSTALLED_APPS = (\n     ...\n     'flags',\n     ...\n )\n```\n\n## Documentation\n\nhttps://cfpb.github.io/django-flags is the full documentation for Django-Flags, and includes how to get started, general usage, and an API reference.\n\n## Getting help\n\nPlease add issues to the [issue tracker](https://github.com/cfpb/django-flags/issues).\n\n## Getting involved\n\nGeneral instructions on _how_ to contribute can be found in [CONTRIBUTING](CONTRIBUTING.md).\n\n## Licensing\n1. [TERMS](TERMS.md)\n2. [LICENSE](LICENSE)\n3. [CFPB Source Code Policy](https://github.com/cfpb/source-code-policy/)\n\n## Credits and references\n\nDjango-Flags was forked from [Wagtail-Flags](https://github.com/cfpb/wagtail-flags), which was itself forked from [cfgov-refresh](https://github.com/cfpb/cfgov-refresh).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfpb%2Fdjango-flags","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcfpb%2Fdjango-flags","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcfpb%2Fdjango-flags/lists"}