fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
e06d881bba71e3ac8c8bd797dd43d8bc4ea395b1
[wolnelektury.git]
/
src
/
experiments
/
experiments.py
1
import re
2
from .base import Experiment
3
4
5
class NewLayout(Experiment):
6
slug = 'layout'
7
name = 'Nowy layout strony'
8
9
def qualify(self, request):
10
if re.search(
11
'iphone|mobile|androidtouch',
12
request.META['HTTP_USER_AGENT'],
13
re.IGNORECASE):
14
return False
15
16
17
experiments = [
18
NewLayout,
19
]