2011/1/17 Martin Tiršel
> I found two ways how to do it:
>
> *) m2m_changed signal - this is the best way
>
> *) save_model(self, request, obj, form, change) method for ModelAdmin - obj
> has current relations, form contains the new relations
>
> Martin
>
> The third way would be creating a custo
I found two ways how to do it:
*) m2m_changed signal - this is the best way
*) save_model(self, request, obj, form, change) method for ModelAdmin -
obj has current relations, form contains the new relations
Martin
On Sun, 16 Jan 2011 19:33:09 +0100, Martin Tiršel
wrote:
Hello,
I am
Hello,
I am using (only) django admin to insert data and have:
class ImageSize(models.Model):
...
class Image(models.Model):
size = models.ManyToManyField(ImageSize)
...
I need to save original image that have been uploaded (this is ok) and
then make resized copies depending on s
3 matches
Mail list logo