jazzband / django-waffle

A feature flipper for Django
https://waffle.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.13k stars 258 forks source link

Support for custom models for switches #442

Closed shaun-gallagher-octane closed 2 years ago

shaun-gallagher-octane commented 2 years ago

Waffle supports custom models for Flags, which can be specified using the WAFFLE_FLAG_MODEL configuration.

It would be useful to have analogous support for custom Switch models.

The work would likely involve creating a version of get_waffle_flag_model for switches.

allanlewis commented 2 years ago

Can this be closed now that #448 has been merged?