﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
6244	ImageField with a ForeignKey disappears from the db	anonymous	nobody	"model (basicly the example from the docs, think BlogPost and Comments, but comments are images (perhaphs it's enough for them to have images)), my model:

{{{
class Offer(models.Model):
    name = models.CharField()
    ...
    class Admin:pass

class OfferImage(models.Model):
    off = models.ForeignKey(Offer, edit_inline=models.STACKED, num_in_admin=3)
    image = models.ImageField(upload_to='photos', inline_edit )
 
}}}
(recent svn version)
1. I can create an Offer with say, two images.
2. I can add an image to an offer if I define Admin class for images
*BUT*
3. saving an offer in the admin interface causes the images to disapear from the db - seriously weird  stuff

I didn't do any extensive testing (like if it happens while playing around in the interpreter too. The FileField is in the ""stable"" tarball versions, so I'm *guessing* this is specific to image's (although - again - didn't try it)"		closed	contrib.admin	dev		invalid	ImageField		Unreviewed	0	0	0	0	0	0
