This list is for discussing the development of Django itself, please ask 
usage questions on django-users. 

On Wednesday, September 21, 2016 at 12:43:06 PM UTC-4, Patlola Praveen 
wrote:
>
> class GroupPropertiesForm(forms.ModelForm):
>   <strike>fields['equipment_grade']: forms.ChoiceField(
>             choices=[(o.id, str(o))
>                      for o in 
> GroupProperties.objects.all(group=???group???)]</strike>
>  class Meta:
>     model = GroupProperties
>     fields = ('group', 'bells')
>     widgets = {
>         'group': autocomplete.ModelSelect2(
>             url='groups-autocomplete')
>         )
>     }
>
> here i would like to capture group value from django auto complete light 
> value and forward it to generate fields
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/87e731e5-aad9-468d-99f1-24baf1fbd5e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to