Re: Seamless integration of customized forms in my project

2009-08-18 Thread Thierry
You sold me on "this construction is unclear" and the "happy debugging" is scaringly convincing. I will stick with different classnames approach, with maintenance and portability (reusing apps) in mind. Thank you for your time. --~--~-~--~~~---~--~~ You received

Re: Seamless integration of customized forms in my project

2009-08-18 Thread Marek Palatinus
On Tue, Aug 18, 2009 at 4:14 PM, Thierry wrote: > Should I stick with custom class names and refer to them throughout my > project instead? > Thanks for any feedback, > Thierry. > Hi, from side of python syntax, it is possible. See this example: mar...@kraksna:~/$ python

Seamless integration of customized forms in my project

2009-08-18 Thread Thierry
(Please excuse my meaningless title as English is not my natural language). I would like some advice on how pythonic/heretic my approach is. What I am trying to do is: - subclass standard Form class (e.g to add new rendering methods) - subclass some fields and widgets (e.g to add custom CSS