heya,

@Shawn: Hmm, that looks like quite an interesting approach - so the 
ModelForm would handle the validation logic? =) Me likes! Haha.

I can parse the CSV and get the field names to match up (or just do a simple 
transform to get them to match).

However, how do I then pass this information into a ModelForm? Also, the CSV 
file is for creating multiple models - one model per CSV line - how will 
that work with a single ModelForm? Do I just call it repeatedly?

And how will I then capture the ValidationError and get them back in my 
form?

Cheers,
Victor

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/wT8cDUDW62IJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to