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

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