mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 04:51:24 +07:00
10 lines
225 B
Python
10 lines
225 B
Python
def get_queryset(self):
|
|
return (
|
|
super().get_queryset()
|
|
.filter(user=self.request.user)
|
|
.prefetch_related(
|
|
'lines__oscar_line',
|
|
'lines__oscar_line__product'
|
|
)
|
|
)
|