Skip to content

Commit

Permalink
Fixed Django <1.7 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
apollo13 committed Apr 5, 2014
1 parent aa06730 commit 8f055c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/tests.py
@@ -1,7 +1,10 @@
from __future__ import unicode_literals, absolute_import

from unittest import TestCase as UnitTestCase
from unittest import skipIf
try:
from unittest import skipIf
except:
from django.utils.unittest import skipIf

import django
from django.conf import settings
Expand Down

0 comments on commit 8f055c0

Please sign in to comment.