Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 8bdd19beea3002d8b99cbaaab9624dca8f7a8694 1 parent a93855c
@adrianholovaty adrianholovaty authored
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),
Please sign in to comment.
Something went wrong with that request. Please try again.