#3297: newforms: Implement FileField and ImageField
---------------------------------------+------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: russellm
Status: new | Component: django.newforms
Version: SVN | Resolution:
Keywords: newforms | Stage: Accepted
Has_patch: 1 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 1
---------------------------------------+------------------------------------
Comment (by Øyvind Saltvik <[EMAIL PROTECTED]>):
Just got a couple of issues with this latest patch.
No need to set widget in line 232, since it is already set by the
formfield in the field.
Testing the code gives a error if you have not null constraints on other
fields, because save is called when saving the file to disk before those
values are set on the model.
request.FILES is passed even if it is not needed, not sure if that affects
efficiency in any way.
--
Ticket URL: <http://code.djangoproject.com/ticket/3297#comment:56>
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
-~----------~----~----~----~------~----~------~--~---