Edited docs/syndication_feeds.txt changes from [6570]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-11-30 05:27:49 +00:00
parent 85acb388ee
commit 7ea174ef14
1 changed files with 3 additions and 3 deletions

View File

@ -564,15 +564,15 @@ This example illustrates all possible attributes and methods for a ``Feed`` clas
def ttl(self, obj): def ttl(self, obj):
""" """
Takes the object returned by get_object() and returns the feed's Takes the object returned by get_object() and returns the feed's
TTL (Time to live) as a normal Python string. TTL (Time To Live) as a normal Python string.
""" """
def ttl(self): def ttl(self):
""" """
Returns the feed's ttl as a normal Python string. Returns the feed's TTL as a normal Python string.
""" """
ttl = 600 # Hard-coded Time to live. ttl = 600 # Hard-coded Time To Live.
# ITEMS -- One of the following three is required. The framework looks # ITEMS -- One of the following three is required. The framework looks
# for them in this order. # for them in this order.