mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
9 lines
216 B
Python
9 lines
216 B
Python
def get_queryset(self):
|
|
return (
|
|
super().get_queryset()
|
|
.filter(user=self.request.user)
|
|
.prefetch_related(
|
|
'lines__oscar_line',
|
|
'lines__oscar_line__product'
|
|
)
|
|
) |