The fastest way for large files is to use sqlite3's .import command to directly 
import a file. However, this will bypass any validation done by your models. 
You could end up with "bad" data, in that it doesn't conform to the rules of 
your models.

Or, you can just write an external script to read the file and create model 
instances. Here's a brief example:

http://pastebin.com/f651cf8de 

Shawn

--

You received this message because you are subscribed to the Google Groups 
"Django users" 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-users?hl=en.


Reply via email to