django_ocr_server/models.py
def file_disabled(self):
        """
        This function returns True if OCRedFile.file does not exist because OCR_STORE_FILES is False 2019-04-11
        :return: boolean True if OCRedFile.file does not exist because OCR_STORE_FILES is False
        """
        self.is_saved()  # checking that instance of OCRedFile is saved, raise DoesNotSaved exception otherwise
        if self.file:
            if getattr(settings, 'OCR_STORE_FILES_DISABLED_LABEL', ocr_default_settings.STORE_FILES_DISABLED_LABEL) in self.file.name:
                return True
        return False

        This function returns True if OCRedFile.file does not exist because OCR_STORE_FILES is False 2019-04-11
        :return: boolean True if OCRedFile.file does not exist because OCR_STORE_FILES is False
        
This function returns True if OCRedFile.file does not exist because OCR_STORE_FILES is False 2019-04-11
This function returns True if OCRedFile . file does not exist because OCR_STORE_FILES is False 2019 - 04 - 11
def file_disabled(self):
        self.is_saved()  
        if self.file:
            if getattr(settings, 'OCR_STORE_FILES_DISABLED_LABEL', ocr_default_settings.STORE_FILES_DISABLED_LABEL) in self.file.name:
                return True
        return False
def file_disabled ( self ) : self . is_saved ( ) if self . file : if getattr ( settings , 'OCR_STORE_FILES_DISABLED_LABEL' , ocr_default_settings . STORE_FILES_DISABLED_LABEL ) in self . file . name : return True return False
This function returns True if OCRedFile.file does not exist because OCR_STORE_FILES is False 2019-04-11
This function returns True if OCRedFile . file does not exist because OCR_STORE_FILES is False 2019 - 04 - 11
"""
        This function returns True if OCRedFile.file does not exist because OCR_STORE_FILES is False 2019-04-11
        :return: boolean True if OCRedFile.file does not exist because OCR_STORE_FILES is False
        """ # checking that instance of OCRedFile is saved, raise DoesNotSaved exception otherwise
boolean True if OCRedFile.file does not exist because OCR_STORE_FILES is False
boolean True if OCRedFile . file does not exist because OCR_STORE_FILES is False
self