Projet

Général

Profil

« Précédent | Suivant » 

Révision 6d73b9d8

Ajouté par Serghei Mihai (congés, retour 15/05) il y a plus de 9 ans

Rss view renamed to Atom. Url updated

Voir les différences:

corbo/views.py
81 81

  
82 82
manage = ManageView.as_view()
83 83

  
84
class RssView(Feed):
84
class AtomView(Feed):
85 85
    title = settings.RSS_TITLE
86 86
    description = settings.RSS_DESCRIPTION
87 87
    link = settings.RSS_LINK
......
106 106
    def item_pubdate(self, item):
107 107
        return item.publication_time or item.modification_time
108 108

  
109
rss = RssView()
109
atom = AtomView()

Formats disponibles : Unified diff