class SelectExistingApplic ationForm forms Form apps_list name for in

1
2
3
class SelectExistingApplicationForm(forms.Form):
apps_list = [a.name for a in Application.objects.all()]
app = forms.ChoiceField(choices=apps_list)