Django's file upload is broken ATM

2 views
Skip to first unread message

Andi Albrecht

unread,
May 11, 2009, 6:12:28 AM5/11/09
to codereview-discuss
Hi,

just a short reminder in case someone wants to upload a new Rietveld
version along with an updated Django.

There's currently an open issue on Django's tracker that directly
affects Rietveld: http://code.djangoproject.com/ticket/11055

When a file is uploaded, uploaded_file.read() returns an empty string
because file position is at the end of the uploaded file.
This bug was introduced in
http://code.djangoproject.com/changeset/10717, so we have to stay with
Django < rev10716 unless this bug is fixed.

Regards,

Andi

Andi Albrecht

unread,
May 11, 2009, 6:18:52 AM5/11/09
to codereview-discuss
Forget it, it's fixed now ,-)
http://code.djangoproject.com/changeset/10739

On 11 Mai, 12:12, Andi Albrecht <albrecht.a...@googlemail.com> wrote:
> Hi,
>
> just a short reminder in case someone wants to upload a new Rietveld
> version along with an updated Django.
>
> There's currently an open issue on Django's tracker that directly
> affects Rietveld:http://code.djangoproject.com/ticket/11055
>
> When a file is uploaded, uploaded_file.read() returns an empty string
> because file position is at the end of the uploaded file.
> This bug was introduced inhttp://code.djangoproject.com/changeset/10717, so we have to stay with
Reply all
Reply to author
Forward
0 new messages