def chooseapp(self, value):
    self.fields['app'] = forms.ChoiceField(widget=forms.HiddenInput(), label='app', initial=value)
def chooseapp(self, value):
    self.fields['app'] = forms.ChoiceField(widget=forms.HiddenInput(), label='app', initial=value)