mething 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" wrote:
>
> > I've a generic model to save the user preference wit
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 kin
2 matches
Mail list logo