Hi,

Enjoying django while working on my new site. Things is that I'm
experiencing a freak error. When finishing an upload, the object
generated by the upload action is deleted.
Checking out the history in the admin interface gives the following:

Aug. 15, 2006, 9:09 p.m.        jelle   Added paper image "PaperImage
object". Changed order for paper image "PaperImage object" and image
file for paper image "PaperImage object". Deleted paper image
"PaperImage object".
Aug. 15, 2006, 9:15 p.m.        jelle   Added paper image "PaperImage object".
Changed title of the image for paper image "PaperImage object", order
for paper image "PaperImage object" and image file for paper image
"PaperImage object". Deleted paper image "PaperImage object".

the model that uses the ImageField is the following:

class PaperImage(models.Model):
    paper = models.ForeignKey(
                                Paper,
                                edit_inline=models.TABULAR,
                                num_in_admin=3,
                                num_extra_on_change=1,
                                related_name='image'
                    )
    title   = models.CharField('title of the image', maxlength=250,
blank=True)
    order   = models.IntegerField(null=True, help_text='defines the
order in which images are displayed')
    file    = models.ImageField(
                                'image file',
                                upload_to='paper_images',
                                core=True
                        )

Also I noticed that a directory media/paper_images was not created.
Also after having added the directory the upload fails...
Any ideas on how to avoid this issue?

Cheers,

Jelle


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to