Author: adrian
Date: 2006-07-21 10:57:50 -0500 (Fri, 21 Jul 2006)
New Revision: 3409

Modified:
   django/trunk/django/contrib/syndication/feeds.py
Log:
Fixed #1961 -- Made feed_url dynamic in syndication framework

Modified: django/trunk/django/contrib/syndication/feeds.py
===================================================================
--- django/trunk/django/contrib/syndication/feeds.py    2006-07-21 14:48:31 UTC 
(rev 3408)
+++ django/trunk/django/contrib/syndication/feeds.py    2006-07-21 15:57:50 UTC 
(rev 3409)
@@ -73,7 +73,7 @@
             link = link,
             description = self.__get_dynamic_attr('description', obj),
             language = settings.LANGUAGE_CODE.decode(),
-            feed_url = add_domain(current_site, self.feed_url),
+            feed_url = add_domain(current_site, 
self.__get_dynamic_attr('feed_url', obj)),
             author_name = self.__get_dynamic_attr('author_name', obj),
             author_link = self.__get_dynamic_attr('author_link', obj),
             author_email = self.__get_dynamic_attr('author_email', obj),


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to