add exlude= ['Group'] to the form.py Many thanks, Serge
+380 636150445 skype: skhohlov On Fri, Apr 18, 2014 at 4:21 PM, nobody <jupiter....@gmail.com> wrote: > Hi, > > In an email form template file, the following tag displays tree input > fields, Subject, Body and Group, but I only need Subject and Body field, not > the Group, how can I remove the Group field? > > {% form_as_div form %} > > Thank you. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/01227cd2-4cd5-4e3a-b73e-95590f4a61d1%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CADTRxJMZtDrECPx%3DreGFxPemRhe3Uo9CsvFF9yzF5FskVjiY0A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.