Commit 556dfc46 by Timothée Peignier

fix django 1.7 tests warning

parent 6a52a228
...@@ -30,6 +30,11 @@ MIDDLEWARE_CLASSES = ( ...@@ -30,6 +30,11 @@ MIDDLEWARE_CLASSES = (
ROOT_URLCONF = 'tests.urls' ROOT_URLCONF = 'tests.urls'
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware'
)
MEDIA_URL = '/media/' MEDIA_URL = '/media/'
MEDIA_ROOT = local_path('media') MEDIA_ROOT = local_path('media')
......
...@@ -20,7 +20,6 @@ deps = ...@@ -20,7 +20,6 @@ deps =
jinja2 jinja2
futures futures
[testenv:py27-1.6.X] [testenv:py27-1.6.X]
basepython = python2.7 basepython = python2.7
deps = deps =
...@@ -77,12 +76,6 @@ deps = ...@@ -77,12 +76,6 @@ deps =
jinja2 jinja2
https://www.djangoproject.com/m/releases/1.7/Django-1.7c1.tar.gz#egg=Django https://www.djangoproject.com/m/releases/1.7/Django-1.7c1.tar.gz#egg=Django
[testenv:py34]
basepython = python3.4
deps =
jinja2
Django==1.6
[testenv:docs] [testenv:docs]
basepython = python2.7 basepython = python2.7
changedir = docs changedir = docs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment