On n'autorise l'accès à la page des bulletins que quand l'élection est publiée
This commit is contained in:
parent
b79a7f6b0f
commit
684fe20d24
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ class ElectionBallotsView(NotArchivedMixin, DetailView):
|
||||||
return (
|
return (
|
||||||
super()
|
super()
|
||||||
.get_queryset()
|
.get_queryset()
|
||||||
.filter(tallied=True)
|
.filter(results_public=True, tallied=True)
|
||||||
.prefetch_related("questions__options")
|
.prefetch_related("questions__options")
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue