mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Refs #17785 -- Made docstring for sqlite3's get_relations() consistent with other backends.
This commit is contained in:
		
				
					committed by
					
						 Tim Graham
						Tim Graham
					
				
			
			
				
	
			
			
			
						parent
						
							d074926ca1
						
					
				
				
					commit
					4b9d063da0
				
			| @@ -100,10 +100,9 @@ class DatabaseIntrospection(BaseDatabaseIntrospection): | ||||
|  | ||||
|     def get_relations(self, cursor, table_name): | ||||
|         """ | ||||
|         Returns a dictionary of {field_index: (field_index_other_table, other_table)} | ||||
|         representing all relationships to the given table. Indexes are 0-based. | ||||
|         Return a dictionary of {field_name: (field_name_other_table, other_table)} | ||||
|         representing all relationships to the given table. | ||||
|         """ | ||||
|  | ||||
|         # Dictionary of relations to return | ||||
|         relations = {} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user