Thanks Serge, please see following embedded comments.
On Friday, April 18, 2014 11:27:01 PM UTC+10, Sergiy Khohlov wrote:
>
> add exlude= ['Group'] to the form.py
> Many thanks,
>
>
Hmm, I tried following at my forms.py:
from andsome.forms import EmailForm
class EmailForm(EmailForm):
exclude = ['Group']
def get_emails()
.....
But no luck, it did not work, the Group still displayed.
Serge
>
>
> +380 636150445
> skype: skhohlov
>
>
> On Fri, Apr 18, 2014 at 4:21 PM, nobody <[email protected] <javascript:>>
> 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 [email protected] <javascript:>.
> > To post to this group, send email to
> > [email protected]<javascript:>.
>
> > 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 [email protected].
To post to this group, send email to [email protected].
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/d25fae7f-4ada-4724-baa7-d0a66c35238c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.