~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to wiki/feeds.py

  • Committer: franku
  • Date: 2019-04-11 15:06:09 UTC
  • mto: This revision was merged to the branch mainline in revision 540.
  • Revision ID: somal@arcor.de-20190411150609-801l72ffxgr6gkui
converted to python 3.6 using 2to3 script

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
 
43
43
class RssArticleHistoryFeed(Feed):
44
44
    feed_type = Rss201rev2Feed
45
 
    title_template = u'wiki/feeds/history_title.html'
46
 
    description_template = u'wiki/feeds/history_description.html'
 
45
    title_template = 'wiki/feeds/history_title.html'
 
46
    description_template = 'wiki/feeds/history_description.html'
47
47
 
48
48
    def get_object(self, request, *args, **kwargs):
49
49
        return Article.objects.get(title=kwargs['title'])