Using Django svn r8463 I have the following model:
class Image(models.Model):
description = models.CharField(max_length=100)
image = models.ImageField(upload_to='images')
...and view:
def upload_image(request):
upFile = request.FILES['file']
newImage = Image()
newImage.ima
On Aug 22, 3:38 pm, "Marty Alchin" <[EMAIL PROTECTED]> wrote:
> You should really be using forms here, even though you're not
> submitting them through the normal channels. This would allow you to
> use form-level validations, which are designed precisely for these
> types of situations. Just crea
2 matches
Mail list logo