Getting a dynamic model form

2009-07-17 Thread ~Young Devil
I've a generic model to save the user preference with a key and value However the view would change depending upon the key. Example, key : newsletter view : radio button, yes and no key : template type value: drop down box [blue, white, brown] Is anything like this possible in Django, I am

Re: Getting a dynamic model form

2009-07-27 Thread ~Young Devil
> and then use something like {% render_value_widget key value %} in > your view. > If you provide the same name for the input you render, the submit > handling view would be simple. > > On Jul 17, 10:51 am, "~Young Devil" <jile...@gmail.com> wrote: > > > I