Could you please send your view.py form.py and template ...

Many thanks,

Serge


+380 636150445
skype: skhohlov


On Sat, Apr 19, 2014 at 3:39 AM, nobody <jupiter....@gmail.com> wrote:

> 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 <jupit...@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...@googlegroups.com.
>> > To post to this group, send email to django...@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/d25fae7f-4ada-4724-baa7-d0a66c35238c%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/d25fae7f-4ada-4724-baa7-d0a66c35238c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> 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/CADTRxJOeqcb4aPSPr%3DC%2B_z3utjG6beD2mDtNRfBN_ok10xEcEQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to