e1000c7e0906

Fixed the feed Mint stats.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Thu, 15 Jan 2009 19:34:16 -0500
parents 3414a7b769ea
children a0c42c6ec980
branches/tags (none)
files rss/views.py

Changes

--- a/rss/views.py	Thu Jan 15 19:09:43 2009 -0500
+++ b/rss/views.py	Thu Jan 15 19:34:16 2009 -0500
@@ -1,5 +1,6 @@
-import deploy
+from stevelosh.deploy import FEEDER_PASSWORD
 import urllib2
+import django.contrib.syndication.views
 
 def feeds(request, url, feed_dict):
     headers = {'HTTP_HOST':'Host',
@@ -16,7 +17,7 @@
     o.addheaders = [ (headers[k], request.META.get(k, '')) 
                      for k in request.META.keys() if k in headers.keys()]
     f = o.open( "http://stevelosh.com/feeder/index.php?pw=%s&feed_name=%s" % 
-                (deploy.FEEDER_PASSWORD, feed_name) )
+                (FEEDER_PASSWORD, feed_name) )
     f.read()
     f.close()