X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9d763695198b109f00b5d88a5cfe0190871271aa..8f031335a8a0dabceec381b89eb0cbbcb2f4b637:/src/experiments/experiments.py?ds=sidebyside diff --git a/src/experiments/experiments.py b/src/experiments/experiments.py index 15c103ff7..60d05213d 100644 --- a/src/experiments/experiments.py +++ b/src/experiments/experiments.py @@ -7,7 +7,7 @@ from .base import Experiment class NewLayout(Experiment): slug = 'layout' name = 'Nowy layout strony' - size = 1 or settings.EXPERIMENTS_LAYOUT + size = settings.EXPERIMENTS_LAYOUT def qualify(self, request): if get_language() != 'pl': @@ -21,7 +21,14 @@ class Sowka(Experiment): switchable = False +class Search(Experiment): + slug = 'search' + name = 'Nowa wyszukiwarka' + size = settings.EXPERIMENTS_SEARCH + + experiments = [ NewLayout, Sowka, + Search ]