web/views/baseviews.py
changeset 532 ce3e94cbb074
parent 531 d33f80ff1b72
child 570 0c9dfc430200
--- a/web/views/baseviews.py	Fri Jan 30 15:30:15 2009 +0100
+++ b/web/views/baseviews.py	Fri Jan 30 15:30:30 2009 +0100
@@ -354,10 +354,10 @@
         self.w(u'</a>')
 
 class TextView(EntityView):
-    """the simplest text view for an entity
-    """
+    """the simplest text view for an entity"""
     id = 'text'
     title = _('text')
+    content_type = 'text/plain'
     accepts = 'Any',
     def call(self, **kwargs):
         """the view is called for an entire result set, by default loop