예제 #1
0
파일: serializers.py 프로젝트: jgitau/nsot
 def iter_options(self):
     return fields.iter_options(
         # self.grouped_choices,
         self.get_choices(self.html_cutoff),
         cutoff=self.html_cutoff,
         cutoff_text=self.html_cutoff_text
     )
예제 #2
0
 def iter_options(self):
     """
     Helper method for use with templates rendering select widgets.
     """
     return fields.iter_options(self.grouped_choices,
                                cutoff=self.html_cutoff,
                                cutoff_text=self.html_cutoff_text)
예제 #3
0
 def iter_options(self):
     return iter_options(
         self.get_choices(cutoff=self.html_cutoff),
         cutoff=self.html_cutoff,
         cutoff_text=self.html_cutoff_text,
     )
예제 #4
0
 def iter_options(self):
     return iter_options(self.grouped_choices,
                         cutoff=self.html_cutoff,
                         cutoff_text=self.html_cutoff_text)
예제 #5
0
 def iter_options(self):
     return iter_options(
         self.grouped_choices,
         cutoff=self.html_cutoff,
         cutoff_text=self.html_cutoff_text
     )
예제 #6
0
 def iter_options(self):
     return iter_options(
         self.get_choices(cutoff=self.html_cutoff),
         cutoff=self.html_cutoff,
         cutoff_text=self.html_cutoff_text
     )
예제 #7
0
 def iter_options(self):
     return iter_options(self.grouped_choices)
예제 #8
0
 def iter_options(self):
     return fields.iter_options(
         # self.grouped_choices,
         self.get_choices(self.html_cutoff),
         cutoff=self.html_cutoff,
         cutoff_text=self.html_cutoff_text)
예제 #9
0
 def iter_options(self):
     return iter_options(self.grouped_choices)