Remove unused imports, do PEP8 and DeprecationWarning cleanups
This commit is contained in:
@@ -9,11 +9,7 @@ from django.core.urlresolvers import reverse
|
||||
from django.test.client import Client
|
||||
from django.test import TestCase
|
||||
|
||||
from rest_framework import status
|
||||
from rest_framework.test import APIClient
|
||||
|
||||
from documents.models import Document, DocumentType
|
||||
from ocr.parsers import parse_document_page
|
||||
|
||||
from .classes import SearchModel
|
||||
|
||||
|
||||
@@ -3,19 +3,14 @@ from __future__ import absolute_import
|
||||
import logging
|
||||
import urlparse
|
||||
|
||||
from django.core.exceptions import PermissionDenied
|
||||
from django.core.urlresolvers import reverse
|
||||
from django.http import HttpResponseRedirect
|
||||
from django.shortcuts import render_to_response
|
||||
from django.template import RequestContext
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from acls.models import AccessEntry
|
||||
from permissions.models import Permission
|
||||
|
||||
from .classes import SearchModel
|
||||
from .forms import SearchForm, AdvancedSearchForm
|
||||
from .models import RecentSearch
|
||||
from .settings import LIMIT, SHOW_OBJECT_TYPE
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
Reference in New Issue
Block a user