how to apply \n on enter in textarea code example Example: python add new line from textarea {{item.note | safe}} note2 = note.replace('\n', '<br>')