web/views/primary.py
changeset 4587 70d47389630c
parent 4572 9e0a86d3ba62
child 4742 fac80328a6a3
--- a/web/views/primary.py	Thu Feb 11 12:19:08 2010 +0100
+++ b/web/views/primary.py	Mon Feb 15 18:44:47 2010 +0100
@@ -46,8 +46,8 @@
         self.render_entity(entity)
 
     def render_entity(self, entity):
+        self.render_entity_toolbox(entity)
         self.render_entity_title(entity)
-        self.render_entity_toolbox(entity)
         # entity's attributes and relations, excluding meta data
         # if the entity isn't meta itself
         if self.is_primary():
@@ -161,7 +161,7 @@
                 try:
                     label, rset, vid, dispctrl  = box
                 except ValueError:
-                    warn('box views should now be defined as a 4-uple (label, rset, vid, dispctrl), '
+                    warn('[3.5] box views should now be defined as a 4-uple (label, rset, vid, dispctrl), '
                          'please update %s' % self.__class__.__name__,
                          DeprecationWarning)
                     label, rset, vid  = box