Malcolm,
I wasn't very clear in my question. Sorry about that.
It took a bit of trial and error but I found a hack that works the way I
want it to. I use the model and form_for_model/form_for_instance for all
fields except the file uploads. For the file uploads I use FileInput(). That
was what I
On Tue, 2007-06-12 at 20:03 -0500, Vincent Nijs wrote:
> Thanks for the reply Malcolm.
>
> That is too bad. I noticed that the FileFields do have a browse button in
> the admin form btw. Do they not use form_for_model?
>
> As an alternative, is there a way to use FileField 's separately from the
Thanks for the reply Malcolm.
That is too bad. I noticed that the FileFields do have a browse button in
the admin form btw. Do they not use form_for_model?
As an alternative, is there a way to use FileField 's separately from the
the form_for_model fields? I am thinking I could leave the FileFie
On Tue, 2007-06-12 at 18:50 -0500, Vincent Nijs wrote:
> Hi,
>
> I have a form linked to a model. I am using form_for_model or
> form_for_instance as required.
>
> The only issue is that FileField fields are not displayed with a 'browse'
> button. The function I am using is given below.
>
> I k
Hi,
I have a form linked to a model. I am using form_for_model or
form_for_instance as required.
The only issue is that FileField fields are not displayed with a 'browse'
button. The function I am using is given below.
I know from the documentation that model fields get converted to form fields
5 matches
Mail list logo