Re: New newforms code

2007-01-10 Thread Mikko Ohtamaa
template so that it can be extended and overridden easily in different scenarios. -- Mikko Ohtamaa Consultant Red Innovation Ltd. http://www.redinnovation.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &qu

Re: New newforms code

2007-01-07 Thread Mikko Ohtamaa
Honza Král wrote: On 1/6/07, Mikko Ohtamaa <[EMAIL PROTECTED]> wrote: well, the problem I see here is that you move the responsibility to programmer, if designer wishes to change the output, he would have to go to python... Producing HTML is Python is the root of the problem. Most o

Newforms and field descriptions

2007-01-06 Thread Mikko Ohtamaa
But it looks dumb and you are Repeating Yourself. Maybe fields/widgets should use Python **kwargs pattern and allow arbitary initialization data? -- Mikko Ohtamaa Consultant Red Innovation Ltd. http://www.redinnovation.com --~--~-~--~~~---~--~~ You received

New newforms code

2007-01-06 Thread Mikko Ohtamaa
Happy Twelfth Day, Mikko -- Mikko Ohtamaa Consultant Red Innovation Ltd. http://www.redinnovation.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this grou

Bug in AutomaticManipulator.save()

2006-09-25 Thread Mikko Ohtamaa
This applies for the current Django trunk. Looks like I don't understand Django code or there is one unthought use case in manipulators: When you are updating only a partial set of object fields in save(), save() fails. Steps to reproduce 1. Create a change manipulator for an object 2. Update on

Form generator framework

2006-09-22 Thread Mikko Ohtamaa
Hi, I have created a little HTML form generator framework for Django. The framework (django.contrib package) and an example application are available at http://ohtis.net/formgenerator.tar.gz I hope this would become (un)official part of Django distribution. Please give some feedback. Below some