diff --git a/cachalot/tests.py b/cachalot/tests.py index d6a2cd0..6a14ef6 100644 --- a/cachalot/tests.py +++ b/cachalot/tests.py @@ -1,14 +1,13 @@ # coding: utf-8 from __future__ import unicode_literals -from cachalot.settings import cachalot_settings - +import datetime try: from unittest import skip, skipIf except ImportError: # For Python 2.6 from unittest2 import skip, skipIf -import datetime + from django.conf import settings from django.contrib.auth.models import User, Permission, Group from django.core.exceptions import MultipleObjectsReturned @@ -18,6 +17,8 @@ from django.db.models import ( DateField, DateTimeField, Count) from django.test import TestCase +from .settings import cachalot_settings + class Test(Model): name = CharField(max_length=20)