def features_from_database(self, request):
        for feature in Feature.objects.all():
            yield (feature.name, feature.enabled)
Provides an iterator yielding tuples (feature name, True/False)
dataset/ETHPy150Open tobych/django-feature-flipper/featureflipper/middleware.py/FeaturesMiddleware.features_from_database