aboutsummaryrefslogtreecommitdiff
path: root/views.py
diff options
context:
space:
mode:
authorAlban Gruin2018-01-18 12:17:08 +0100
committerAlban Gruin2018-01-18 12:17:08 +0100
commit175e1c1139a77a02f3c52d77a4d2b118c2b2e578 (patch)
tree79a90b238191d2e3cab6c6435c2cc1a625b998d3 /views.py
parentb1e5d205e37a2c0a5d4f42afe0bdce9e0fbf97dd (diff)
Ajout d’une template pour lister les salles trouvées
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 1c82b03..0231c9e 100644
--- a/views.py
+++ b/views.py
@@ -153,7 +153,7 @@ def qsjps(request):
form = QSJPSForm(request.POST)
if form.is_valid():
# Formulaire validé
- return None
+ return render(request, "qsjps.html", {"rooms": [], "form": form})
# Si le formulaire est invalide, on ré-affiche le formulaire
# avec les erreurs
else: