django_ocr_server/models.py
def can_remove_pdf(self):
        """
        This function returns True if it is possible to remove self.ocred_pdf 2019-03-24
        :return: boolean True if it is possible to remove self.ocred_pdf
        """
        self.is_saved()  # checking that instance of OCRedFile is saved, raise DoesNotSaved exception otherwise
        if self.ocred_pdf:
            if os.path.isfile(self.ocred_pdf.path):
                return True
        return False

        This function returns True if it is possible to remove self.ocred_pdf 2019-03-24
        :return: boolean True if it is possible to remove self.ocred_pdf
        
This function returns True if it is possible to remove self.ocred_pdf 2019-03-24
This function returns True if it is possible to remove self . ocred_pdf 2019 - 03 - 24
def can_remove_pdf(self):
        self.is_saved()  
        if self.ocred_pdf:
            if os.path.isfile(self.ocred_pdf.path):
                return True
        return False
def can_remove_pdf ( self ) : self . is_saved ( ) if self . ocred_pdf : if os . path . isfile ( self . ocred_pdf . path ) : return True return False
This function returns True if it is possible to remove self.ocred_pdf 2019-03-24
This function returns True if it is possible to remove self . ocred_pdf 2019 - 03 - 24
"""
        This function returns True if it is possible to remove self.ocred_pdf 2019-03-24
        :return: boolean True if it is possible to remove self.ocred_pdf
        """ # checking that instance of OCRedFile is saved, raise DoesNotSaved exception otherwise
boolean True if it is possible to remove self.ocred_pdf
boolean True if it is possible to remove self . ocred_pdf
self