thulasi-ram / django-feature-toggle

Feature Toggle implementation as a pluggable django app. Supports SimpleToggle, TimeBombToggle ways to manage release of new features that can be easily toggled on / off.
GNU General Public License v3.0
8 stars 2 forks source link

Simplify usage of environments #8

Open bittner opened 3 years ago

bittner commented 3 years ago

We deploy django-feature-toggles with our Django application to our target environments (development, integration, production).

With this approach, clearly,

and we initialize the toggles via a management command at startup. (It's a cloud-native setup on a Kubernetes / OpenShift cluster.)

In other words, we don't need to specify the "environment" at all in our setup as we're not controlling multiple environment but only the one we're running on.

Suggested Change

If this is a valid use case for you we should maybe make "environments" optional – and hidden on the Admin – by default. Only when specified either in the Django settings or populated in the app's model we may want to show it as a control.