Re: forms question in django 1.1

2010-04-28 Thread knight
Thanks a lot. That's the problem. As always, my stupid mistake. On Apr 28, 6:12 pm, Bill Freeman wrote: > I do notice that you have 'player_option' in the fields tuple, while > there is no such model field, but instead a field named 'player_options' > (plural).  If that's actually in the source,

Re: forms question in django 1.1

2010-04-28 Thread Bill Freeman
I do notice that you have 'player_option' in the fields tuple, while there is no such model field, but instead a field named 'player_options' (plural). If that's actually in the source, I'd fix it before looking any harder. On Wed, Apr 28, 2010 at 10:32 AM, knight wrote: > I have the following f

forms question in django 1.1

2010-04-28 Thread knight
I have the following form: class ModuleItemForm2(forms.ModelForm): class Meta: model = Module_item fields = ('title', 'media', 'thumb', 'desc', 'default', 'player_option') The model is: class Module_item(models.Model): title = models.CharField(max_length=100) layout =