Has any one else had this problem when running ./manage.py test in
their Satchmo project?
./manage.py test
Creating test database for alias 'default'...
Error: Database test_store couldn't be flushed. Possible reasons:
* The database isn't running or isn't configured correctly.
* At least one of the expected database tables doesn't exist.
* The SQL was invalid.
Hint: Look at the output of 'django-admin.py sqlflush'. That's the
SQL this command wasn't able to run.
The full error: cannot truncate a table referenced in a foreign
key constraint
DETAIL: Table "product_downloadableproduct" references
"product_product".
HINT: Truncate table "product_downloadableproduct" at the same
time, or use TRUNCATE ... CASCADE.
The hint given is useless, as ./manage.py sqlflush acts on the main db
and not the test db (right?).
I am not sure even where to begin to look. Any help is appreciated.
Thanks
--
You received this message because you are subscribed to the Google Groups
"Satchmo 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/satchmo-users?hl=en.