Thursday, October 28, 2010

DatabaseError: (1146, "Table 'test_XXX.django_content_type' doesn't exist")


Hi all,

im re-sending this mail, am i missing any thing here?  


im using django 1.2
there are two databases involved in my project (default and XYZ (used only for migration))

i use a consistant MySQL storage type for all apps, all models (including m2m).
This is done by registering a post-syncdb  signal in management.py file which converts all tables to innodb.

(Description of management.py magic is at http://code.djangoproject.com/wiki/Signals)


i wrote few tests for one of my application,

when i run ./manage.py test following error occurs:

DatabaseError: (1146, "Table 'test_XXX.django_content_type' doesn't exist")

any clues?
--
Girish M S

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment