diff options
author | Bryan Newbold <bnewbold@animus.robocracy.org> | 2008-09-23 18:52:55 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@animus.robocracy.org> | 2008-09-23 18:52:55 -0700 |
commit | 979f5901af8410ff138de0aa41013bfb193060d6 (patch) | |
tree | f3c59f2a2f1da90e13336e16efa4b48003534052 /bn_django/git_wiki | |
parent | 6a22baa306a72557698d64ac6c09842bed81f66b (diff) | |
download | bnewnet-979f5901af8410ff138de0aa41013bfb193060d6.tar.gz bnewnet-979f5901af8410ff138de0aa41013bfb193060d6.zip |
1.0
Diffstat (limited to 'bn_django/git_wiki')
-rw-r--r-- | bn_django/git_wiki/views.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/bn_django/git_wiki/views.py b/bn_django/git_wiki/views.py index 58d4194..f16ea84 100644 --- a/bn_django/git_wiki/views.py +++ b/bn_django/git_wiki/views.py @@ -7,7 +7,7 @@ import os, commands from models import * from settings import * -from django.contrib.comments.models import Comment,FreeComment +from django.contrib.comments.models import Comment # Create your views here. @@ -16,10 +16,9 @@ def frontpage(request): t.update() #TODO: doesn't display free comments unless there's a comment lc = Comment.objects.filter(content_type__name="item").order_by('-submit_date')[:6] - lfc = FreeComment.objects.filter(content_type__name="item").order_by('-submit_date')[:6] return render_to_response('git_wiki/frontpage.html', \ dict(shortlog=shortlog(), tree=t, - latest_comments=lc, latest_freecomments=lfc, + latest_comments=lc, newitems=newest_items())) def tree(request, reqslug, tree=None): |