#3297: newforms: Implement FileField and ImageField
---------------------------------------+------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Status: reopened | Component: django.newforms
Version: SVN | Resolution:
Keywords: newforms | Stage: Design decision
needed
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 1
---------------------------------------+------------------------------------
Changes (by sime <[EMAIL PROTECTED]>):
* cc: [EMAIL PROTECTED] (added)
* needs_better_patch: 0 => 1
Comment:
Works beautifully. Only two issues I see, save() seems to save the file to
disk before the database, which leaves filenames without an ID. Second, as
somebody already pointed out, manually adding request.FILES to form data
seems to be necessary. Newforms should take care of that.
--
Ticket URL: <http://code.djangoproject.com/ticket/3297#comment:53>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---