Yeah, if in doubt you can use the forms.as_p first to see what kind of
html form it outputs and use that as the basis for creating your form.
On Thu, Oct 30, 2008 at 7:05 PM, Giles Thomas
<[EMAIL PROTECTED]> wrote:
>
> please smile wrote:
>> Can anybody please tell how to upload a image ?
please smile wrote:
> Can anybody please tell how to upload a image ?
I'm new to this myself, but I got something working using Django's forms
mechanism.
My view function looks something like this:
---
class MyForm(ModelForm):
class Meta:
model =
Hi All,
Can anybody please tell how to upload a image ?
models.py
class photos(models.Model):
caption = models.CharField(max_length=10)
photo = models.ImageField(upload_to= 'Path')
It works at Admin Side .But not working at client side.
MyHtml.html
3 matches
Mail list logo