Skip to content

Commit

Permalink
Fixed version test.
Browse files Browse the repository at this point in the history
  • Loading branch information
bartTC committed Nov 26, 2016
1 parent e202025 commit 36d8c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wakawaka/tests/base.py
Expand Up @@ -44,7 +44,7 @@ def is_django_18(self):
"""
:return bool: Whether the current Django version is <= 1.8
"""
return StrictVersion(DJANGO_VERSION) <= StrictVersion('1.8')
return not StrictVersion(DJANGO_VERSION) >= StrictVersion('1.9')

def create_wikipage(self, slug, *args):
"""
Expand Down

0 comments on commit 36d8c6e

Please sign in to comment.