Author: mtredinnick
Date: 2010-03-09 21:12:48 -0600 (Tue, 09 Mar 2010)
New Revision: 12742

Modified:
   django/trunk/docs/releases/1.2.txt
Log:
Updated syndication framework porting notes.

This is based on some experience porting older code and trying to work
out why my feed content was empty.

Modified: django/trunk/docs/releases/1.2.txt
===================================================================
--- django/trunk/docs/releases/1.2.txt  2010-03-10 00:58:05 UTC (rev 12741)
+++ django/trunk/docs/releases/1.2.txt  2010-03-10 03:12:48 UTC (rev 12742)
@@ -508,9 +508,14 @@
         # ...
     )
 
-If you currently use the ``feed()`` view, the ``LatestEntries`` class
-would not need to be modified apart from subclassing the new
-:class:`~django.contrib.syndication.views.Feed` class.
+If you currently use the ``feed()`` view, the ``LatestEntries`` class would
+often not need to be modified apart from subclassing the new
+:class:`~django.contrib.syndication.views.Feed` class. The exception is if
+Django was automatically working out the name of the template to use to render
+the feed's description and title elements (if you were not specifying the
+``title_template`` and ``description_template`` attributes). You should ensure
+that you always specify ``title_template`` and ``description_template``
+attributes, or provide ``item_title()`` and ``item_description()`` methods.
 
 However, ``LatestEntriesByCategory`` uses the ``get_object()`` method
 with the ``bits`` argument to specify a specific category to show. In

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to