diff --git a/apps/discovery/views.py b/apps/discovery/views.py index e58489061e..9637b40f38 100644 --- a/apps/discovery/views.py +++ b/apps/discovery/views.py @@ -4,6 +4,7 @@ import json import urlparse from django import http +from django.conf import settings from django.contrib import admin from django.db import IntegrityError from django.db.models import F @@ -90,7 +91,11 @@ def get_modules(request, platform, version): def get_featured_personas(request): categories, filter, base, category = personas_listing(request) - featured = base & Addon.objects.new_featured(request.APP) + if settings.NEW_FEATURES: + featured_addons = Addon.objects.new_featured(request.APP) + else: + featured_addons = Addon.objects.featured(request.APP) + featured = base & featured_addons return featured[:6] diff --git a/settings.py b/settings.py index 55db88022d..65177252ac 100644 --- a/settings.py +++ b/settings.py @@ -930,10 +930,7 @@ VALIDATE_ADDONS = True # Feature flags SEARCH_EXCLUDE_PERSONAS = True UNLINK_SITE_STATS = True - -# Use featured collections. -NEW_FEATURES = True - +NEW_FEATURES = False # Set to True if we're allowed to use X-SENDFILE. XSENDFILE = True