mirror of
https://github.com/Hopiu/django-cachalot.git
synced 2026-05-09 13:14:44 +00:00
Importation cleanup.
This commit is contained in:
parent
8a70935fc7
commit
08db9e7ca3
1 changed files with 4 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue