On 6/28/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> A total newbie question here, but is there a way to specify the engine
> I would prefer when defining models for applications. Would really
> prefer MyISAM, but MySQL keeps creating InnoDB when the tables are
> automatically created. (Reason: MyISAM supports full-text searching
> whereas InnoDB doesn't).

You won't have to create tables manually, in one sense. However,
you'll end up doing a bit of indirection; Django will happily output
to a terminal the SQL it's going to execute to create the tables[1],
so you can use that, edit it to specify the table type you want, and
then source the file from inside MySQL.

Also, keep in mind that not using MyISAM means losing transactions.

[1] http://www.djangoproject.com/documentation/django_admin/#sql-appname-appname

-- 
"May the forces of evil become confused on the way to your house."
  -- George Carlin

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

Reply via email to