AdminFileWidget does the trick ;-)
On Feb 26, 11:50 am, kirian wrote:
> Hi,
>
> I want to present a model.FileField outside the admin in a form. It
> should behave like the nicely automatically created FileFields in the
> admin.
>
> So set a with the actual value and
Hi,
I want to present a model.FileField outside the admin in a form. It
should behave like the nicely automatically created FileFields in the
admin.
So set a with the actual value and present a fileselect button.
If a output the form as a table form.as_table i just get the
fileselect button.
2 matches
Mail list logo