1 # -*- encoding: utf-8 -*
2 from django
.contrib
.syndication
.feeds
import Feed
3 from article
.models
import Actualite
5 class DerniereActualites(Feed
):
6 title
= "Actualite IFGU"
7 description
= "Voila voila"
8 link
= "/flux/actualite/"
11 return Actualite
.objects
.all()[:10]