I store in database document files (.TXT). How to create a preview of the documents and the ability to edit their content?(just like in a text editor) Does anyone know the general algorithm or existing django application?
class FileDb(models.Model):
user = models.ForeignKey(User)
src = models.FileField(upload_to="src_after_ocr")