Changeset - 18addfe969da
[Not reviewed]
0 2 0
Bradley Kuhn (bkuhn) - 7 years ago 2014-07-14 14:52:41
bkuhn@ebb.org
Additional issues deal with feed_dict deprecation.
2 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
www/conservancy/feeds.py
Show inline comments
...
 
@@ -239,8 +239,9 @@ class BlogFeed(ConservancyFeedBase):
 

	
 

	
 

	
 
for k, v in feed_dict.items():
 
    v.get_absolute_url = '/feeds/%s/' % k
 
BlogFeed.get_absolute_url = '/feeds/blog/'
 
PressRelease.get_absolute_url = '/feeds/news/'
 
OmnibusFeed.get_absolute_url = '/feeds/omnibus/'
 

	
 
def view(request):
 
    """Listing of all available feeds
www/conservancy/urls.py
Show inline comments
...
 
@@ -18,7 +18,6 @@
 
# "AGPLv3".  If not, see <http://www.gnu.org/licenses/>.
 

	
 
from django.conf.urls.defaults import *
 
from conservancy.feeds import feed_dict
 
from django.contrib import admin
 

	
 
handler404 = 'modpythoncustom.view404'
0 comments (0 inline, 0 general)