Tests Django 1.10.

This commit is contained in:
Bertrand Bordage 2016-07-21 10:57:06 +02:00
parent 72596ac0b1
commit a0980cf696
4 changed files with 15 additions and 5 deletions

View File

@ -4,8 +4,8 @@ Quick start
Requirements
............
- Django 1.7, 1.8, or 1.9
- Python 2.7, 3.2, 3.3, 3.4, or 3.5
- Django 1.8, 1.9 or 1.10
- Python 2.7, 3.3, 3.4, or 3.5
- a cache configured as ``'default'`` with one of these backends:
- `django-redis <https://github.com/niwibe/django-redis>`_

View File

@ -1 +1 @@
Django>=1.7
Django>=1.8

View File

@ -102,6 +102,15 @@ MIGRATION_MODULES = {
}
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
},
]
MIDDLEWARE_CLASSES = ()
PASSWORD_HASHERS = ('django.contrib.auth.hashers.MD5PasswordHasher',)
SECRET_KEY = 'its not important but we have to set it'

View File

@ -1,7 +1,7 @@
[tox]
envlist =
py{2.7,3.3,3.4,3.5}-django1.8-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased},
py{2.7,3.4,3.5}-django1.9-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased},
py3.3-django1.8-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased},
py{2.7,3.4,3.5}-django{1.8,1.9,1.10}-{sqlite3,postgresql,mysql}-{redis,memcached,pylibmc,locmem,filebased},
[testenv]
basepython =
@ -12,6 +12,7 @@ basepython =
deps =
django1.8: Django>=1.8,<1.9
django1.9: Django>=1.9,<1.10
django1.10: Django==1.10rc1
psycopg2
django-redis
python-memcached