#11140: modelForm fields Meta, if only one specified results empty form --------------------------------------------------------+------------------- Reporter: davidarakelian | Owner: nobody Status: new | Milestone: Component: Forms | Version: SVN Keywords: forms, modelForm, fields, meta, empty form | Stage: Unreviewed Has_patch: 0 | --------------------------------------------------------+------------------- I have the following Modelform.
{{{ class EditPicture(forms.ModelForm): class Meta: model = Photo fields = ('title','description') }}} If I change fields to ('title') {{{ class EditPicture(forms.ModelForm): class Meta: model = Photo fields = ('title') }}} This produces an empty form. Whenever I try to built a form(from a model) with only 1 field it shows up an empty form. -- Ticket URL: <http://code.djangoproject.com/ticket/11140> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---