def get_form(self, form_class=None): form = super(CodingSchemaLinkView, self).get_form(form_class) from navigator.forms import gen_coding_choices form.fields['schemas'].choices = gen_coding_choices(self.request.user, CodingSchema) return form
def get_form(self, form_class=None): form = super(CodebookLinkView, self).get_form(form_class) from navigator.forms import gen_coding_choices form.fields['codebooks'].choices = gen_coding_choices( self.request.user, Codebook) return form
def get_form(self, form_class): form = super(CodebookLinkView, self).get_form(form_class) from navigator.forms import gen_coding_choices form.fields['codebooks'].choices = gen_coding_choices(self.request.user, Codebook) return form
def get_form(self, form_class): form = super(CodingSchemaLinkView, self).get_form(form_class) from navigator.forms import gen_coding_choices form.fields['schemas'].choices = gen_coding_choices( self.request.user, CodingSchema) return form