Fixed docstring style.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
088cb3c2f3
commit
409ba6038d
|
@ -4,7 +4,7 @@ from django.contrib.syndication.feeds import Feed
|
||||||
from django.contrib.sites.models import Site
|
from django.contrib.sites.models import Site
|
||||||
|
|
||||||
class LatestFreeCommentsFeed(Feed):
|
class LatestFreeCommentsFeed(Feed):
|
||||||
"Feed of latest comments on the current site."
|
"""Feed of latest free comments on the current site."""
|
||||||
|
|
||||||
comments_class = FreeComment
|
comments_class = FreeComment
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ class LatestFreeCommentsFeed(Feed):
|
||||||
return self.get_query_set()[:40]
|
return self.get_query_set()[:40]
|
||||||
|
|
||||||
class LatestCommentsFeed(LatestFreeCommentsFeed):
|
class LatestCommentsFeed(LatestFreeCommentsFeed):
|
||||||
"""Feed of latest free comments on the current site"""
|
"""Feed of latest comments on the current site."""
|
||||||
|
|
||||||
comments_class = Comment
|
comments_class = Comment
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue