Hello

I make a simple Photostore, application and I like to import the images from a 
directory.
I like to upload files via FTP.
So I like to ask your help about this.

I like to a make something same, if it posible:

class Testmodel(models.Model):
        ...
        pict = models.ImageField(u"picture", upload_to= storage_function)
        ...

def   ...
        ...
        image = somecommmands("/file/path")
        temp = Testmodel(pict = image)
        temp.save()
        ...

But if you can make a better method, thats nice me too.

Thanks: Imre

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to