1. David Chambers
  2. Mango

Commits

Chris Chambers  committed fffad8a

Also adding previous change to feeds

  • Participants
  • Parent commits a12a130
  • Branches default

Comments (0)

Files changed (1)

File feeds.py

View file
 
 def atom(request):
     content_type = 'application/atom+xml; charset=utf-8'
-    cache_key = feed_url = BASE_URL.rstrip('/') + request.META['PATH_INFO']
+    cache_key = feed_url = BASE_URL + request.META['PATH_INFO']
     xml = cache.get(cache_key)
     if xml:
         return HttpResponse(xml, content_type=content_type)