diff gpp/templates/home.html @ 23:a5f27f25fa52

Added a latest_downloads template tag. Made the comments view the details view for a download. Changed get_absolute_url to point to this new view.
author Brian Neal <bgneal@gmail.com>
date Sun, 19 Apr 2009 21:16:59 +0000
parents c0d0779b266f
children 04377c5bf912
line wrap: on
line diff
--- a/gpp/templates/home.html	Sun Apr 19 21:01:15 2009 +0000
+++ b/gpp/templates/home.html	Sun Apr 19 21:16:59 2009 +0000
@@ -1,5 +1,6 @@
 {% extends 'base.html' %}
 {% load weblinks_tags %}
+{% load downloads_tags %}
 {% block title %}Home{% endblock %}
 {% block content %}
 <h2>Welcome to SurfGuitar101!</h2>
@@ -15,10 +16,10 @@
 permanent. The site (content, user accounts, etc.) may be wiped at any time while we fix bugs and add features. 
 Also, I hope that the look and feel of this site can be greatly improved to something really cool! I'll need
 lots of help for this aspect, as I'm more of a coder than a designer.</p>
-<div class="span-9">
+<div class="span-9 append-1">
    {% latest_weblinks %} 
 </div>
-<div class="span-10 last">
-   Some more stuff.
+<div class="span-9 last">
+   {% latest_downloads %} 
 </div>
 {% endblock %}