Description

django.core.files.File has an iterator to allow line-by-line access to the file. This does not work in Python 3 due to string/bytestring confusion. Attached patch fixes this and adds a regression test.