Skip to content
Browse files

Fixed #8 , changed the comment feed to reference the model's name as …

…opposed to number

git-svn-id: file:///Users/brian/Backups/S3/backups/Wednesday/brian/svn/djog/trunk@49 95ab7de8-677b-4562-a266-b8acc9dd993c
  • Loading branch information...
1 parent 2eb0d95 commit df1a3229f14841a66c6a4f89c77d1220f1aa24ec @alex alex committed Oct 23, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 djog/feeds.py
View
2 djog/feeds.py
@@ -30,7 +30,7 @@ def description(self, obj):
return "The latest comments on \"%s\"" % obj.title
def items(self, obj):
- return FreeComment.objects.filter(content_type='12').filter(object_id=obj.pk).order_by('-submit_date')[:10]
+ return FreeComment.objects.filter(content_type__model='entry').filter(object_id=obj.pk).order_by('-submit_date')[:10]
class LatestEntriesByTag(Feed):
def get_object(self, bits):

0 comments on commit df1a322

Please sign in to comment.
Something went wrong with that request. Please try again.