Re: AttributeError at /sitemap.xml

2016-02-10 Thread Michal Petrucha
On Wed, Feb 10, 2016 at 06:01:28AM -0800, Kelvin Jayanoris wrote: > It seems that django/contrib/sitemaps/__init__.py line 146 causes an > attribute error sometimes as such: > > AttributeError: 'list' object has no attribute 'filter' > > I think this is because it always expects a queryset and f

AttributeError at /sitemap.xml

2016-02-10 Thread Kelvin Jayanoris
It seems that django/contrib/sitemaps/__init__.py line 146 causes an attribute error sometimes as such: AttributeError: 'list' object has no attribute 'filter' I think this is because it always expects a queryset and fails when a list is provided. Is this a known issue, or not an issue at all?