def get_queryset_configurations(self, **kwargs):
        queryset_list = []
        current_configs = []

        # Create stage specific configurations dictionary
        for stage in self.stage_configurations().filter(**kwargs):
            queryset_list.append(stage)
            current_configs.append(stage.key)

        for project in self.project.project_configurations().filter(**kwargs):
            if not project.key in current_configs:
                queryset_list.append(project)
                current_configs.append(project.key)

        return queryset_list
A non-existent flatpage won't be served if the fallback middlware is disabled
dataset/ETHPy150Open fabric-bolt/fabric-bolt/fabric_bolt/projects/models.py/Stage.get_queryset_configurations--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.3/django/contrib/flatpages/tests/views.py/FlatpageViewTests.test_fallback_non_existent_flatpage