Skip to content

Commit

Permalink
Drop Django 1.2 support (for new url template tag)
Browse files Browse the repository at this point in the history
  • Loading branch information
treyhunner committed Apr 14, 2013
1 parent 3187a2f commit a91ce5d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ script: coverage run -a --branch --include="simple_history/*" --omit="simple_his

matrix:
include:
- python: 2.7
env: DJANGO=Django==1.2.7 SOUTH=1
- python: 2.5
env: DJANGO=Django==1.3.7 SOUTH=1 COVERALLS=0
- python: 2.5
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"Development Status :: 5 - Production/Stable",
"Framework :: Django",
],
tests_require=["Django>=1.2"],
tests_require=["Django>=1.3"],
test_suite='runtests.main',
)
2 changes: 1 addition & 1 deletion simple_history/admin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from django import template
from django.core.exceptions import PermissionDenied
from django.conf.urls.defaults import patterns, url
from django.conf.urls import patterns, url
from django.contrib import admin
from django.contrib.admin import helpers
from django.contrib.contenttypes.models import ContentType
Expand Down
9 changes: 1 addition & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist=py25-1.2,py25-1.3,py26-1.4,py26,py26-trunk,py27,py27-trunk,py27-1.5-nosouth
envlist=py25-1.3,py26-1.4,py26,py26-trunk,py27,py27-trunk,py27-1.5-nosouth

[testenv]
deps=
Expand All @@ -8,13 +8,6 @@ deps=
coverage==3.6
commands=coverage run -a --branch setup.py test

[testenv:py25-1.2]
basepython=python2.5
deps=
django==1.2.7
South==0.7.6
coverage==3.6

[testenv:py25-1.3]
basepython=python2.5
deps=
Expand Down

0 comments on commit a91ce5d

Please sign in to comment.