more intuitive case tls-sprint
authorsylvain.thenault@logilab.fr
Mon, 04 May 2009 15:48:43 +0200
branchtls-sprint
changeset 1652 ba0a6b4d04f7
parent 1651 675873ed82e3
child 1653 8b82227719f0
more intuitive case
web/views/xmlrss.py
--- a/web/views/xmlrss.py	Mon May 04 15:48:16 2009 +0200
+++ b/web/views/xmlrss.py	Mon May 04 15:48:43 2009 +0200
@@ -22,7 +22,7 @@
 
 # base xml views ##############################################################
 
-class XmlView(EntityView):
+class XMLView(EntityView):
     """xml view for entities"""
     id = 'xml'
     title = _('xml')
@@ -43,7 +43,7 @@
         self.w(u'</%s>\n' % self.xml_root)
 
 
-class XmlItemView(EntityView):
+class XMLItemView(EntityView):
     id = 'xmlitem'
 
     def cell_call(self, row, col):
@@ -67,7 +67,7 @@
         self.w(u'</%s>\n' % (entity.e_schema))
 
 
-class XmlRsetView(AnyRsetView):
+class XMLRsetView(AnyRsetView):
     """dumps raw rset as xml"""
     id = 'rsetxml'
     title = _('xml export')
@@ -142,7 +142,7 @@
         self.w(u'<a href="%s"><img src="%s" alt="rss"/></a>\n' % (xml_escape(url), rss))
 
 
-class RssView(XmlView):
+class RSSView(XMLView):
     id = 'rss'
     title = _('rss')
     templatable = False
@@ -176,7 +176,7 @@
         self.wview('rssitem', self.rset, row=row, col=col)
 
 
-class RssItemView(EntityView):
+class RSSItemView(EntityView):
     id = 'rssitem'
     date_format = '%%Y-%%m-%%dT%%H:%%M%+03i:00' % (timezone / 3600)
     add_div_section = False