﻿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
25837	migration fails when there is initial option set on form field	Rapolas K.	nobody	"It requires some setup to reproduce it, but essentially: create a new project, create a new app, create a simple form, for example:

{{{
#!div style=""font-size: 80%""
{{{
from .models import Item

class ReportForm(forms.Form):
    items = forms.ModelMultipleChoiceField(
        queryset=Item.objects.all(),
        widget=forms.CheckboxSelectMultiple,
        initial=[item for item in Item.objects.all()])
}}}
}}}

Import that form in the view and that view in urls and migration starts to fail, complaining about missing table (django.db.utils.OperationalError: no such table: myapp_item). It does work fine in django 1.8. Attaching sample project. Tested on django 1.9rc2 (dropdown doesn't have that version to select)"	Uncategorized	closed	Uncategorized	1.9rc1	Normal	invalid			Unreviewed	0	0	0	0	0	0
