title: Django. Several images for product
body: <p>I want to add several images for my product and already have</p>
  
  <p>models.py:</p>
  
  <pre><code>class Product(models.Model):
      category = models.ForeignKey(Category, related_name='products')
      name = models.CharField(max_length=200, db_index=True)
      slug = models.SlugField(max_length=200, db_index=True)
      short_description = models.CharField(max_length=200, blank=True)
      description = models.TextField(blank=True)
      product_information = models.TextField(blank=True)
      price = models.DecimalField(max_digits=10, decimal_places=0)
      stock = models.PositiveIntegerField()
      available = models.BooleanField(default=True)
      created = models.DateTimeField(auto_now_add=True)
      updated = models.DateTimeField(auto_now=True)
      class Meta:
          ordering = ('name',)
          index_together = (('id', 'slug'),)
      def __str__(self):
          return self.name
  
      def get_absolute_url(self):
          return reverse('shop:product_detail',
                          args=[self.category.slug, self.slug])
  
  class Images (models.Model):
      product = models.ForeignKey(Product, default=None, related_name='images')
      image = models.ImageField(upload_to='products/%Y/%m/%d', blank=True)
  </code></pre>
  
  <p>but I can't upload image via admin page. 
  admin.py</p>
  
  <pre><code>class ProductAdmin(admin.ModelAdmin):
      list_display = ['name', 'slug', 'category', 'price', 'stock', 'available', 'created', 'updated']
      list_filter = ['available', 'created', 'updated', 'category']
      list_editable = ['price', 'stock', 'available']
      prepopulated_fields = {'slug': ('name',)}
  admin.site.register(Product, ProductAdmin)
  </code></pre>
  
  <p>How should i change my code to be able add several images for my product using admin page?
  And how should I than call images in page code?</p>
  
  <p>Right now i call image using {{ product.image}}</p>
  
  <p>I spent already a lot of time to find answer. Please help. =)</p>