Oddělení sousových věcí #56
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class SoustredeniListView(generic.ListView):
|
||||||
if not self.request.user.je_org:
|
if not self.request.user.je_org:
|
||||||
return super().get_queryset()
|
return super().get_queryset()
|
||||||
return (
|
return (
|
||||||
Soustredeni.objects
|
super().get_queryset()
|
||||||
.prefetch_related(
|
.prefetch_related(
|
||||||
"ucastnici", "ucastnici__osoba",
|
"ucastnici", "ucastnici__osoba",
|
||||||
"organizatori", "organizatori__osoba",
|
"organizatori", "organizatori__osoba",
|
||||||
|
|
Loading…
Reference in a new issue