django_ocr_server/models.py
def pdf_removed(self):
        """
        This function returns True if ocred_pdf was removed 2019-04-05
        :return: boolean True if ocred_pdf was removed
        """
        self.is_saved()  # checking that instance of OCRedFile is saved, raise DoesNotSaved exception otherwise
        if self.ocred_pdf is not None and self.ocred_pdf.name is not None \
                and getattr(settings, 'OCR_PDF_REMOVED_LABEL', ocr_default_settings.PDF_REMOVED_LABEL) in self.ocred_pdf.name:
            return True
        return False

        This function returns True if ocred_pdf was removed 2019-04-05
        :return: boolean True if ocred_pdf was removed
        
This function returns True if ocred_pdf was removed 2019-04-05
This function returns True if ocred_pdf was removed 2019 - 04 - 05
def pdf_removed(self):
        self.is_saved()  
        if self.ocred_pdf is not None and self.ocred_pdf.name is not None \
                and getattr(settings, 'OCR_PDF_REMOVED_LABEL', ocr_default_settings.PDF_REMOVED_LABEL) in self.ocred_pdf.name:
            return True
        return False
def pdf_removed ( self ) : self . is_saved ( ) if self . ocred_pdf is not None and self . ocred_pdf . name is not None and getattr ( settings , 'OCR_PDF_REMOVED_LABEL' , ocr_default_settings . PDF_REMOVED_LABEL ) in self . ocred_pdf . name : return True return False
This function returns True if ocred_pdf was removed 2019-04-05
This function returns True if ocred_pdf was removed 2019 - 04 - 05
"""
        This function returns True if ocred_pdf was removed 2019-04-05
        :return: boolean True if ocred_pdf was removed
        """ # checking that instance of OCRedFile is saved, raise DoesNotSaved exception otherwise
boolean True if ocred_pdf was removed
boolean True if ocred_pdf was removed
self