On 9/27/07, AniNair <[EMAIL PROTECTED]> wrote: > > Hi.. > I am trying to load some initial data using yaml. My model in utils ... > I tried model: utils.Month too, but the result is the same It then > says invalid model identifier utils.Month . Please advice.
Add a sample object using the admin, then use ./manage.py dumpdata --format=yaml utils to produce a sample YAML file. Then, make your YAML file match the format. 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---