fixing line-endings, Django documentation is incorrect, new lines are not appended