Checkout style
[wolnelektury.git] / src / experiments / experiments.py
1 import re
2 from django.conf import settings
3 from django.utils.translation import get_language
4 from .base import Experiment
5
6
7 class NewLayout(Experiment):
8     slug = 'layout'
9     name = 'Nowy layout strony'
10     size = 1 or settings.EXPERIMENTS_LAYOUT
11
12     def qualify(self, request):
13         if get_language() != 'pl':
14             return False
15
16
17 experiments = [
18     NewLayout,
19 ]