List Info

Thread: prefill admin forms




prefill admin forms
user name
2006-02-15 16:39:57
David S. wrote:

> Is there a mechanism to pre-populate fields in an admin
add page?
>
> I can imagine a javascript hack or trying to use the
admin template
> from my own view somehow, but I am hoping for something
really simple
> that I missed in the docs.

default?  e.g.

    field = meta.CharField("Caption",
default="some default text", ...)

</F>

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )