Thanks a lot for the advice

I'll try to redefine save methods in all the objects to see how much time it
saves

Alex



Ivan Illarionov wrote:
> 
> 
> You have two options:
> 1. Execute raw SQL 'INSERT' queries
> 2. Override the Model.save() or create new save_fast() method in your
> Model class. The main speed eaters in Model.save() are
> dispatcher.send() calls - so if you copy/paste the content of save
> method from Django code without  dispatcher.send() lines you'll get a
> reasonable speed increase.
> 
> --Ivan
> > 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/how-to-speed-up-objects-saving-tp15222255p15227730.html
Sent from the django-users mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
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