if self.q:
#qs = qs.filter(name__istartswith=self.q)
- articles = articles.filter(name__icontains=self.q)
- topics = topics.filter(name__icontains=self.q)
+ articles = articles.filter(title__icontains=self.q)
+ topics = topics.filter(title__icontains=self.q)
qs = autocomplete.QuerySetSequence(articles, topics)
if self.q:
# This would apply the filter on all the querysets
- qs = qs.filter(name__icontains=self.q)
+ qs = qs.filter(title__icontains=self.q)
# This will limit each queryset so that they show an equal number
# of results.
-e git+https://github.com/yomguy/mezzanine-agenda.git#egg=mezzanine-agenda-0.2.2
--e git+https://github.com/stephenmcd/mezzanine.git@master#egg=mezzanine-4.1-master
+#-e git+https://github.com/stephenmcd/mezzanine.git@master#egg=mezzanine-4.2.master
-e git+https://github.com/stephenmcd/grappelli-safe.git@dynamic_stacked#egg=grappelli-safe-0.4.2
--e git+https://github.com/yourlabs/django-autocomplete-light.git#egg=django-autocomplete-light
+#-e git+https://github.com/yourlabs/django-autocomplete-light.git#egg=django-autocomplete-light
#https://forge.ircam.fr/p/django-eve/source/download/dev/