On Dec 28, 2007 4:12 AM, cesco <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I recently started using the django-tagging application. The Tag and
> TagItem models have each a field which is indexed (db_index=True).
> Does loading data with json fixtures change because of having
> db_index=True?

No. There are no special requirements for loading fixtures when an
index is involved (i.e., no special behaviour or flags are required).

> When the data are loaded via fixtures is the save method called on
> each loaded instance?

Yes. The only difference between loading via a fixture and loading
individual objects is that when a fixture is loaded, any pre-save
field behaviour is ignored. The only fields that currently have
pre-save behaviour are Date-based fields with auto-now enabled.

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