File tree 3 files changed +8
-5
lines changed
3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
2
python :
3
3
- ' 2.7'
4
- - ' 3.4'
5
4
- ' 3.5'
6
5
- ' 3.6'
7
6
# Enable 3.7 without globally enabling sudo and dist: xenial for other build jobs
Original file line number Diff line number Diff line change 18
18
INSTALLED_APPS = [
19
19
'django.contrib.contenttypes' ,
20
20
'django.contrib.sites' ,
21
+ 'django.contrib.sessions' ,
22
+ 'django.contrib.messages' ,
21
23
'django.contrib.admin' ,
22
24
'django.contrib.auth' ,
23
25
'dbtemplates' ,
24
26
]
25
27
26
- MIDDLEWARE_CLASSES = (
28
+ MIDDLEWARE = (
29
+ 'django.contrib.sessions.middleware.SessionMiddleware' ,
27
30
'django.contrib.messages.middleware.MessageMiddleware' ,
28
31
'django.contrib.auth.middleware.AuthenticationMiddleware' ,
29
32
)
41
44
'loaders' : TEMPLATE_LOADERS ,
42
45
'context_processors' : [
43
46
'django.contrib.auth.context_processors.auth' ,
47
+ 'django.contrib.messages.context_processors.messages' ,
44
48
]
45
49
}
46
50
},
Original file line number Diff line number Diff line change @@ -5,14 +5,13 @@ minversion = 1.8
5
5
envlist =
6
6
flake8-py{27,37},
7
7
twine-check-py{27,37},
8
- py{27,34,35,36}-dj111
9
- py{34,35,36,37}-dj20
8
+ py{27,35,36}-dj111
10
9
py{35,36,37}-dj21
10
+ py{35,36,37}-dj22
11
11
12
12
[testenv]
13
13
basepython =
14
14
py27: python2.7
15
- py34: python3.4
16
15
py35: python3.5
17
16
py36: python3.6
18
17
py37: python3.7
24
23
dj111: Django<2.0
25
24
dj20: Django<2.1
26
25
dj21: Django<2.2
26
+ dj22: Django<2.3
27
27
djmaster: https://github.com/django/django/archive/master.tar.gz# egg=django
28
28
29
29
commands =
You can’t perform that action at this time.
0 commit comments