On Sun, Jan 25, 2009 at 2:14 AM, Adi Sieker <a...@sieker.info> wrote:
>
> Hi,
>
> as far as I know loaddata doesn't use the ORM to insert the data.

Incorrect. loaddata does use the ORM, but it uses raw save mode, which
disables custom save methods. Raw save mode also disables any database
field pre-handling, such as the auto_update_now triggers on a date
field.

> So things like signals and overloaded save methods don't work when
> using loaddata.

This point is correct. Custom save methods aren't activated as part of
the loaddata process.

Yours
Russ Magee %-)

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