X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/801a05d2ff33bb8a3c1a46ea0c657825b2787fa7..a9226097c8eea0591fd3249f62a71becc6d2be93:/src/experiments/experiments.py?ds=inline diff --git a/src/experiments/experiments.py b/src/experiments/experiments.py index 60d05213d..8cd278594 100644 --- a/src/experiments/experiments.py +++ b/src/experiments/experiments.py @@ -8,10 +8,7 @@ class NewLayout(Experiment): slug = 'layout' name = 'Nowy layout strony' size = settings.EXPERIMENTS_LAYOUT - - def qualify(self, request): - if get_language() != 'pl': - return False + switchable = False class Sowka(Experiment): @@ -21,14 +18,7 @@ class Sowka(Experiment): switchable = False -class Search(Experiment): - slug = 'search' - name = 'Nowa wyszukiwarka' - size = settings.EXPERIMENTS_SEARCH - - experiments = [ NewLayout, Sowka, - Search ]