Browse Source

Drobnost

pull/56/head
Jonas Havelka 3 months ago
parent
commit
4a3681b1a6
  1. 2
      soustredeni/views.py

2
soustredeni/views.py

@ -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…
Cancel
Save