I'm upgrading to 1.0 from .97. Previously I had retrieved the cleaned
data from my form, and called mymodel.save_FIELD_file() with the
cleaned data, but that doesn't work anymore in 1.0.

Without resorting to a modelform (since I need to do custom
validation, like specific filetype, size and filesize), how do I get
my file data into my model? Do I just create a new instance of the
ImageField, passing in the data, and then assign that to the model?

I've looked at a bunch of docs, but nothing really describes going
from form -> model.

a
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to