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
This commit is contained in:
parent
a93855c5bd
commit
8bdd19beea
|
@ -73,7 +73,7 @@ class Feed(object):
|
||||||
link = link,
|
link = link,
|
||||||
description = self.__get_dynamic_attr('description', obj),
|
description = self.__get_dynamic_attr('description', obj),
|
||||||
language = settings.LANGUAGE_CODE.decode(),
|
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_name = self.__get_dynamic_attr('author_name', obj),
|
||||||
author_link = self.__get_dynamic_attr('author_link', obj),
|
author_link = self.__get_dynamic_attr('author_link', obj),
|
||||||
author_email = self.__get_dynamic_attr('author_email', obj),
|
author_email = self.__get_dynamic_attr('author_email', obj),
|
||||||
|
|
Loading…
Reference in New Issue