From 76c75d5ccd1c18645e7a26b3526007300d8cb44d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20P=C3=A9pin?= Date: Fri, 2 Jun 2017 18:35:04 +0100 Subject: [PATCH] Move bda-participant template -> bda/ folder --- bda/templates/{bda-participants.html => bda/participants.html} | 0 bda/views.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename bda/templates/{bda-participants.html => bda/participants.html} (100%) diff --git a/bda/templates/bda-participants.html b/bda/templates/bda/participants.html similarity index 100% rename from bda/templates/bda-participants.html rename to bda/templates/bda/participants.html diff --git a/bda/views.py b/bda/views.py index 602e5025..75716ba5 100644 --- a/bda/views.py +++ b/bda/views.py @@ -612,7 +612,7 @@ def spectacle(request, tirage_id, spectacle_id): participants_info = sorted(participants.values(), key=lambda part: part['lastname']) - return render(request, "bda-participants.html", + return render(request, "bda/participants.html", {"spectacle": spectacle, "participants": participants_info})