No, no, leave it like that and we can take a look at it later. I was just
wondering. Thanks!


On 7 June 2013 18:36, Surya Kasturi <notifications@github.com> wrote:

> In scipy_central/feeds/feeds.py:
>
> > +		return 'Recent 30 %s Submissions - SciPy Central' % obj.slug
> > +
> > +	def link(self, obj):
> > +		return '/item/tag/%s/' % obj.slug
> > +
> > +	def feed_url(self, obj):
> > +		return '/feeds/%s' % obj.slug
> > +
> > +	def description(self, obj):
> > +		return obj.description
> > +
> > +	def categories(self, obj):
> > +		return tuple(obj.slug)
> > +
> > +	def items(self, obj):
> > +		return Revision.objects.all().filter(tags=obj, is_displayed=True).order_by('-date_created')[:30]
>
> Yeah, objects,filter() is more obvious. I found previous code to be
> written like objects.all().filter() and thought of going for it. If you
> see scipy_central.submission.views.py, you find similar implementation
> done by previous author. I guess he was in django 1.3..
>
> I haven't looked into django upgrading documentation yet but is this
> deprecated or something? should I change?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/scipy/SciPyCentral/pull/121/files#r4593158>
> .
>