aboutsummaryrefslogtreecommitdiff
path: root/views.py
diff options
context:
space:
mode:
authorAlban Gruin2018-04-25 09:34:34 +0200
committerAlban Gruin2018-04-25 09:34:34 +0200
commit60e3b389d065746d61906f91327867bfd5ed582c (patch)
tree687f2e221bba23605a4db5797dbbaa902b4d209c /views.py
parent8a533b6f86dc3315c3359f9e0df7af360b698a48 (diff)
qsjps: abstraction et navigation de la template
Diffstat (limited to 'views.py')
-rw-r--r--views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/views.py b/views.py
index aabda59..2411fe7 100644
--- a/views.py
+++ b/views.py
@@ -274,7 +274,7 @@ def qsjps(request):
rooms = Room.objects.qsjps(begin, end)
return render(request, "qsjps.html",
- {"rooms": rooms, "form": form})
+ {"elements": rooms, "form": form})
# Si le formulaire est invalide, on ré-affiche le formulaire
# avec les erreurs