From: Stephen Burrows Date: Wed, 1 Jun 2011 16:13:29 +0000 (-0400) Subject: Minor correction to FeedView docstrings. Resolves issue #139. X-Git-Tag: philo-0.9~8^2~3 X-Git-Url: http://git.ithinksw.org/philo.git/commitdiff_plain/767cec415355aea0ac6af15580ffdc5e5787c04f?hp=--cc Minor correction to FeedView docstrings. Resolves issue #139. --- 767cec415355aea0ac6af15580ffdc5e5787c04f diff --git a/philo/contrib/penfield/models.py b/philo/contrib/penfield/models.py index 7a3eaa8..2a145fb 100644 --- a/philo/contrib/penfield/models.py +++ b/philo/contrib/penfield/models.py @@ -51,9 +51,9 @@ class FeedView(MultiView): #: A :class:`PositiveIntegerField` - the maximum number of items to return for this feed. All items will be returned if this field is blank. Default: 15. feed_length = models.PositiveIntegerField(blank=True, null=True, default=15, help_text="The maximum number of items to return for this feed. All items will be returned if this field is blank.") - #: A :class:`ForeignKey` to a :class:`.Template` which can be used to render the title of each item in the feed. + #: A :class:`ForeignKey` to a :class:`.Template` which will be used to render the title of each item in the feed if provided. item_title_template = models.ForeignKey(Template, blank=True, null=True, related_name="%(app_label)s_%(class)s_title_related") - #: A :class:`ForeignKey` to a :class:`.Template` which can be used to render the description of each item in the feed. + #: A :class:`ForeignKey` to a :class:`.Template` which will be used to render the description of each item in the feed if provided. item_description_template = models.ForeignKey(Template, blank=True, null=True, related_name="%(app_label)s_%(class)s_description_related") #: The name of the context variable to be populated with the items managed by the :class:`FeedView`.