Oddělení sousových věcí #56

Merged
zelvuska merged 15 commits from split_sous into master 2024-10-22 22:15:15 +02:00
Showing only changes of commit 4a3681b1a6 - Show all commits

View file

@ -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",