Skip to content

Commit 59f016f

Browse files
committed
- updated to django 1.4.5
- fixed travis
1 parent 01751ce commit 59f016f

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ python:
88
- "3.2"
99
env:
1010
# - DJANGO="Django==1.4.3" DBENGINE=sqlite
11-
- DJANGO="Django==1.4.3" DBENGINE=mysql
12-
- DJANGO="Django==1.4.3" DBENGINE=pg
11+
- DJANGO="Django==1.4.5" DBENGINE=mysql
12+
- DJANGO="Django==1.4.5" DBENGINE=pg
1313
# - DJANGO=https://www.djangoproject.com/download/1.5c1/tarball/ DBENGINE=mysql
1414
- DJANGO=https://www.djangoproject.com/download/1.5c1/tarball/ DBENGINE=pg
1515
- DJANGO=https://www.djangoproject.com/download/1.5c1/tarball/ DBENGINE=sqlite

concurrency/tests/contrib_admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class TestDjangoAdmin(DjangoAdminTestCase):
6969

7070
def test_creation(self):
7171
url = reverse('admin:concurrency_testmodel0_add')
72-
data = {'username': u'new_username',
72+
data = {'username': 'new_username',
7373
'last_name': None,
7474
'version': VersionFieldSigner().sign(0),
7575
'char_field': None,

concurrency/tests/middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def test_stack(self):
5252
copy = TestModel0.objects.get(pk=m.pk)
5353
url = reverse('admin:concurrency_testmodel0_change', args=[m.pk])
5454

55-
data = {'username': u'new_username',
55+
data = {'username': 'new_username',
5656
'last_name': None,
5757
'version': VersionFieldSigner().sign(m.version),
5858
'char_field': None,

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@ commands =
99
django-admin.py test concurrency --settings concurrency.tests.settings --failfast --traceback
1010

1111
setenv =
12-
PYTHONPATH = /data/VENV/LIB/django/$DJANGOVERSION:$PYTHONPATH:
13-
12+
PYTHONPATH = /data/VENV/LIB/django/$DJANGOVERSION:$PYTHONPATH
1413

1514
[testenv:dj14]
1615
basepython = python2.7
1716
setenv =
18-
DJANGOVERSION = 1.4.3
17+
DJANGOVERSION = 1.4.5
1918
deps =
2019
-r{toxinidir}/requirements.pip
2120

0 commit comments

Comments
 (0)