Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Commit

Permalink
use right base class
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelButkovic committed Oct 6, 2015
1 parent 7ad923d commit d51aa23
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion bulbs/feeds/views.py
Expand Up @@ -60,4 +60,4 @@ def get_queryset(self):
else:
sc_ids = []

return ContentListView.get_queryset(self).filter(Ids(values=sc_ids))[:self.paginate_by]
return super(RSSView, self).get_queryset().filter(Ids(values=sc_ids))[:self.paginate_by]
1 change: 0 additions & 1 deletion tests/test_rss_feeds.py
Expand Up @@ -59,7 +59,6 @@ def test_special_coverage_rss_feed(self):
self.assertTrue("Content2" in response.content.decode('utf-8'))
self.assertTrue("Content3" not in response.content.decode('utf-8'))

import pdb; pdb.set_trace()
# test id w/ sc-rss-feed
response = client.get("{0}?special_coverage_id={1}".format(sc_rss, sc.id))
self.assertEqual(response.status_code, 200)
Expand Down

0 comments on commit d51aa23

Please sign in to comment.