summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorIsmael Carnales <icarnales@gmail.com>2009-10-30 22:08:37 +0100
committerIsmael Carnales <icarnales@gmail.com>2009-11-10 01:24:43 +0100
commit046b4543a4ceaf4cfe6736443d4a7e453b5bf14b (patch)
treeaa707c627d484b1d3f27f1d2c8368cd81b9909d0 /templates
parent680d9d30dffeb82db6feb26f3f10a7c8645ec879 (diff)
downloadarchweb-046b4543a4ceaf4cfe6736443d4a7e453b5bf14b.tar.gz
archweb-046b4543a4ceaf4cfe6736443d4a7e453b5bf14b.tar.xz
made every public view return a RequestContext
RequestContexts are needed to check if the user is logged in NOTE: Generic views as direct_to_template and object_list always return a request context, so is good to use them :) Later will add a render_template shortcut that adds the RequestContext automatically
Diffstat (limited to 'templates')
-rw-r--r--templates/public/projects.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/public/projects.html b/templates/public/projects.html
index c6ff271..5fd1fa2 100644
--- a/templates/public/projects.html
+++ b/templates/public/projects.html
@@ -7,7 +7,7 @@
<p>There are a few Arch-based projects or communities that have sprung up
over the years. Here's a list of the ones we know about.</p>
<table cellspacing="20">
- {% for project in projects %}
+ {% for project in project_list %}
<tr>
<td><a href="{{project.url}}">{{project.name}}</a></td>
<td>{{project.description}}</td>