Skip to content

Commit

Permalink
test import fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
LegoStormtroopr committed Feb 1, 2016
1 parent 16a6cd9 commit 28432b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ python:
- "3.5"

env:
- DJANGO='1.8' REVERSION='1.9'
- DJANGO='1.8' REVERSION='1.9.2'
- DJANGO='1.8' REVERSION='1.10.1'
- DJANGO='1.9' REVERSION='1.10'

install:
Expand All @@ -29,4 +30,4 @@ after_success:
- coveralls

notifications:
irc: "irc.freenode.org#pylucid"
irc: "irc.freenode.org#pylucid"
5 changes: 2 additions & 3 deletions tests/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,9 @@
from django.utils.encoding import python_2_unicode_compatible
from django.db import models

try:
import reversion
if reversion.VERSION >= (1,9,3):
from reversion import revisions as reversion
except ImportError:
import reversion

@python_2_unicode_compatible
class SimpleModel(models.Model):
Expand Down

0 comments on commit 28432b1

Please sign in to comment.