mirror of
https://github.com/django/django.git
synced 2025-02-04 22:47:53 +00:00
Removed unused Prefetch.get_current_prefetch_through().
Unused since its introduction in f51c1f590085556abca44fd2a49618162203b2ec.
This commit is contained in:
parent
0a6ed6b1d9
commit
f4bde7d9a1
@ -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])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user