[Grok-dev] Deprecation warning lacking some useful info

Sebastian Ware sebastian at urbantalk.se
Wed May 28 05:35:03 EDT 2008

Wouldn't it be useful if this warning said which pagetemplate contains  
the offending code? The view referenced contains the macro being called.

159: DeprecationWarning: Calling macros directly on the view is  
deprecated. Please use context/@@viewname/macros/macroname
View <protoncms.protonbase.EditFormTemplate object at 0x3083390>,  
macro form_template
   DeprecationWarning, 1)

Mvh Sebastian

More information about the Grok-dev mailing list