* needs_better_patch: 0 => 1
* easy: => 0
Comment:
content_type_extra.diff fails to apply cleanly on to trunk
--
Ticket URL: <http://code.djangoproject.com/ticket/13721#comment:11>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: 1 => 0
* version: 1.2 => SVN
* milestone: 1.3 => 1.4
Comment:
I've updated the patch.
--
Ticket URL: <https://code.djangoproject.com/ticket/13721#comment:12>
* cc: wkornewald@… (removed)
* ui_ux: => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/13721#comment:14>
Comment (by grant.callaghan@…):
+1. I would really like to see this patch applied
--
Ticket URL: <https://code.djangoproject.com/ticket/13721#comment:15>
* easy: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/13721#comment:16>
* owner: nobody => mvschaik
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/13721#comment:17>
* needs_better_patch: 0 => 1
Comment:
line 34 and 35 of the patch are made redundant by the previous line:
{{{
content_type_extra = meta_data.get('content-type', (0, {}))[1]
}}}
`content_type_extra` is then guaranteed not to be `None`.
--
Ticket URL: <https://code.djangoproject.com/ticket/13721#comment:18>
Comment (by kagia):
@mvschaik are you still working on this? You may want to take a look at
this [https://github.com/kagia/django/compare/ticket_13721 my branch]
--
Ticket URL: <https://code.djangoproject.com/ticket/13721#comment:19>
* cc: timograham@… (added)
* needs_better_patch: 1 => 0
Comment:
Edited version of kagia's branch:
https://github.com/django/django/pull/1301
--
Ticket URL: <https://code.djangoproject.com/ticket/13721#comment:20>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"b0953dc91385fb2823294a76d3c99e01c7b7e4ee"]:
{{{
#!CommitTicketReference repository=""
revision="b0953dc91385fb2823294a76d3c99e01c7b7e4ee"
Fixed #13721 -- Added UploadedFile.content_type_extra.
Thanks Waldemar Kornewald and mvschaik for work on the patch.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/13721#comment:21>
Comment (by Tim Graham <timograham@…>):
In [changeset:"d3e33fff12266b51ab1488f7094855aef6061e9e"]:
{{{
#!CommitTicketReference repository=""
revision="d3e33fff12266b51ab1488f7094855aef6061e9e"
Made content_type_extra optional for TemporaryUploadedFile and
MemoryUploadedFile.
This provides better backwards compatibility for those constructing these
objects manually.
Refs #13721.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/13721#comment:22>
Comment (by Gabe):
Hi guys!
I'm using Django 1.5 with Python 2.7 running in Google App Engine. I got
into this project recently, the former programmers didn't use the webapp
framework, but now I have to be able to make file upload possible with
large files (GAE doesn't allow more than 1 MB). I tried to make blobstore
work, but I couldn't, then I started looking into this stuff and found
this patch. Is it possible to make this patch work with GAE?
Thanks in advance!
Gabe
--
Ticket URL: <https://code.djangoproject.com/ticket/13721#comment:23>
Comment (by timo):
Hi Gabe, this ticket trackers isn't a support channel. Please see
https://docs.djangoproject.com/en/stable/faq/help/ for ways to get help.
Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/13721#comment:24>