Revision 9eafaa32 snf-astakos-app/astakos/im/forms.py

b/snf-astakos-app/astakos/im/forms.py
647 647
                                         ('date_joined', 'Status')
648 648
                                         ),
649 649
                                required=False)
650

  
651
class PickResourceForm(forms.Form):
652
    resource = forms.ModelChoiceField(
653
        queryset=Resource.objects.select_related().all()
654
    )
655
    resource.widget.attrs["onchange"]="this.form.submit()"

Also available in: Unified diff