tags:

views:

45

answers:

1

Hello, I'm working on a mobile site and what I have to do is 1.create a picture frame 2.add to it pictures posted by users individually, then save each picture back to the database. Does anyone know how to go about this

+1  A: 

Start with this: http://docs.djangoproject.com/en/dev/ref/models/fields/#imagefield

If you need to have multiple images for user, you probably need similar model:

class ImageUpload(Model):
  user = ForeignKey(User)
  image = ImageField(..)
gruszczy