mirror of
https://github.com/django/django.git
synced 2025-03-31 11:37:06 +00:00
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
|
||||
|
||||
class LatestFreeCommentsFeed(Feed):
|
||||
"Feed of latest comments on the current site."
|
||||
"""Feed of latest free comments on the current site."""
|
||||
|
||||
comments_class = FreeComment
|
||||
|
||||
@ -30,7 +30,7 @@ class LatestFreeCommentsFeed(Feed):
|
||||
return self.get_query_set()[:40]
|
||||
|
||||
class LatestCommentsFeed(LatestFreeCommentsFeed):
|
||||
"""Feed of latest free comments on the current site"""
|
||||
"""Feed of latest comments on the current site."""
|
||||
|
||||
comments_class = Comment
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user