fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix findable
[wolnelektury.git]
/
src
/
experiments
/
experiments.py
diff --git
a/src/experiments/experiments.py
b/src/experiments/experiments.py
index
15c103f
..
60d0521
100644
(file)
--- 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'
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':
def qualify(self, request):
if get_language() != 'pl':
@@
-21,7
+21,14
@@
class Sowka(Experiment):
switchable = False
switchable = False
+class Search(Experiment):
+ slug = 'search'
+ name = 'Nowa wyszukiwarka'
+ size = settings.EXPERIMENTS_SEARCH
+
+
experiments = [
NewLayout,
Sowka,
experiments = [
NewLayout,
Sowka,
+ Search
]
]