mirror of
				https://github.com/django/django.git
				synced 2025-10-29 08:36:09 +00:00 
			
		
		
		
	Removed unused Prefetch.get_current_prefetch_through().
Unused since its introduction in f51c1f5900.
			
			
This commit is contained in:
		| @@ -1329,9 +1329,6 @@ class Prefetch(object): | ||||
|         self.prefetch_through = LOOKUP_SEP.join([prefix, self.prefetch_through]) | ||||
|         self.prefetch_to = LOOKUP_SEP.join([prefix, self.prefetch_to]) | ||||
|  | ||||
|     def get_current_prefetch_through(self, level): | ||||
|         return LOOKUP_SEP.join(self.prefetch_through.split(LOOKUP_SEP)[:level + 1]) | ||||
|  | ||||
|     def get_current_prefetch_to(self, level): | ||||
|         return LOOKUP_SEP.join(self.prefetch_to.split(LOOKUP_SEP)[:level + 1]) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user