From 4337de17b1f466b6f18880cdc901a1e43645473f Mon Sep 17 00:00:00 2001 From: Nylar Date: Mon, 18 May 2015 15:04:58 +0100 Subject: [PATCH] Use more friendly context names in templates --- forums/templates/forums/forum_detail.html | 10 +++++----- forums/templates/forums/forum_form.html | 2 +- forums/templates/forums/forum_list.html | 2 +- forums/views.py | 4 ++++ threads/templates/threads/thread_detail.html | 6 +++--- threads/templates/threads/thread_form.html | 2 +- threads/views.py | 2 ++ 7 files changed, 17 insertions(+), 11 deletions(-) diff --git a/forums/templates/forums/forum_detail.html b/forums/templates/forums/forum_detail.html index 7a360ba..d57b7b9 100644 --- a/forums/templates/forums/forum_detail.html +++ b/forums/templates/forums/forum_detail.html @@ -2,14 +2,14 @@ {% block content %} New Thread -Update -Change Visibility +Update +Change Visibility -

{{ object.name }}

-

{{ object.description }}

+

{{ forum.name }}

+

{{ forum.description }}