[Checkins] SVN: grokcore.view/branches/reinout-christian-codeview/ Added upgrade note

Reinout van Rees reinout at vanrees.org
Sat Jul 4 05:53:10 EDT 2009


Log message for revision 101487:
  Added upgrade note

Changed:
  U   grokcore.view/branches/reinout-christian-codeview/CHANGES.txt
  U   grokcore.view/branches/reinout-christian-codeview/README.txt

-=-
Modified: grokcore.view/branches/reinout-christian-codeview/CHANGES.txt
===================================================================
--- grokcore.view/branches/reinout-christian-codeview/CHANGES.txt	2009-07-04 09:47:20 UTC (rev 101486)
+++ grokcore.view/branches/reinout-christian-codeview/CHANGES.txt	2009-07-04 09:53:09 UTC (rev 101487)
@@ -5,7 +5,8 @@
 ----------------
 
 - Splitted CodeView out of View.  View only uses templates, CodeView only uses
-  a render() method.
+  a render() method.  So views that have a render method must subclass from
+  CodeView instead of View (that should be the only change needed).
 
 
 1.7 (2009-05-19)

Modified: grokcore.view/branches/reinout-christian-codeview/README.txt
===================================================================
--- grokcore.view/branches/reinout-christian-codeview/README.txt	2009-07-04 09:47:20 UTC (rev 101486)
+++ grokcore.view/branches/reinout-christian-codeview/README.txt	2009-07-04 09:53:09 UTC (rev 101487)
@@ -319,3 +319,13 @@
 .. _grokcore.component: http://pypi.python.org/pypi/grokcore.component
 .. _grokcore.security: http://pypi.python.org/pypi/grokcore.security
 .. _grokcore.view: http://pypi.python.org/pypi/grokcore.view
+
+
+Upgrade notice
+==============
+
+In grokcore.view 1.8, grokcore.view.View was splitted into View (that only
+works with templates) and CodeView (that only accepts a ``render()`` method).
+
+So views that have a render method must subclass from CodeView instead of
+View.  That should be the only change needed.



More information about the Checkins mailing list