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

You may want to redefine the __init__ methods as well (it's called
when you create your objects before save), it adds overhead of two
more signals that are probably unused and can be removed for speed.

You can try comment out all dispatcher.send() lines of __init__ and
__save__ methods of Model class in /django/db/models/base.py and save
the file as base2.py in the same place inside your Django package and
say something like `from django.db.models.base2 import Model as
MyModel' and replace model.Model with MyModel in class definitions.

I know it's hackish, but it's easier and it works. :)

Hope this helps,
Ivan
--~--~---------~--~----~------------~-------~--~----~
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