﻿id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 1031 Add some notes so mysql users can use ForeignKey fields chmod jacob "ForeignKey fields will not work on 4.0.x version of mysql unless the default the table engine is InnoDB. And mysql will silently let django-admin's create table queries run. You just won't get any nice relational methods in your app. This causes the Poll, Choice example to make polls and choices fine, however, a Poll doesn't have the methods add_choice(), get_choice(), etc... Please add a note to the following page that explains to MySQL users that their default table type must be Innodb for ForeignKeys to work properly. Also can I just beg that we somehow have an option to django-admin or the meta.Model class that explicitly sets the engine type? After all, explicit is better than implicit :) http://www.djangoproject.com/documentation/model_api/" enhancement closed Documentation major worksforme mysql innodb foreignkey Unreviewed 0 0 0 0