Hi,

I'm trying to run dumpdata on an application which use severals non-
managed models. For example:

class testModel(models.Model):
    class Meta:
        managed = False

Unfortunately, when I run ./manage.py dumpdata myapp ; the following
happens :

Traceback (most recent call last):
  File "./manage.py", line 11, in <module>
    execute_manager(settings)
(...)
django.db.utils.DatabaseError: no such table: myapp_testmodel


1. Am I wrong to expect that dumpdata should follow the managed =
False instruction and not attempt to load data from this non-existant
table ?

2. Does anyone has a suggestion on how to proceed ? Any solution not
involving listing each of the impacted models in --exclude will be
welcome.


Thanks,

--
Florian

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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