title: Django blues - edit_inline & ImageField
link: http://jj.isgeek.net/2007/04/django-blues-edit_inline-imagefield/
author: Jj
description: 
post_id: 299
date: 2007/04/05 02:01:42
created_gmt: 2007/04/05 07:01:42
comment_status: open
slug: django-blues-edit_inline-imagefield

I'm still new to [Django](http://www.djangoproject.com/), but after doing some basic work I find myself in a situation, I asked on the IRC channel and I got advice but apparently I'm stuck:
    
    
    
    
    
    
    < Magus-> Jj: don't try to do edit_inline with a model that has ImageFields
    
    
    
    
    

`edit_inline` and `ImageField` don't work (SVN Revision 4932) when you have a one to many relationship, you have to save your OneObject and then save individually each ManyObject(which has an ImageField in it) associating it with the OneObject you want :roll: . What's funny is that if later you need to edit you OneObject and save it, all your [ManyObjects associated with it will be deleted ... for free](http://code.djangoproject.com/ticket/3567) :shock: 

Please, someone tell me I'm missing something before I start messing around with my admin code :P !