mirror of
				https://github.com/encode/django-rest-framework.git
				synced 2025-11-04 01:47:59 +03:00 
			
		
		
		
	Added docstring
This commit is contained in:
		
							parent
							
								
									27ac5a3680
								
							
						
					
					
						commit
						a6fefe78ff
					
				| 
						 | 
					@ -1190,6 +1190,9 @@ class ChoiceField(Field):
 | 
				
			||||||
        return self.choice_strings_to_values.get(six.text_type(value), value)
 | 
					        return self.choice_strings_to_values.get(six.text_type(value), value)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def iter_options(self):
 | 
					    def iter_options(self):
 | 
				
			||||||
 | 
					        """
 | 
				
			||||||
 | 
					        Helper method for use with templates rendering select widgets.
 | 
				
			||||||
 | 
					        """
 | 
				
			||||||
        class StartOptionGroup(object):
 | 
					        class StartOptionGroup(object):
 | 
				
			||||||
            start_option_group = True
 | 
					            start_option_group = True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user