{"repo":"cfpb/wagtail-flags","free":true,"listed":false,"github":"https://github.com/cfpb/wagtail-flags","clone":"git clone https://github.com/cfpb/wagtail-flags.git","description":"Feature flags for Wagtail sites","language":"Python","stars":91,"topics":["wagtail","django","python","hacktoberfest"],"license":"CC0-1.0","category":"dashboards-admin","readme_excerpt":"Wagtail-Flags Feature flags allow you to toggle functionality based on configurable conditions. Wagtail-Flags adds a Wagtail admin UI and Wagtail Site-based condition on top of Django-Flags. For a more complete overview of feature flags and how to use them, please see the Django-Flags documentation. - Dependencies - Installation - Usage - Extended conditions - Signals - Getting help - Getting involved - Licensing - Credits and references Dependencies - Python 3.12+ - Django 5.2 (LTS)+ - Django-Flags 5.0 - Wagtail 6.3+ It should be compatible at all intermediate versions, as well. If you find that it is not, please file an issue. Installation 1. Install Django-Flags and Wagtail-Flags: 2. Add flags and wagtailflags as installed apps in your Django settings.py : Usage Please see the Django-Flags documentation for the most current information about defining and checking feature flags. First, define the flag in Django settings.py : Then use the flag in a Django template ( mytemplate.html ): Next, configure a URL for that template ( urls.py ): Finally, add conditions for the flag in the Wagtail admin under \"Settings\", \"Flags\", \"MY FLAG\": Extended conditions Wagtail-Flags adds the following conditions to Django-Flags: site Allows a flag to be enabled for a Wagtail site that matches the hostname and port in the condition value. Signals Wagtail-Flags includes flag enabled and flag disabled signals that can be received when the \"Enable for all requests\" and \"Disable for all requests\" b","default_branch":null,"files":null,"tree":[],"storefront":"/r/cfpb","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/cfpb/wagtail-flags/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}