mirror of
				https://github.com/graphql-python/graphene.git
				synced 2025-10-31 07:57:26 +03:00 
			
		
		
		
	Updating form converter method names to make more sense
This commit is contained in:
		
							parent
							
								
									3a23c1f940
								
							
						
					
					
						commit
						f616b597ac
					
				|  | @ -60,11 +60,11 @@ def convert_form_field_to_float(field): | |||
| 
 | ||||
| @convert_form_field.register(forms.ModelMultipleChoiceField) | ||||
| @convert_form_field.register(GlobalIDMultipleChoiceField) | ||||
| def convert_form_field_to_list_or_connection(field): | ||||
| def convert_form_field_to_list(field): | ||||
|     return List(ID()) | ||||
| 
 | ||||
| 
 | ||||
| @convert_form_field.register(forms.ModelChoiceField) | ||||
| @convert_form_field.register(GlobalIDFormField) | ||||
| def convert_form_field_to_djangomodel(field): | ||||
| def convert_form_field_to_id(field): | ||||
|     return ID() | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user