id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 4404 LatestCommentsFeed causing AssertionError due to slicing Stuart Williams Adrian Holovaty "!LatestCommentsFeed from contrib/comments/feeds.py calls upon !LatestFreeCommentsFeed, which slices the result. This causes an !AssertionError: {{{ #!python Traceback (most recent call last): File ""/usr/lib/python2.5/site-packages/django/core/handlers/base.py"" in get_response 77. response = callback(request, *callback_args, **callback_kwargs) File ""/usr/lib/python2.5/site-packages/django/contrib/syndication/ views.py"" in feed 19. feedgen = f(slug, request.path).get_feed(param) File ""/usr/lib/python2.5/site-packages/django/contrib/syndication/ feeds.py"" in get_feed 94. for item in self.__get_dynamic_attr('items', obj): File ""/usr/lib/python2.5/site-packages/django/contrib/syndication/ feeds.py"" in __get_dynamic_attr 51. return attr() File ""/usr/lib/python2.5/site-packages/django/contrib/comments/ feeds.py"" in items 36. qs = qs.filter(is_removed=False) File ""/usr/lib/python2.5/site-packages/django/db/models/query.py"" in filter 368. return self._filter_or_exclude(None, *args, **kwargs) File ""/usr/lib/python2.5/site-packages/django/db/models/query.py"" in _filter_or_exclude 381. ""Cannot filter a query once a slice has been taken."" AssertionError at /rss/comments/ Cannot filter a query once a slice has been taken. }}} Sorry about the lack of further details, but I'm pretty new to both Python and Django... Thanks!" closed contrib.comments dev fixed Ready for checkin 1 0 0 0 0 0