Cleanups
This commit is contained in:
@@ -2,7 +2,6 @@ from __future__ import absolute_import
|
||||
|
||||
import logging
|
||||
|
||||
from django.core.exceptions import PermissionDenied
|
||||
from django.shortcuts import get_object_or_404
|
||||
|
||||
from rest_framework import generics
|
||||
@@ -12,7 +11,6 @@ from converter.exceptions import UnkownConvertError, UnknownFileFormat
|
||||
from converter.literals import DEFAULT_PAGE_NUMBER, DEFAULT_ROTATION, DEFAULT_ZOOM_LEVEL
|
||||
from documents.conf.settings import DISPLAY_SIZE, ZOOM_MAX_LEVEL, ZOOM_MIN_LEVEL
|
||||
|
||||
from .classes import StagingFile
|
||||
from .models import StagingFolder
|
||||
from .serializers import SerializerStagingFolder, SerializerStagingFolderFile
|
||||
|
||||
@@ -20,6 +18,7 @@ logger = logging.getLogger(__name__)
|
||||
|
||||
# API Views
|
||||
|
||||
|
||||
class APIStagingSourceFileView(generics.GenericAPIView):
|
||||
"""
|
||||
Details of the selected staging file.
|
||||
|
||||
Reference in New Issue
Block a user