Ramiro Morales wrote:
> On Wed, Jun 18, 2008 at 3:51 PM, Michael Glassford <[EMAIL PROTECTED]> wrote:
>> I'm trying to run the Django unit tests for the first time using
>> runtests.py and I'm getting a lot of errors like this:

[snip]

> This could be related to the "MySQL and Fixtures" note contained
> (admittedly, a bit too deeply buried) in the Django documentation at
> 
> http://www.djangoproject.com/documentation/django-admin/#loaddata-fixture-fixture
> 
> quoting:
> 
> "
> Unfortunately, MySQL isn't capable of completely supporting all the
> features of Django fixtures. If you use MyISAM tables, MySQL doesn't
> support transactions or constraints, so you won't get a rollback if
> multiple transaction files are found, or validation of fixture data.
> If you use InnoDB tables, you won't be able to have any forward
> references in your data files - MySQL doesn't provide a mechanism to
> defer checking of row constraints until a transaction is committed.
> "
> 
> from what that says I'd guess you are using the InnoDB MySQL storage backend,

Right you are. That limitation is a bit of a pain.

Thanks for the help.

Mike


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to