Complete conversion of download views to CBV views using django-downloadview.

This also removes dependency on the filetransfers library.
This commit is contained in:
Roberto Rosario
2016-10-31 01:00:35 -04:00
parent 24ef702e9c
commit 6e3d99670c
37 changed files with 437 additions and 340 deletions

View File

@@ -3,7 +3,6 @@ from __future__ import unicode_literals
import logging
from kombu import Exchange, Queue
import sh
from django.apps import apps
from django.db.models.signals import post_save
@@ -29,9 +28,6 @@ from .links import (
link_document_type_submit, link_entry_list
)
from .permissions import permission_ocr_document, permission_ocr_content_view
from .settings import (
setting_pdftotext_path, setting_tesseract_path
)
logger = logging.getLogger(__name__)