Fix bug css
[ifgu.git] / project / feeds.py
1 # -*- encoding: utf-8 -*
2 from django.contrib.syndication.feeds import Feed
3 from article.models import Actualite
4
5 class DerniereActualites(Feed):
6 title = "Actualite IFGU"
7 description = "Voila voila"
8 link = "/flux/actualite/"
9
10 def items(self):
11 return Actualite.objects.all()[:10]