On Dec 6, 2007 8:01 PM, ttk <[EMAIL PROTECTED]> wrote:

>
> I think I found my problem...
>
> I failed to add "objects = models.Manager()" into my models which
> would explain why that attribute isn't found.
>
> I'll try this out but if anyone has additional suggestions, I'm all
> ears.


Seems dumpdata is coded to require a Manager named 'objects' for the Models
it dumps, even though (as described here:
http://www.djangoproject.com/documentation/model-api/#manager-names), Django
does not require that a Manager named objects exists for all Models.
Whether this is just an oversight in dumpdata or a conscious decision I
can't say, though it looks like an oversight to me.

Karen

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