aboutsummaryrefslogtreecommitdiffstats
path: root/bn_django/git_wiki/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'bn_django/git_wiki/views.py')
-rw-r--r--bn_django/git_wiki/views.py5
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):