Browse files

Fixed #1961 -- Made feed_url dynamic in syndication framework

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3409 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent a93855c commit 8bdd19beea3002d8b99cbaaab9624dca8f7a8694 @adrianholovaty adrianholovaty committed Jul 21, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/syndication/feeds.py
View
2 django/contrib/syndication/feeds.py
@@ -73,7 +73,7 @@ def get_feed(self, url=None):
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),

0 comments on commit 8bdd19b

Please sign in to comment.