mirror of
				https://github.com/graphql-python/graphene-django.git
				synced 2025-11-04 18:08:01 +03:00 
			
		
		
		
	rel -> remote_field: Update Django DeprecatedAttribute
This commit is contained in:
		
							parent
							
								
									24706f50d4
								
							
						
					
					
						commit
						d314d1041f
					
				| 
						 | 
					@ -57,7 +57,7 @@ class GrapheneFilterSetMixin(BaseFilterSet):
 | 
				
			||||||
        Global IDs (the default implementation expects database
 | 
					        Global IDs (the default implementation expects database
 | 
				
			||||||
        primary keys)
 | 
					        primary keys)
 | 
				
			||||||
        """
 | 
					        """
 | 
				
			||||||
        rel = f.field.rel
 | 
					        rel = f.field.remote_field
 | 
				
			||||||
        default = {
 | 
					        default = {
 | 
				
			||||||
            'name': name,
 | 
					            'name': name,
 | 
				
			||||||
            'label': capfirst(rel.related_name)
 | 
					            'label': capfirst(rel.related_name)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user